Files
John MacFarlane aa00714ba4 Typst writer: improve citation support.
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.
2024-02-12 20:01:44 -08:00

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");.