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?
  • Looks like the problem discussed here:
    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
Sign In or Register to comment.