APA 7th CSL bug: contributor names inverted inside (with ...) parenthetical (APA §9.8)

Hi @bwiernik,

In apa.csl, when a book item includes a contributor (such as a "with" author on a book cover, per APA 7th Section 9.8), the style currently inverts the contributor's name (Last, F.) instead of formatting it in natural order (F. Last).

Example Item:
Milton Friedman (with Rose D. Friedman), Capitalism and Freedom

Current Zotero / CSL Output:
Friedman, M. (with Friedman, R. D.). (2020). Capitalism and freedom. University of Chicago Press. https://doi.org/10.7208/chicago/9780226734828.001.0001 (Original work published 1962)
Expected APA 7th Output (per APA §9.8):
Friedman, M. (with R. D. Friedman). (2020). Capitalism and freedom. University of Chicago Press. https://doi.org/10.7208/chicago/9780226734828.001.0001 (Original work published 1962)
Cause in apa.csl:
Inside <macro name="author">, the contributor block includes name-as-sort-order="all":
<else-if match="any" type="book musical_score pamphlet report standard">
<names prefix="(" suffix=")" variable="contributor">
<label form="verb" suffix=" "/>
<name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>
</names>
</else-if>
Removing name-as-sort-order="all" (and adjusting delimiter-precedes-last if needed for multiple contributors) fixes the inversion so it renders (with R. D. Friedman).

Could this be updated in apa.csl (and its dependent variants)? Thanks!
Sign In or Register to comment.