-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Citations in parentheses have a period before the close parentheses #20
Comments
On pandoc-discuss, you said that notes in parentheses are first formatted, and then adjusted for being in parentheses, and that the heuristic for removing a final period seems not the be working in this case. I think it would be better to let the formatter know in advance that the note will be in parentheses. In this case, it could simply omit the final punctuation specified on the Addendum: I tested citations in parentheses with Zotero 5.0.92. It doesn't wrap citations in notes in parentheses automatically, but if parentheses are used as the prefix and suffix, then square brackets are used instead of parentheses in the citation. |
I remember there have been some discussions regarding this... |
Ok, the relevant discussion seems to be here. So, it's quite clear that this has to be addressed somehow. |
I guess we'll have to wait for CSL changes to fully resolve the issue. |
...in citations inside notes in note-based styles. These citations are put in parentheses, but the final period must be removed. See jgm/citeproc#20
I've pushed a fix to pandoc that solves the final period issue. |
Great that this is resolved for now. The more general problem is this: pandoc offers more options for citation formatting than citeproc-js. It already goes beyond the spec in offering multiple citation modes, which perfectly makes sense here. Different environments, different constraints... |
I find that when I have a citation in the text of a footnote, it is wrapped in parentheses (a good improvement over pandoc-citeproc), but there is a period before the closing parenthesis (like this.).
Test case (
test.md
) – see the Zotero Style Repository for the CSL style used:command:
pandoc test.md --citeproc -t markdown-citations
result with pandoc 2.11.0.2:
The text was updated successfully, but these errors were encountered: