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 08:43:58 +0100 Message-ID: <8D91AD8C-24C5-48E8-A033-D4030CC804E8@uva.nl> 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 1Lbu7U-00041l-D2 for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 05:02:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lbu7Q-00041O-Ow for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 05:02:31 -0500 Received: from [199.232.76.173] (port=48385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbu7Q-000413-Ja for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 05:02:28 -0500 Received: from fk-out-0910.google.com ([209.85.128.187]:28600) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lbu7P-0006Ix-EG for emacs-orgmode@gnu.org; Tue, 24 Feb 2009 05:02:27 -0500 Received: by fk-out-0910.google.com with SMTP id 19so1615372fkr.10 for ; Tue, 24 Feb 2009 02:02:25 -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 Hi Taru, if I understand correctly, if I have a large BibTeX database, the entire database file will be included into the HTML file. A possible extension for your program would be to select only the references actually used in the exported file. - 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 >