Citation Management

NovaType integrates a complete citation management system with BibTeX, CrossRef API and Zotero support.

Configuration

Configure your citations in the YAML frontmatter:

---
title: "My Article"
bibliography: "references.bib"
citation_style: "ieee"
---

Available citation styles

Style Description Example
ieee IEEE (numeric) [1], [2], [3]
apa APA 7th edition (Smith, 2020)
chicago Chicago Manual of Style (Smith 2020)
harvard Harvard (Smith, 2020)
nature Nature journal 1
vancouver Vancouver (medical) (1)

Citation syntax

Simple citation

// In-text citation
According to the work of @knuth1984, typography...

// IEEE rendering: "According to the work of [1], typography..."
// APA rendering: "According to the work of (Knuth, 1984), typography..."

Citation with page

// Specify a page
As explained in @lamport1994[p. 42]...

// Rendering: "As explained in [2, p. 42]..."

Multiple citations

// Multiple citations
Several studies @smith2020 @jones2021 @martin2022 confirm...

// IEEE rendering: "Several studies [3]-[5] confirm..."
// APA rendering: "Several studies (Smith, 2020; Jones, 2021; Martin, 2022) confirm..."

Citation with prefix/suffix

// With prefix
@knuth1984[see][chapter 3]

// Rendering: "see [1, chapter 3]"

BibTeX file

Create a references.bib file with your references:

% Journal article
@article{smith2020,
  author  = {Smith, John and Doe, Jane},
  title   = {Modern Typesetting Systems},
  journal = {Journal of Document Engineering},
  volume  = {12},
  number  = {3},
  pages   = {45--62},
  year    = {2020},
  doi     = {10.1234/jde.2020.001}
}

% Book
@book{knuth1984,
  author    = {Knuth, Donald E.},
  title     = {The TeXbook},
  publisher = {Addison-Wesley},
  year      = {1984},
  isbn      = {0-201-13447-0}
}

% Conference
@inproceedings{jones2021,
  author    = {Jones, Marie},
  title     = {Next-Generation Document Systems},
  booktitle = {Proceedings of DocEng 2021},
  pages     = {1--10},
  year      = {2021}
}

% Website
@online{typst2023,
  author  = {Typst GmbH},
  title   = {Typst Documentation},
  url     = {https://typst.app/docs},
  year    = {2023},
  urldate = {2024-01-15}
}

Automatic bibliography

Add the bibliography at the end of your document:

// Bibliography with specified style
#bibliography("references.bib", style: "ieee")

// Or use the frontmatter style
#bibliography("references.bib")

CrossRef resolution

NovaType can automatically retrieve metadata from CrossRef:

// In the frontmatter, enable CrossRef
---
bibliography: "references.bib"
crossref_enabled: true
---

// Cite by DOI directly
According to @doi:10.1234/example.2020...
Note

CrossRef metadata is cached locally to speed up subsequent compilations.

Zotero integration

Export your Zotero library to BibTeX and use it directly:

// 1. Export from Zotero: File > Export Library > BibTeX
// 2. Use the exported file

---
bibliography: "zotero-export.bib"
---

Customization

Bibliography title

// Change the title
#bibliography(
  "references.bib",
  title: "References",
  style: "ieee"
)

Bibliography without title

// Without title
#bibliography(
  "references.bib",
  title: none
)

Multi-file bibliography

// Multiple .bib files
---
bibliography:
  - "articles.bib"
  - "books.bib"
  - "online.bib"
---

Complete example

---
title: "Literature Review"
author: "Dr. Martin"
bibliography: "references.bib"
citation_style: "apa"
---

= Introduction

Typographic composition has evolved considerably
since the foundational work of @knuth1984. LaTeX,
developed by @lamport1994, remains the reference in
the academic world.

= State of the art

Recent approaches @smith2020 @jones2021 propose
more modern alternatives. Typst @typst2023
represents a significant advancement in this field.

= Conclusion

New technologies offer promising perspectives
for scientific writing.

#bibliography("references.bib")
Tip

Use reference managers like Zotero or Mendeley to maintain your library, then export to BibTeX for NovaType.