public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Letters 'a' and 'b' disappear when same-year citations invoked with minus sign: -@citation
@ 2022-04-27  2:30 Yegor Grebnev
       [not found] ` <d3e2a97a-c653-4b9c-afc2-6a6461461652n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Grebnev @ 2022-04-27  2:30 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2812 bytes --]


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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.

[-- Attachment #1.2: Type: text/html, Size: 5705 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Letters 'a' and 'b' disappear when same-year citations invoked with minus sign: -@citation
       [not found] ` <d3e2a97a-c653-4b9c-afc2-6a6461461652n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-06-28  9:58   ` Jovan Maud
  0 siblings, 0 replies; 2+ messages in thread
From: Jovan Maud @ 2022-06-28  9:58 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 3163 bytes --]

I'm experiencing this issue too. I was wondering if there's been any 
progress on finding a solution.

On Wednesday, 27 April 2022 at 4:30:09 am UTC+2 egor.g...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

>
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a970508d-d4d3-427a-9d61-716d420c835bn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 6148 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-28  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  2:30 Letters 'a' and 'b' disappear when same-year citations invoked with minus sign: -@citation Yegor Grebnev
     [not found] ` <d3e2a97a-c653-4b9c-afc2-6a6461461652n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-06-28  9:58   ` Jovan Maud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).