New Sort Scheme for Bibliographies

My preferred journal (American Mineralogist) has this sorting scheme for bibliographies:

1) Sort by author (last name of first author).
2) Within each author's listings:
...A) First list the solo papers by date.
...B) Next list the two-authored papers by the last name of the second author.
...C) Last list all the multiple (n > 2) authored papers by year. (They are silent as to how to order same-year multiple-authored papers by the same first author).

Bruce D'Arcus said that he would add this ability to CSL if the Zotero coders would add it to Zotero.

I'm asking, and I would be willing to spend some time on coding it if a coder could point me to the correct file to get started with.

Thanks,
Dave
  • edited November 5, 2008
    if a coder could point me to the correct file to get started with.
    https://www.zotero.org/trac/browser/extension/trunk/chrome/content/zotero/xpcom/csl.js
  • Keep in mind that as of the last we discussed this on the xbib list, this feature would require a conditional that allowed counting of authors (and probably any variable; can get tricky though when you fold in issues like substitution).
  • edited May 29, 2010
    Bruce, Frank, et al.-

    I note on this discussion: http://forums.zotero.org/discussion/2972/corrections-to-agu-style-format/
    ...that AGU (and by extension, GSA, and American Mineralogist) bibliography sorting is up and running in the new CSL processor. Any idea when that will make it into Zotero?

    Thanks,
    -Dave
  • no one knows exactly and any predictions at this point would be pretty much guesswork.
    From what I get it's at the top of the priority pile and it's going to be in Zotero 2.1, but that's as much as anyone will be able to tell you.
  • Does anybody know if this has been added to the current dev version of Zotero? I've just updated Zotero to 2.1a1r6250, and it lists citeproc-js as a component. That suggests that the new CSL discussed above (and elsewhere) might be available.

    If so, can somebody direct me to some CSL syntax that will accommodate the sorting scheme I need?

    Thanks!
    -Dave
  • edited July 6, 2010
    There is a test fixture here with sample CSL code that produces the result given in the AGU manual that we used for reference:

    http://bitbucket.org/bdarcus/citeproc-test/src/tip/processor-tests/humans/sort_AguStyle.txt

    Caveat (possibly needless but just in case): Remember that Z2.1a1 is still in the early throes of development. Be sure to back up regularly, and it's probably a good idea to insulate it from your zotero sync account until the zotero devs give the all clear.)
  • Frank-
    Do the developers want feedback on Z2.1a1 or are they too deep in known bugs to hear about new (possibly known) ones? If they do want feedback, are the forums the right location, or is there a better place?
    -Dave
  • edited July 7, 2010
    We'd be happy to get reports of trunk bugs (in new threads), as long as you have no expectations that they'll be fixed right away or that you'll receive support for anything else that goes wrong while using the trunk.
  • Dave,

    There you go. :) If there are CSL processor issues, I'll also be very interested to learn the details.
  • Just noting here as well that the AGU CSL style now sorts bibliographic entries correctly: http://forums.zotero.org/discussion/2972/#Item_25
Sign In or Register to comment.