quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.93k stars 325 forks source link

Add Support: Citations & Bibliography Generation #4475

Open allenmanning opened 1 year ago

allenmanning commented 1 year ago

Add Support: Citations & Bibliography Generation

https://rstudiopbc-sandbox-249.atlassian.net/wiki/spaces/QTCT/pages/39814701/Citations+Footnotes

allenmanning commented 1 year ago

(note, when you support citations, you'll also need to do something with the bibliography that is / should be generated)

allenmanning commented 1 year ago

This might be easy - we pass a flag to pandoc --citproc this and pointing to the bibliography.

allenmanning commented 1 year ago

Reach out to @tarleb and check in on how to do this.

tarleb commented 1 year ago

I can't access the link above, but an easy way would be to run

doc = pandoc.utils.citeproc(doc)

at the start of the Pandoc writer function.