Add year suffix by order of citation occurrence
Hi there,
I'm trying to edit a custom style based on APA to conform with a request and need some assistance. For sources with the same author and date (e.g., USEPA 2024), I want the a, b, c, etc. assigned based on the order they are cited in my document, not based on month/day or alphabetical order by title. Does that make sense?
Thanks,
Tina
I'm trying to edit a custom style based on APA to conform with a request and need some assistance. For sources with the same author and date (e.g., USEPA 2024), I want the a, b, c, etc. assigned based on the order they are cited in my document, not based on month/day or alphabetical order by title. Does that make sense?
Thanks,
Tina
If you do really need to assign suffixes in order of appearance, you would need to edit the APA CSL file.
Open the file and change the 'sort' section of the bibliography from:
<sort>
<key macro="author-sort"/>
<key macro="date-sort-group" sort="ascending"/>
<key macro="date-sort" sort="ascending"/>
<key variable="status"/>
<key macro="title"/>
</sort>
to:
<sort>
<key macro="author-sort"/>
<key macro="date-sort-group" sort="ascending"/>
<key macro="year" sort="ascending"/>
<key variable="citation-number"/>
</sort>
You will also need to add somewhere in the style:
<macro name="year">
<date variable="issued" date-parts="year" form="numeric"/>
</macro>
These updates to the style fixed citations with one author (a government agency, usually), but did not work for journal articles with multiple authors. The particular group of citations I need to fix this for are two articles that render Li et al. 2022 but one is authored by A. Li and the other authored by Y. Li. However, the Y. Li publication is cited first in the report.