How do you code givenname-disambiguate-rule in CSL 1.0?

I'm finding that disambiguation is a real problem with the style I use, and I'd like to fix that by taking advantage of givenname-disambiguate-rule -- and choosing "by-cite" -- but I can't figure out the right way to code it into the citation section.

Any idea what the proper syntax is? All the ways I've tried have been rejected by the validator.
  • <citation disambiguate-add-givenname givenname-disambiguate-rule="by-cite">

    note that you can't just put that in the 0.8 style - you'd need to convert the style first:
    http://citationstyles.org/downloads/upgrade-notes.html#updating-csl-0-8-styles
  • Thank you so much! And I did convert to 1.0.
  • edited February 18, 2011
    @marionsd: So glad you're looking into using the by-cite algorithm. There's a story behind that one ... I misunderstood the way disambiguation was intended to work while building the citeproc-js processor, and struggled very hard to get things working so that changes to author names would be specific to clashing citations, without side effects on the author names elsewhere in the document. I later learned (much to my chagrin) that Chicago and many other mainstream styles want the changes applied to the author name across the entire document, whether required for disambiguation (in other cites) or not. I kept the by-cite algorithm in there, though, because it seemed like there should be a use for the more concise form.

    Be sure to let us know if it misbehaves on you.
  • edited February 18, 2011
    @marionsd: Please also see my comment on your other thread -- you probably don't need or want by-cite disambiguation, if you are aiming for Chicago Style Manual orthodoxy.
  • How strict is the Chicago rule, though? Because here's what I'm finding: You have an 8-author article, and # 4 is John Smith. Another article has Jason Smith as lead author. And Zotero wants to disambiguate in citations! Never seen that before.

    Will add the by-cite to my custom style and report back...
  • komrade did some research on this in the past:
    http://forums.zotero.org/discussion/7457/should-there-be-a-no-givenname-disambiguation-default-style/
    looks like you want to go with
    "primary-name-with-initials" for Chicago
  • @adamsmith: You beat me to it! That's a great list of disambiguation requirements among the major styles.
Sign In or Register to comment.