cboettig / knitcitations

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

Added support for parsing book and book chapters #60

Closed khughitt closed 10 years ago

khughitt commented 10 years ago

Probably room for improvement, but should at least get the major components of book and book chapter entries.

cboettig commented 10 years ago

Thanks, looks good. As for improvement, I'm currently trying out an approach that requests the bibtex from the CrossRef API, rather than parsing the XML. This should allow knitcitations to be a bit more light-weight and less fragile to changes in the CrossRef XML schema. Just mentioning it here in case you want to take a look -- (that's partly why I haven't tidied up the XML parsing yet). see: https://github.com/cboettig/knitcitations/tree/v1