From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-exp-bibtex.el - add support to citing bibtex in both html and latex exports Date: Sun, 22 Feb 2009 16:04:19 +0100 Message-ID: References: <20090222120546.GA21017@taruti.net> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LbFsW-0005ZK-Vr for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 10:04:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbFsV-0005Y6-WC for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 10:04:24 -0500 Received: from [199.232.76.173] (port=52247 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbFsV-0005Xx-S8 for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 10:04:23 -0500 Received: from ey-out-1920.google.com ([74.125.78.145]:15643) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbFsV-00054e-92 for emacs-orgmode@gnu.org; Sun, 22 Feb 2009 10:04:23 -0500 Received: by ey-out-1920.google.com with SMTP id 4so275874eyg.24 for ; Sun, 22 Feb 2009 07:04:21 -0800 (PST) In-Reply-To: <20090222120546.GA21017@taruti.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Taru Karttunen Cc: Org-mode ml This is going to be fantastically useful. Thanks. - Carsten On Feb 22, 2009, at 1:05 PM, Taru Karttunen wrote: > 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 >