Skip to content
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

[bug, latex writer] Postnotes of \autocites commands may end up after the wrong reference #8088

Closed
seifferth opened this issue May 26, 2022 · 0 comments

Comments

@seifferth
Copy link
Contributor

In some cases, when producing latex output with the --biblatex flag, postnotes may end up after the wrong reference. This issue seems to occur when multiple references are grouped together but only some of them actually have postnotes.

$ pandoc -t latex --biblatex <<<'[@first, 1; @second; @third, 3]'
\autocites[1]{first}[3]{second,third}

The expected output would have been \autocites[1]{first}{second}[3]{third}. The actual output causes biblatex to render the postnote 3 after the reference for second. The intended behaviour would be for the postnote 3 to appear after third, not second.

Using an "empty" postnote may serve as a workaround:

$ pandoc -t latex --biblatex <<<'[@first, 1; @second, ; @third, 3]'
\autocites[1]{first}{second}[3]{third}
@jgm jgm closed this as completed in f53977e Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant