You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the alphanumeric citation style. When citing two entries from a bib file that would produce the same key (e.g. same author and same year), they render with an a and b suffix where they are cited. However, in the bibliography, they appear without the same suffix.
Without manual tweaking, with #show rules and the like I was expecting the same label to be used in both places.
As a minimal example, consider the following bib file:
The alphanumeric cite styles assigns both articles the key Doe24.
Using the following main file:
#setcite(style: "alphanumeric")
I cite the first thing #cite(<first>) and the second thing #cite(<second>).
#bibliography("example.bib")
The pdf renders as:
Notice how the keys listed in the main body are [Doe24a] and [Doe24b] whereas in the bibliography section they are both shown as [Doe24]. There also appears to be an extra an and b at the end of the entries.
I did find two related issues, but neither of them seem to cover exactly this.
Description
I am using the
alphanumeric
citation style. When citing two entries from a bib file that would produce the same key (e.g. same author and same year), they render with ana
andb
suffix where they are cited. However, in the bibliography, they appear without the same suffix.Without manual tweaking, with
#show
rules and the like I was expecting the same label to be used in both places.As a minimal example, consider the following bib file:
The
alphanumeric
cite styles assigns both articles the keyDoe24
.Using the following main file:
The pdf renders as:
Notice how the keys listed in the main body are [Doe24a] and [Doe24b] whereas in the bibliography section they are both shown as [Doe24]. There also appears to be an extra an and b at the end of the entries.
I did find two related issues, but neither of them seem to cover exactly this.
bibliography.full: true
typst#3986, but I'm not usingbibliography.full
CitationLabel
in bibliography when usingalphanumeric
citation labels typst#2707, but that's closed and this is still a problemReproduction URL
https://typst.app/project/rY9ipQQ8EYDQ3hjCEXMy22
Operating system
macOS
Typst version
The text was updated successfully, but these errors were encountered: