This document illustrates self-citing bibliographies. The abstract is used to check that citations in metadata are printed correctly (Smith 2005).
Doe (2020) illustrates a simple recursion.
nocite
metadata fieldsTwo more citations from Smith, namely 2001 and 2003 appear only in
the nocite
metadata field. This checks that they are
preserved in the final document.
Jones (2022b) and Jones (2022e) check that automatic suffixes are handled correctly. In the first recursion round these citations get suffixes a and b. Ultimately they should settle on suffixes b and e as the cross-referred Jones 2022 entries are added chronologically and their suffixes recalculated.
We can place the bibliography at an arbitrary point of the document, and even add a preamble to it. The bibliography should appear below this paragraph and start with a brief user preamble.
This is the user preamble for the bibliography.
Setting the filter’s debug
option to true
in the metadata shows the bibliography self-citations found at each
recursion round, provided Pandoc/Quarto is in verbose output mode.