Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd Option to create pandoc-formatted inline citations #57
Comments
|
I like this. Since discovering rmarkdown and it's |
|
Okay, this is implemented in 0.6. Give it a try, feeback welcome. |
I'm thinking the more sensible thing might be to have knitcitations write an external bibtex file, and convert its citations into pandoc's format instead, from whence you could then use pandoc (+ the CSL stylesheet) to process and format the references that kniticitations has generated.
In this case something like:
would create the citation such as
[@Boettiger2013], andbibliography("refs.bib")would generate the output bib file to be used in pandoc. Alternatively, references could be added as a yaml (note that the yaml metadata blocks can be anywhere in the document).