Hi all,
We’ve run into a couple of citation formatting issues in inline citations (Pandoc + citeproc), and we’re not sure if this is expected behavior, or if there’s a workaround or CSL trick we’re missing.
1. Undesired “Jr.” Appearing Only in Disambiguation Contexts
When there are multiple authors with the same last name, the inline citation renders the “Jr.” part to disambiguate them. For example:
(Emery, K. Jr., Friedman, and Speer 2011) ← current output
(Emery, K., Friedman, and Speer 2011) ← expected output
This only happens in the presence of name collisions. When authors have unique family names, “Jr.” is not shown, which is actually the behavior we want. Just to be clear, we would prefer that the Jr. suffix is never shown in citations, including in disambiguation.
2. Colloquial Names in Brackets
Some of our BibTeX entries include colloquial names in square brackets, e.g.:
author = {Smart, Jamieson John Carswell [Jack]}
This renders inline as:
(Smart, J. J. C. [Jack] 1959) ← current output
However, we would like to find a way to keep colloquial name in the BibTeX, but don’t render it inline:
(Smart, J. J. C. 1959) ← expected output
Is there a way to suppress the nickname/bracketed part entirely in the inline citation while preserving it for the full bibliography?
Details
We’re using:
pandoc 3.5
Features: +server +lua
Scripting engine: Lua 5.4
With this CSL.
Happy to provide a minimal working example if that would help! Any guidance or suggestions would be much appreciated, especially if this is something that can be handled via CSL.
Thanks a lot!