cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
220 stars 28 forks source link

Order BibTeX entries by key #88

Closed krlmlr closed 8 years ago

krlmlr commented 8 years ago

This is for defining a stable-ish sort order so that a .bib file in version control doesn't change too much when adding new references.

The sorting happens in write.bibtex(), I assume that sorting won't break or change the meaning of a BibTeX file. (Duplicate keys: order() is a stable sort and won't change their order.) However, for my use case it would be sufficient to reorder in get_bib().

cboettig commented 8 years ago

Nice, thanks.