From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taru Karttunen Subject: Re: org-exp-bibtex.el - add support to citing bibtex in both html and latex exports Date: Tue, 3 Mar 2009 08:33:45 +0200 Message-ID: <20090303063345.GA23455@taruti.net> References: <20090222120546.GA21017@taruti.net> <20090301105755.GA24562@taruti.net> <41c818190903020840t43061242p40791884786be1ab@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeOCP-0002Ry-JR for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 01:33:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeOCN-0002Pe-91 for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 01:33:52 -0500 Received: from [199.232.76.173] (port=37275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeOCM-0002PO-GS for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 01:33:51 -0500 Received: from courier.cs.helsinki.fi ([128.214.9.1]:38524 helo=mail.cs.helsinki.fi) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeOCM-0007j4-0i for emacs-orgmode@gnu.org; Tue, 03 Mar 2009 01:33:50 -0500 Content-Disposition: inline In-Reply-To: <41c818190903020840t43061242p40791884786be1ab@mail.gmail.com> 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: William Henney Cc: Org-mode ml On 02.03 10:40, William Henney wrote: > > Selecting only some entries to display would be possible, > > but is it really necessary? In my use cases I just tend > > to have a per-article bib-file that contains the entries > > I wish to use. Making a rich enough API to sort, reformat > > and select a portion of a BibTeX file seems quite overblown > > for org. > > Personally, I use a single .bib file for everything, which is > currently running at 12269 entries, so something like Carsten's > suggestion would be necessary before org-exp-bibtex.el became useful > to me :) > > Bibtex2html already comes with a separate tool "bib2bib" which seems > to already do exactly what is needed. See > http://www.lri.fr/~filliatr/bibtex2html/doc/#htoc12 Yes, it contains bib2bib and even the main bibtex2html contains functionality for this. Now how do we want to do this with org-mode? 1) The user is responsible for creating a bib-file using whatever tools she prefers (e.g. bib2bib). 2) Add an option to just select the entries that are used in the org-file. Nothing fancy. 3) Add a generic API to select+sort+format the entries. Both 1 and 2 are easy to do. I can create a patch that adds support for this later this week. Are there any other features that you would need? - Taru Karttunen