[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] org-exp-bibtex.el - add support to citing bibtex in both html
From: |
Taru Karttunen |
Subject: |
[Orgmode] org-exp-bibtex.el - add support to citing bibtex in both html and latex exports |
Date: |
Sun, 22 Feb 2009 14:05:46 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello
Motivated by the discussion on exporting BibTeX to html
and LaTeX when using org-mode I created an extension that
does this.
The html export uses bibtex2html from
http://www.lri.fr/~filliatr/bibtex2html/ also
packaged in e.g. Debian.
This works by a
#+BIBLIOGRAPHY: bibfilebasename stylename
e.g. given foo.bib and using style plain:
#+BIBLIOGRAPHY: foo plain
For LaTeX export this simply inserts the lines
\bibliographystyle{plain}
\bibliography{foo}
into the tex-file when exporting.
For Html export it:
1) converts all \cite{bar} to links to the bibliography
2) creates a foo.html and foo_bib.html
3) includes the contents of foo.html in the exported html file
Code attached.
- Taru Karttunen
org-exp-bibtex.el
Description: Text document
- [Orgmode] org-exp-bibtex.el - add support to citing bibtex in both html and latex exports,
Taru Karttunen <=