quarto-dev / quarto-dev/quarto-cli
typst citation prefix
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
For format: typst with Typst's built-in APA style, a prefix (or any text) in citation is silently dropped.
I could not find a Quarto issue for this or any mention in the docs. It looks like this is a known issue in Pandoc. And there has been quite a lot of discussion in the Typst community, but I don't know what the current state of everything is re: Quarto + Typst citations and am looking for clarification.
Steps to reproduce
---
bibliography: test.bib
csl: apa
format: typst
---
Fixed Rank Kriging [FRK, @cressie2008]
And test.bib:
@article{cressie2008,
title = {Fixed Rank Kriging for very large spatial data sets},
author = {Cressie, Noel and Johannesson, Gardar},
year = {2008},
month = {02},
date = {2008-02-01},
journal = {Journal of the Royal Statistical Society Series B: Statistical Methodology},
pages = {209--226},
volume = {70},
number = {1},
doi = {10.1111/j.1467-9868.2007.00633.x},
url = {https://doi.org/10.1111/j.1467-9868.2007.00633.x}
}
Actual behavior
Fixed Rank Kriging (Cressie & Johannesson, 2008)
Expected behavior
Fixed Rank Kriging (FRK, Cressie & Johannesson, 2008)
Your environment
Positron Version: 2026.03.0 (system setup) build 212
Code - OSS Version: 1.108.0
Commit: f3aae65e0a1a11d39226cd884520f49301daef82
Date: 2026-02-26T05:40:49.600Z
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
Quarto check output
> quarto check
Quarto 1.8.26
[>] Checking environment information...
Quarto cache location: C:\Users\kenne\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.6.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.3.1: OK
Typst version 0.13.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.8.26
Path: C:\Program Files\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: v2025.09
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\kenne\AppData\Roaming\TinyTeX\bin\windows\
Version: 2025
[>] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
Source: Windows Registry
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........OK
Version: 4.5.0
Path: C:/PROGRA~1/R/R-45~1.0
LibPaths:
- C:/Users/kenne/AppData/Local/R/win-library/4.5
- C:/Program Files/R/R-4.5.0/library
knitr: 1.51
rmarkdown: 2.30
[>] Checking Knitr engine render......OK
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by rendering the provided QMD with test.bib using Quarto's Typst format, then compare the generated citation with the expected text. Trace how Pandoc and Typst handle citation prefixes and determine whether Quarto can preserve the prefix; done means the reproduction retains “FRK,” or the issue is clarified as an upstream limitation.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100