Dear list members,

I apologize if this question has already been asked -- I have tried to look it up, but haven't been able to find anything relevant.

I have a problem in a document that contains several citations to the works published by the same author in the same year invoked using the minus sign: '-@citation'. The disambiguating letters ('a', 'b') are not inserted, leading to a confusing situation with multiple entries listed by the same author and year.

Here is the source Markdown:

As John Smith [-@smith2008a; -@smith2008b] mentioned repeatedly, everything is good.

And here is the bibliography:

@book{smith2008a,
author = {Smith, J.},
date = {2008},
title = {Life is good},
publisher = {Cambridge University Press},
language = {en},
address = {Cambridge}
}
@incollection{smith2008b,
author = {Smith, J.},
date = {2008},
title = {Has life ever been so good?},
editor = {Red, D. and Stevenson, H.},
publisher = {edition forum},
pages = {103–34},
language = {en},
booktitle = {On the goodness of life},
address = {Heidelberg}
}

Output:

As John Smith (2008, 2008) mentioned repeatedly, everything is good.
References
Smith, J. 2008. “Has Life Ever Been so Good?” In On the Goodness of Life,
edited by D. Red and H. Stevenson, 103–34. Heidelberg: edition forum.
———. 2008. Life Is Good. Cambridge: Cambridge University Press.

If I add a sentence where the citations are invoked without the minus sign, the problem disappears:

Markdown:

As John Smith [-@smith2008a; -@smith2008b] mentioned repeatedly, everything is good. However, in @smith2008b he lists some exceptions, which he doesn't mention in @smith2008a.

Output:

As John Smith (2008b, 2008a) mentioned repeatedly, everything is good. How-
ever, in Smith (2008a) he lists some exceptions, which he doesn’t mention in
Smith (2008b).
References
Smith, J. 2008a. “Has Life Ever Been so Good?” In On the Goodness of Life,
edited by D. Red and H. Stevenson, 103–34. Heidelberg: edition forum.
———. 2008b. Life Is Good. Cambridge: Cambridge University Press.

I vaguely remember that this problem was absent in an older version of Pandoc (2.9.2.1 with pandoc-citeproc 0.17)  in my Debian Bullseye, which I used to produce the initial version of the document in question.

Would much appreciate any suggestions!


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d3e2a97a-c653-4b9c-afc2-6a6461461652n%40googlegroups.com.