Skip to content

christopherkenny/typst-refs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typst-refs Extension For Quarto

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.

Installing

From a directory with an existing Quarto file or project, run:

quarto add christopherkenny/typst-refs

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

Add the following to your document metadata after installing as above.

filters:
  - typst-refs
bibliography: references.bib

Then 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.

Options

The filter respects the standard Quarto bibliography options:

bibliographystyle: chicago-author-date

or

csl: my-style.csl

If your template uses biblio-title to set the bibliography heading, that is also captured:

biblio-title: "References"

Example

Here is the source code for a minimal example: example.qmd.

Licensing

MIT License. See the license file for further details.

About

A Quarto filter to move Typst bibliographies without citeproc

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors