Click me!
bibliography: references.bib
Learn how to create better policy reports and handle bibliography
Nelson Amaya
July 31, 2022
March 23, 2024
Academic and policy writing is in constant demand for seamless integration and management of bibliographic references that change during publication. Quarto supports Zotero, a powerful reference management software, to streamline the citation process.
Zotero stands out for its ability to collect, organise, and store bibliographic references from various sources, through a very easy interface. Zotero can easily capture relevant citation information with a single click, thanks to its browser extension. To begin, download and install Zotero from its official website, and to add the browser extension for easy data capture.
Before integrating with Quarto, you must export your Zotero library (or a specific collection within it) as a BibTeX file (.bib
), which Quarto will use to manage citations within your documents. Follow these steps:
.bib
file to your project directory or a location accessible to your Quarto document.bib.
in QuartoYou can add the bibliography you just exported from Zotero by including it in the YAML header of your document like this, assuming the file with the references was exported with the dull name references.bib
:
bibliography: references.bib
Citing is straightforward. Use the citation key assigned to your references in Zotero, and include them into your text using square brackets and the @
symbol. For example, like this: [@citationKey
]. If you’re referencing a work by Thom Yorke from 2001, which has a citation key of yorke2001, you would write [@yorke2001
] within your document where you wish to cite this source. The rest is automatically handled by Pandoc and Quarto, like magic.
The reference page in Quarto on citations and footnotes is great, check it out.
At the end of your document, include a Reference section and a {#refs} so the bibliography is automatically included and formatted there. When you render your Quarto document, the citations you’ve included will be automatically formatted according to the bibliography and citation style you’ve specified. Quarto supports numerous citation styles, and you can specify a particular style using the csl field in the YAML metadata, pointing to a .csl
file corresponding to your desired citation format.
🛠️ Under construction 🛠
Ever find yourself in a Groundhog Day of report writing, where every day feels like you’re crafting the same report over and over, with a few small tweaks for different audiences? We have all been there.
There is a way out of the Sisyphean repetition: parametrised reports. No more copy-pasting or manual tweaking. Focus on a report template and then let Quarto do the hard work.
We will work with an exciting newly-released database: Retraction Watch. They track scientific publications that have had to be retracted because of errors, fraud or other scientific misconduct Van Noorden (2023).
Before you continue with this section, download the files (.zip
) needed by clicking the button below: