Lingyu Ma <lingyu.ma...@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/addr...@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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to