Trailing punctuation difficulty
When discussing a source in footnote text, I would like to end the citation with a comma:
Robert Smith, "Philologus", 48–49, also discusses...
However, when I specify the suffix "," for my citation in the Zotero Word plugin (Zotero 4.0.29.14, Word 14.4.9, El Capitan), Zotero adds a trailing full stop:
Robert Smith, "Philologus", 48–49,. also discusses...
The suffixes ";", "!" and "?" (which are not usable in this context) avoid the trailing ".", while the suffix ")" (which might be an adequate replacement) does not.
This might be related to the variable TERMINAL_PUNCTUATION, located at line 355 of citeproc-js/src/load.js:
TERMINAL_PUNCTUATION: [":", ".", ";", "!", "?", " "],
Since this array does not include "," or ")", the issue might be easily rectified...
Am I on the right track? Is there a reason for the present behavior that I don't see?
Robert Smith, "Philologus", 48–49, also discusses...
However, when I specify the suffix "," for my citation in the Zotero Word plugin (Zotero 4.0.29.14, Word 14.4.9, El Capitan), Zotero adds a trailing full stop:
Robert Smith, "Philologus", 48–49,. also discusses...
The suffixes ";", "!" and "?" (which are not usable in this context) avoid the trailing ".", while the suffix ")" (which might be an adequate replacement) does not.
This might be related to the variable TERMINAL_PUNCTUATION, located at line 355 of citeproc-js/src/load.js:
TERMINAL_PUNCTUATION: [":", ".", ";", "!", "?", " "],
Since this array does not include "," or ")", the issue might be easily rectified...
Am I on the right track? Is there a reason for the present behavior that I don't see?
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.