Disambiguation with Initials for given names.

I try to get citiations for identical family names with added initials for given names, e.g., "Smith J. 2025". However, instead of initials, I always get the full given name, e.g. "Smith John 2025". How can I fix this?


<macro name="author-article-journal">
<names variable="author" font-style="italic">
<name form="short" name-as-sort-order="all" sort-separator=" " initialize="true" initialize-with=". "/>
<et-al font-style="italic"/>
</names>
</macro>

<citation disambiguate-add-givenname="true" givenname-disambiguation-rule="all-names-with-initials">
  • The above looks right to me. We'd want to see the whole style and some actual examples in context. Start by testing in the Zotero style editor and see if this does indeed always happen or if it occurs in some specific constellation of cited items.
  • edited 14 days ago
    It is the same in Zotero style editor. It happens with multiple cases of identical names, all that I tested.

    Here is the full code:

    <?xml version="1.0" encoding="utf-8"?>
    <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" delimiter-precedes-et-al="never" delimiter-precedes-last="never" et-al-min="5" et-al-use-first="4" initialize="false" page-range-format="expanded" demote-non-dropping-particle="never" default-locale="de-AT">

  • edited 14 days ago
    continued


    ...

  • You have an initialize="false" in the first line of the style that in this scenario overrides the initialize="true" in the macro.
    How they cascade is complicated and this behavior strikes me as wrong in this case, but it's an easy enough fix.
Sign In or Register to comment.