Closed dhicks closed 2 years ago
This is not actually a bug. The style you're using is not a note style; it's a numerical style (where the numbers happen to be formatted as superscripts and thus resemble notes).
notes-after-punctuation
only affects citations in footnote citation styles.
I'm getting the same behavior with the AMA 11th edition CSL, attached. This appears to be an in-text style, and pandoc-citeproc PR 384 was intended to fix this same issue with a previous version of AMA style. That pandoc-citeproc issue doesn't include a MWE or the CSL file, so I can't test it against my current document.
Ah yes! And this code is in the Pandoc.Citeproc module too, but somehow not taking effect. I'll look into it.
Explain the problem. Numbered citations are being placed before, not after, punctuation, even when
notes-after-punctuation: true
is included in the metadata.punc.md
:Call:
Result:
Expected: Reference numbers placed after the comma.
csl and bib file
Pandoc version? pandoc 2.16.2 Compiled with pandoc-types 1.22.1, texmath 0.12.3.2, skylighting 0.12.1, citeproc 0.6, ipynb 0.1.0.2
Installed using Homebrew on 2021-12-07 on Mac OS 11.6.1.