-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
-@citkey syntax encloses citations in extended footnotes in parentheses #10173
Comments
Can you give a small example with everything needed to reproduce this? |
Sure. I think the example below should do the trick. If you need anything further, please feel free to ask. Thanks so much!
|
OK, I see the issue. We have
and because citation mode is SuppressAuthor, not AuthorInText, the parentheses are added. Note that both the |
We also can't modify the Markdown reader to treat So I don't really see a good solution at the moment. Long term, we could maybe consider adding something like SuppressAuthorInText, though that is inelegant. |
Got it. Just as a thought—Is the lack of added parentheses perhaps something that could be triggered by reading from the CSL for whenever it has |
The parentheses are added only when you're using a note style. (Because in a note style, citations turn into notes, and we need to avoid having notes inside other notes...) |
Duly noted and appreciated. :-) Would syntax like |
It's not a question of syntax. We'd need some deeper underlying changes in the types. |
Got it. Thanks so much for giving it some thought. |
Explain the problem.
When using
[-@citekey]
or[-@citekey locator]
in a footnote style, Pandoc properly omits the author name and renders the balance of the citation. However, when footnotes include multiple citations, perhaps with other discussion as well, Pandoc adds parentheses around the whole citation, while still omitting the author's name. Per common conventions (e.g., Chicago), these outside parentheses shouldn't be included in this scenario.For more discussion, see this issue and this discussion on a prior commit intended to address this behavior.
If I can provide any further details, please feel free to ask. Thanks so much for your help with this issue!
Pandoc version?
Pandoc 3.4, Windows 10 and 11
The text was updated successfully, but these errors were encountered: