This extension provides a filter to move the bibliography to a specified location in Typst output documents.
By default, Quarto places the bibliography at the end of the document.
This filter lets you place it anywhere by adding a #refs div.
This works without needing to use citeproc: true.
From a directory with an existing Quarto file or project, run:
quarto add christopherkenny/typst-refsThis will install the extension under the _extensions subdirectory.
If you're using version control, you will want to check in this directory.
Add the following to your document metadata after installing as above.
filters:
- typst-refs
bibliography: references.bibThen place a #refs div wherever you want the bibliography to appear:
:::{#refs}
:::The filter only activates for format: typst output and does nothing for other formats.
The filter respects the standard Quarto bibliography options:
bibliographystyle: chicago-author-dateor
csl: my-style.cslIf your template uses biblio-title to set the bibliography heading, that is also captured:
biblio-title: "References"Here is the source code for a minimal example: example.qmd.
MIT License. See the license file for further details.