Problems with sorting a bibliography
I have a problem with sorting a bibliography that is driving me crazy (in a style that I've written myself). Here is the <sort> part of the <bibliography>:
<sort>
<key macro="author-and-date"/>
</sort>
This is the same macro that is used to actually place the author-and-date in the bibliography.
Here is the author-and-date macro:
<macro name="author">
<choose>
<if type="webpage">
<text variable="note" suffix=": "/>
</if>
<else>
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". "
delimiter-precedes-last="always" delimiter=", "/>
<substitute>
<text macro="anon"/>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<macro name="author-and-date">
<text macro="author"/>
<text macro="year-date" prefix=" " suffix=""/>
</macro>
And here is an example of what happens, but only on SOME citations:
Abe, F. et al. 1998, Phys. Rev. D, 58, 051102
Abe, F. et al. 1997, Phys. Rev. Lett., 79(11), 1992
Also I get a weird problem with "lettering" the citations, but again only in some cases:
Abachi, S. et al. 1995, Phys. Rev. D, 52, 4877
Abachi, S. et al. 1995, Phys. Rev. Lett., 74, 2632
Abachi, S. et al. 1995, Phys. Rev. Lett., 74, 2422
but:
(Abachi et al. 1994, 1995c, 1995a)
This is using the Word plugin.
Zotero 2.0b7.4.
What could be causing this kind of behavior?
<sort>
<key macro="author-and-date"/>
</sort>
This is the same macro that is used to actually place the author-and-date in the bibliography.
Here is the author-and-date macro:
<macro name="author">
<choose>
<if type="webpage">
<text variable="note" suffix=": "/>
</if>
<else>
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". "
delimiter-precedes-last="always" delimiter=", "/>
<substitute>
<text macro="anon"/>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<macro name="author-and-date">
<text macro="author"/>
<text macro="year-date" prefix=" " suffix=""/>
</macro>
And here is an example of what happens, but only on SOME citations:
Abe, F. et al. 1998, Phys. Rev. D, 58, 051102
Abe, F. et al. 1997, Phys. Rev. Lett., 79(11), 1992
Also I get a weird problem with "lettering" the citations, but again only in some cases:
Abachi, S. et al. 1995, Phys. Rev. D, 52, 4877
Abachi, S. et al. 1995, Phys. Rev. Lett., 74, 2632
Abachi, S. et al. 1995, Phys. Rev. Lett., 74, 2422
but:
(Abachi et al. 1994, 1995c, 1995a)
This is using the Word plugin.
Zotero 2.0b7.4.
What could be causing this kind of behavior?
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
http://forums.zotero.org/discussion/9298/apa-6th-new-style/#Item_30
And also here:
http://forums.zotero.org/discussion/2976/sort-multi-citations-in-text/#Item_12