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: Tue, 24 Feb 2009 06:52:27 +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 1LbqDZ-0007Va-55 for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 00:52:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LbqDX-0007U1-KQ for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 00:52:32 -0500 Received: from [199.232.76.173] (port=57917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LbqDX-0007Tq-9u for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 00:52:31 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:7885) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LbqDW-0000oQ-S2 for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 00:52:31 -0500 Received: by nf-out-0910.google.com with SMTP id d3so544475nfc.26 for ; Mon, 23 Feb 2009 21:52:29 -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 Has anyone tested this? Taru, do you agree that I should add it to the contrib directory? - 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 >