Sort bibliography by series number

I have numerous citations from the collected works of a couple of authors. Since the publication date is all the same, I'd like to sort by series number. My goal is to have it assign the additional letters after the year in each citation (like 2003d) according to the series order, and have each entry appear in this order in the bibliography to organize it better. How do I do that?
  • You'd want to add
    <key variable="collection-number"/> to the sort section of the bibliography, likely as the third condition (after author and date) -- depends a bit on the citation style. Everything else, including the order of the suffix letters, would happen automatically.
    https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
  • Thanks for the quick response. What I want to do is modify the Chicago author-date style to sort by series number as the third criterion if the author and date are identical.

    The current code in the bibliography section is:

    </sort>
    <layout suffix=".">
    <group delimiter=". ">
    <text macro="contributors"/>
    <text macro="date"/>
    <text macro="title"/>
    </group>
    <text macro="description"/>
    <text macro="secondary-contributors" prefix=". "/>
    <text macro="container-title" prefix=". "/>
    <text macro="container-contributors"/>
    <text macro="edition"/>
    <text macro="locators-chapter"/>
    <text macro="collection-title-journal" prefix=", " suffix=", "/>
    <text macro="locators"/>
    <text macro="collection-title" prefix=". "/>
    <text macro="issue"/>
    <text macro="locators-article"/>
    <text macro="access" prefix=". "/>
    </layout>

    Are you saying to insert the line of code you gave above in the <group delimiter=". "> section, after the contributors and date?
  • No, right above that in
    <sort>
    <key macro="contributors"/>
    <key variable="issued"/>
    <key variable="title"/>
    </sort>


    You'd do

    <sort>
    <key macro="contributors"/>
    <key variable="issued"/>
    <key variable="collection-number"/>
    <key variable="title"/>
    </sort>
  • Ah, now I see what you mean! Sorry, new to this style editing thing. Last question (I hope): in terms of the style title, id, link href, etc., what do I need to change in order not to overwrite the existing Chicago author-date style and save it as a new style?
  • just change them in any way (e.g. chicago-author-date-delstein or chicago-author-date-series-sort). The links do not actually have working/existing links.
  • Got it! Thanks for all your help. It did overwrite the standard Chicago author-date style in my style manager, but I don't know that it matters much.
Sign In or Register to comment.