Different works by same author listed without dash replacing author's name
I am running Zotero 3.0.7 and Zotero Word for Windows Integration 3.1.6. When I click "Insert Zotero Bibliography" with Chicago style in MS Word 2007, I am getting inconsistent bibliography entries for same author; some with the appropriate dash, and some without. Some books come before journal articles or multiple authors (including this one), and some after. I would paste the example below, but without formatting it's just a blob of text.
If you are absolutely certain that the authors are entered exactly the same, export a minimal number of items to reproduce this issue to zotero RDF (right click --> Export Selected Items as...), open the exported file in a text editor, copy all and paste the content to gist.github.com or pastebin.com and link to it from here.
Obviously, several are multiple authors or editors, and are correctly separate, but the ones by Murphy alone are scattered. I double checked spelling/spacing/periods in her name.
Can you reproduce the problem in a fresh Word document? Could you follow adamsmith's instructions above and generate Zotero RDF for the items in your example, and post that to the web so we can take a look?
changing
<key macro="sort-key"/>
to
<key macro="contributors"/>
fixes this. I don't have the time to do check whether this is a style or a citeproc issue, but we should definitely be able to fix it in the style.
http://imageshack.us/photo/my-images/72/unbrokenbib.png/
Here is what the processor is seeing in the sort keys:
http://imageshack.us/photo/my-images/713/unbrokensortkeys2.png/
The application of dashes may also be an issue, but the sort should be fixed up first. I'm curious why the sort comes out differently in a different environment; that shouldn't happen. @telagraham: what platform are you using (Windows 7, Windows XP, Mac OS-something, Linux etc)?
(Edit: sort keys screenshot link amended to show actual keys used in the sort, with "and" join properly omitted.)
If telegraham and anyone else who gets the other sort ordering can post system details, that will help get us started toward figuring out what's going on here.
We know that single- and multiple- author items are interlaced in the listing. As I said above, that's due to the way the keys are set up (the author list and the title are banged into a single key, which results in that behaviour -- a quick look at the second screenshot I linked to above shows why). The cause of this mixing of single- and multiple-authored items is known, and it will be easy to fix. But we don't yet know the cause of the sort discrepancy between your listing and mine. To avoid confusion, we want to confirm that that's really happening, and then pin down the cause, before going further.
http://imageshack.us/photo/my-images/687/murphybib2.jpg/
Same as the first screenshot, as far as I can tell.
The processor is doing what it's told, so it will just be a matter of adjusting the sort keys. I've been meaning to subscribe to CMS so I'll do that now, track down the exact sorting and placeholder substitution rules that they specify, and fix up the Chicago styles to sort correctly. Hold on for a couple of hours, this will soon be sorted out (so to speak).
I haven't tested, but it should be somewhere near correct.
You don't have to modify any code yourself.
If you're using Zotero for Firefox, just drag the downloaded chicago-note-bibliography-for-testing.csl to any open Firefox window.
If you're using standalone, go to the preferences -->Cite-->Styles, click the + and then select the file.
http://imageshack.us/photo/my-images/855/murphybib3.jpg/
Gratifying to see the sort order is correct, though. Will restore the layout code and have the file up in a jiffy.