Quick Links

[citeproc bug] wrong disambiguation default

@Adamsmith, i learned that I have to check the output carefully the hard way. but here is still a problem I can not solve.

lets say the name of the author in the zotero library is
frangopol, D. M. with Frangopol as last name and D. M. as first name
Or another record
Frangopol as first name and Dan M as last name. regardless of which one I use it always gives me below citation in the word body. I do not know how to change/modify/fix my zotero library to get what the Emerald format ( lastname, year) produces. and somehow I do not have this problem with all other citations.

This very much looks like you have the same author entered in different ways which will produce this - he's one Dan M Frangopol and once D. M. Frangopol. Zotero tries to disambiguate the different citations by adding his first name. He should be Dan M Frangopol in every Zotero entry.

(This wouldn't quite explain the 2004 cite, but let's see what happens if you fix that up).

I keep his name in two field. first name and last name. I changed all his first names in all records to
Frangopo, Dan M but still the same except I get a and b although those two references are exactly the same except being collected from different search engines.

I still cannot replicate that.
This is the latest version of the style
Emerald journals (Harvard) from the repository?
Could you select those two items in Zotero, right-click --> Export Items --> ZOtero RDF (no notes or files)
Open the exported file - by default Exported Items.rdf - in any text editor (notepad, TextEdit), copy the entire content and paste to
http://pastebin.com/
submit and provide the URL here.

I do not have duplicated item in my library. However, I tested in a fresh new document and came out right! now I am even more curious and confused. I am citing this paper multiple times in my paper though. and once along couple of other citations.

when i try to add another cite to this work in the paper, it offers me 2 cited work with exact same data. and one other work from library. when I pick the one from library it adds an (a) to the reference.
in both cases it brings first name. this is consistent with couple of other references. none of this is the case when I do it in fresh document. but as you see, i can not start over. or maybe i have to?

If this doesn't fix the issue, you can try removing all Frangopol references from your document (print the document before hand or mark the places where the references should be re-inserted) and then re-insert them. Pay attention to the first reference that you re-insert. If you completely removed all references, there is no way the first reference would include first names. If you do get first names, then you may have some hidden (broken) reference in your document. You should be able to see them by turning on field codes (alt+F9 in Word). Search for Frangopol with the field codes showing.

yeah, then Aurimas's advice applies. Somehow you managed to insert a second copy of that item into the document. My best guess would he that you had it twice in your library and since deleted it. Since ZOtero stores item data in the document it would have stayed there.

The error message is exactly what you say it is - it should give you two options, you should pick the one you want depending on if you may need to change the citation style in the future.

after testing with a new document. when I add the first one it is fine. when I add the second one. instead of adding (a) to it since there are two different paper with same first author. it adds the name of second and third author to the first one! and not only the second author but also the first name of the first author and second author.

Is this how the Emerald(harvard) style should work? not (a) , (b) style? No!
ref: http://www.emeraldinsight.com/authors/guides/write/harvard.htm?part=2

I cleaned the library by merging duplicates and made a new file to start working with and this appeared. It also shows how the http link of Grubic comes to the citation at the end of paper! it is not the style of emerald. I think there is still more work to be done on style.

contromir seems to have a point, and it may explain their tone of frustration. The in-text cite section of the Emerald guide does not mention disambiguation by adding names or initials, and neither disambiguation method shows in the examples. It looks safe to remove those two attributes from the style, which will settle this thread, for the most part.

There does still appear to be inconsistent naming in the contromir database (e.g. "Baines, T." and "Baines, T.S."), but that should not matter with this style.

(I've been through the issues raised, and I don't see anything that points to problems in Zotero or in the citation processor. It's just a question of whether or not the style parameters should be adjusted slightly.)

Great, that's very helpful.
So I can now replicate this, but in an odd way. Using the three items in the Zotero test pane I get the (correct)
(Grubic et al., 2009)
(Baines, Lightfoot and Kay, 2009)
(Baines, Lightfoot, Benedettini, et al., 2009)

Just as contromir reports. That's clearly a bug in Zotero, though I'm not sure if it's citeproc or the word plugin. Frank, Simon, thoughts?

@comtomir - as a short-term workaround, use this style
https://gist.github.com/adam3smith/5541917/raw/bf3ab62e88f6f970a83930b196a36cf3ff594053/emerald-harvard-modified.csl
(download using right-click --> save link as... then follow the installation instructions here: http://www.zotero.org/support/styles#alternative_installation_methods )
This will definitely get rid of initials and will also fix how URLs are cited

Ah, true. I've just updated the plugin, it should work with Standalone as well now. (You may need to uninstall the previous version, and you may need to reselect your style in an already-open document after installing or uninstalling the plugin.)

but the workaround seems to work fine. except it put abbreviations into accolades.
{MOMS-GA:} A Multi-Objective Multi-State Genetic Algorithm for System Reliability Optimization Design Problems”, {IEEE} Transactions on Reliability,

{ } are not needed. somehow when I delete them and add them again it will fix it tough. but not with refreshing references with new style.

This abbreviations in {} in bibliiography seems to be a new issue for me. But when I delete references in the text and add them again the problem goes away. It seems the Word keeps stuff or the link in a memory somewhere. What should i do to delete that Memory instead of fixing the problem one by one? I hope by deleting that and refreshing the bibliography stuff comes fresh from the zotero library without problem.

the remaining issues in Emerald (mainly webpage related) should now be fixed.The updated version will appear on the repository within 30mins (check the timestamp). Update your copy of the style by re-installing it from the repository. (See here if you need instructions for installing styles in standalone.)

Styles should also update automatically within 24hs for Zotero 4.0+In an existing document, you may have to switch to a different style and back for the changes to take effect once the style is updated.Any further problems please let us know.