emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Lingyu Ma <lingyu.ma.fu@googlemail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <21527.1287528978@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Lingyu Ma <lingyu.ma.fu@googlemail.com> of "Tue, 19 Oct 2010 21:57:53 -0000." <loom.20101019T235603-531@post.gmane.org>

Lingyu Ma <lingyu.ma.fu@googlemail.com> wrote:

> Taru Karttunen <taruti <at> 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 <at> 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

      reply	other threads:[~2010-10-19 22:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 12:05 org-exp-bibtex.el - add support to citing bibtex in both html and latex exports Taru Karttunen
2009-02-22 14:17 ` Sebastian Rose
2009-02-22 18:15   ` Taru Karttunen
2009-02-22 15:04 ` Carsten Dominik
2009-02-24  5:52 ` Carsten Dominik
2009-02-24  7:43 ` Carsten Dominik
     [not found] ` <D0D50C5D-9E40-41CF-A042-475938430B9E@uva.nl>
2009-03-01 10:57   ` Taru Karttunen
2009-03-02 16:40     ` William Henney
2009-03-03  6:33       ` Taru Karttunen
2009-03-03  7:37         ` Sebastian Rose
2009-03-03  9:34         ` Carsten Dominik
2009-03-04 23:08           ` William Henney
2009-03-05  9:37             ` Carsten Dominik
2009-03-05 12:32               ` Chris Gray
2009-03-05 13:25                 ` Carsten Dominik
2010-10-19 21:57     ` Lingyu Ma
2010-10-19 22:56       ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21527.1287528978@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lingyu.ma.fu@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).