[citeproc bug] multiple citations same first author, collapse "year-suffix" not working
hi,
I'm new to Zotero, and just noticed a problem when I have multiple citations from the same first author from the same year.. (note the other authors are not all the same)
The citation shows up as:
(Ylinen et al., 1995a, 1995b)
Whereas I would like:
(Ylinen et al., 1995a,b)
I've just edited a citation style (The Journal of Neuroscience) so that the collapse setting is "year-suffix", which should in theory do the trick:
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
Can anyone explain why this isn't working?? Does this collapse setting only work when ALL authors are the same?
Is there any way I can get what I want?
Any help much appreciated!!! cheers, John
I'm new to Zotero, and just noticed a problem when I have multiple citations from the same first author from the same year.. (note the other authors are not all the same)
The citation shows up as:
(Ylinen et al., 1995a, 1995b)
Whereas I would like:
(Ylinen et al., 1995a,b)
I've just edited a citation style (The Journal of Neuroscience) so that the collapse setting is "year-suffix", which should in theory do the trick:
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
Can anyone explain why this isn't working?? Does this collapse setting only work when ALL authors are the same?
Is there any way I can get what I want?
Any help much appreciated!!! cheers, John
https://gist.github.com/1214177
I'm sorry I never used gist or the RDG export, tried it but couldn't get the (3MB) RDF file into this public gist. (I couldn't open the RDF file with Notepad, so could't copy-paste.) Here is instead a link with the refs, which is easily imported into Zotero:
http://www.ncbi.nlm.nih.gov/pubmed?term=ylinen%20A%201995
Using your style and items 4 and 5 from the Pubmed link I get
(Ylinen et al., 1995a; b)
for
(Ylinen et al., 1995a,b)
you would need to add year-suffix-delimiter="," as a citation option.
Did you check this in the test pane?
chrome://zotero/content/tools/csledit.xul
One thing I noticed is that this style is not showing up in the drop-down menu on the top right of the test pane.. but anyway nothing I change in the collapse seems to matter:
As long as there any character there (eg collapse="f"), I get (Ylinen et al., 1995a, 1995b)
When there is nothing (collapse=""), I get (Ylinen et al., 1995a; Ylinen et al., 1995b)
Also is there anything in the error report (in the gears/actions menu of Zotero)?
[JavaScript Error: "Image corrupt or truncated: <unknown>" {file: "<unknown>" line: 0}]
Report ID: 1958291228
The problem appears to be related to the particular references I'm trying to use.
I just downloaded 3 references from Pubmed:
items 4, 5, 6 from
http://www.ncbi.nlm.nih.gov/pubmed?term=Ylinen A 1995
Testing this in the test pane, I found I can get the right output when using refs 4 and 5, but when ref 6 is involved it goes wrong! I cannot see any reason for this in the ref.. but I must be overlooking something?
I checked with another example of 2 refs from same year with same author (Ylinen et al., 1991), and here too I got the right output, so it must be something about the ref 6 from
http://www.ncbi.nlm.nih.gov/pubmed?term=Ylinen A 1995
Any ideas??
While you can quickly get around that by just adding an arbitrary month to the dates in question in Zotero, that's obviously a bug in the processor. If you could put [citeproc bug] in front of the title of this thread (you can do that when you edit your first post) this will attract the right people to fix that.
Summary for fbennett:
This style:
https://gist.github.com/1214177
References # 4, 5,6 from here: http://www.ncbi.nlm.nih.gov/pubmed?term=Ylinen%20A%201995
Multi in-text citation is: (Ylinen et al., 1995a; b, 1995c)
Should be: (Ylinen et al., 1995a; b; c)
Reason is that Ref 4 and 5 have complete date while Ref 6 only has year in Zotero.
Rly have no clue how to proceed, even starting to miss my old EndNote program!
Is there any way I can upload a ZDF export so that someone might be able to look at it and hopefully find the problem? I'll be online later tonight again to try whatever anyone suggests.
I'll arrange to normalize the values received from the calling application, and the problem will go away.