From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: org-exp-bibtex.el - add support to citing bibtex in both html and latex exports Date: Tue, 19 Oct 2010 18:56:18 -0400 Message-ID: <21527.1287528978@alphaville.usa.hp.com> References: <20090222120546.GA21017@taruti.net> <20090301105755.GA24562@taruti.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=41535 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8L6U-0006BN-H2 for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 18:56:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8L6T-0001P3-1U for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 18:56:22 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:2823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8L6S-0001OM-UC for emacs-orgmode@gnu.org; Tue, 19 Oct 2010 18:56:21 -0400 In-Reply-To: Message from Lingyu Ma of "Tue, 19 Oct 2010 21:57:53 -0000." 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: Lingyu Ma Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Lingyu Ma wrote: > Taru Karttunen taruti.net> writes: > > > > > On 27.02 17:19, Carsten Dominik wrote: > > > can I add your code to the contrib directory in Org? > > > > > > > Yes, feel free to. Do you need some copyright stuff > > or is that not needed with contrib? > > > > I will probably have some wibbles to it in the next > > few months, but those can be added in the Git repository. > > > > 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. > > > > - Taru Karttunen > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > > > > > Hi Taru, > > I have seen your post about "org-exp-bibtex.el". > In the issue "http://www.mail-archive.com/address@hidden/msg11723.html" you > mentioned that it is possible and easy to automatically select BibTex entries > used in the org file. > > At present, if I include a *.bib which has 1000 entries in an org-file, > although I only cite 3 of them in the org-file, the generated html file > will still include all the 1000 entries. > > How can I solve this problem? > Is there any way I only need to set some variable or add some keywords in the > org file? > > Thanks in advance! > The commentary to org-exp-bibtex.el says: ,---- | ;;; Commentary: | ;; | ;; This is an utility to handle BibTeX export to both LaTeX and html | ;; exports. It uses the bibtex2html software from | ;; http://www.lri.fr/~filliatr/bibtex2html/ | ;; | ;; The usage is as follows: | ;; #+BIBLIOGRAPHY: bibfilebasename stylename optional-options | ;; e.g. given foo.bib and using style plain: | ;; #+BIBLIOGRAPHY: foo plain option:-d | ;; | ;; Optional options are of the form: | ;; | ;; option:-foobar pass '-foobar' to bibtex2html | ;; e.g. | ;; option:-d sort by date. | ;; option:-a sort as BibTeX (usually by author) *default* | ;; option:-u unsorted i.e. same order as in .bib file | ;; option:-r reverse the sort. | ;; see the bibtex2html man page for more. Multiple options can be combined like: | ;; option:-d option:-r | ;; | ;; Limiting to only the entries cited in the document: | ;; limit:t `---- Did you try the limit option? Nick