mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
aa00714ba4
Emit `form: "prose"` or `form: "year"` qualifiers if the citation is author-in-text or suppress-author. Strip initial comma from suffix, since typst will add an extra one. Closes #9452.
356 B
356 B
% pandoc -t typst
@something2024 says blah.
Here is a sentence [@something2024].
With supplement [@something2024, p. 3].
And just the year [-@something2024].
^D
#cite(<something2024>, form: "prose") says blah.
Here is a sentence @something2024.
With supplement @something2024[p.~3];.
And just the year #cite(<something2024>, form: "year");.