You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pandoc and pandoc-citeproc to automatically generate references and build the bibliography from markdown source. We encountered an issue where multiple references inside brackets do not render properly if they're space-only separated.
For example, the markdown source of [@ref_1 @ref_2 @ref_3] will result in an inline reference of [1] with a bibliography that includes records for 1, 2, & 3.
Everything works if we add a semicolon separator [@ref_1; @ref_2; @ref_3]. This syntax results in the proper inline reference of [1-3].
So not sure if this is the intended behavior (that semicolons are required). However, the behavior of only showing one inline reference but putting all references in the bibliography is odd.
From a simplicity and consistency standpoint, it would be nice to be able to omit these semicolons (assuming that won't break existing functionality).
The text was updated successfully, but these errors were encountered:
FWIW, [@ref_1 @ref_2 @ref_3] is treated as @ref_1 with suffix @ref_2 @ref_3 by Pandoc.
If your csl silently drops reference suffixes, it's not Pandoc's fault.
And yes, semicolons are required as a separator, since reference keys can be surrounded by arbitrary Markdown.
I'm using pandoc and pandoc-citeproc to automatically generate references and build the bibliography from markdown source. We encountered an issue where multiple references inside brackets do not render properly if they're space-only separated.
For example, the markdown source of
[@ref_1 @ref_2 @ref_3]
will result in an inline reference of[1]
with a bibliography that includes records for 1, 2, & 3.Everything works if we add a semicolon separator
[@ref_1; @ref_2; @ref_3]
. This syntax results in the proper inline reference of[1-3]
.So not sure if this is the intended behavior (that semicolons are required). However, the behavior of only showing one inline reference but putting all references in the bibliography is odd.
From a simplicity and consistency standpoint, it would be nice to be able to omit these semicolons (assuming that won't break existing functionality).
The text was updated successfully, but these errors were encountered: