APA style does not format correctly with more than two authors (with same year in publications) #199
Labels
bug
Something isn't working
citeproc compat
This issue is related to one or more failing citeproc tests.
spec compat
This issue is related to an incompatibility with the CSL spec or some other spec.
Description
I'm just new to typst and wanted to use it for a conference paper and stumbled upon an error with the APA style in the citatoion. It is quite common to have the same authors publishing more than one work, therefore, APA style indicates same authors same year with enumerations like Müller et al. (2001a) and Müller et al. (2001b).
This worked fine for me, if there were only two authors, as soon as I added a third author the citation was incorrect. I tested the problem locally (in the webapp it also showed the same bug). An example for reproduction is available on the link.
This is the underlying simple
bib
-file:According to APA style, two entries with the same authors and year should be enumerated with a, b, etc. If the entry has two authors it works well, if there are three or more it doesn't work.
Two authors case
This leads correctly to the following format:
Three authors case
However, if the entry has three (examples
@Citation3
and@Citation4
) or more authors, the reference shows weird behavior:The shown references uses firstnames and from the last author only lastname and does not enumerated the year with 'a'/'b':
Changing one of the years, the correct format is shown:
I reproduced the bug also with the
#cite()
function, which can be assessed in the reprodcution URL.Since it is quite common having the same
Reproduction URL
https://typst.app/project/wKSJe04nF_coz5Mbd7jjsK
Operating system
No response
Typst version
The text was updated successfully, but these errors were encountered: