Edit style: change "&" to "and"

Hi,
I'm new to Zotero and this may be a silly question, but I'm trying to change an existing style to my preferences. In both citations and bibliography I want to display "and" instead of "&" between the last two authors. How can I change this? Below the piece of code for citations, since I guess it should be in here...?
Hope you can help. Thanks!

<citation>
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
<option name="et-al-subsequent-use-first" value="1"/>
<option name="disambiguate-add-year-suffix" value="true"/>
<option name="disambiguate-add-names" value="true"/>
<option name="disambiguate-add-givenname" value="true"/>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<label variable="locator" suffix="." form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
  • You probably want to use something like:
    <name and="text" />
    and the current behavior is probably defined in the author-short macro, which you did not show us.
  • Thanks for the reply. However, after locating the author-short macro, changing "symbol" into "text" does not seem to work at all:

    <macro name="author-short">
    <names variable="author">
    <name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
    <substitute>
    <names variable="editor"/>
    <names variable="translator"/>
    <text macro="anon"/>
    </substitute>
    </names>
    </macro>

    Any idea?
  • What do you mean by "does not seem to work at all?"

    What do citations look like before and after this change? Can you post your style somewhere? Or a diff & the current style that it applies to?
  • Somehow the code was not correctly updated in the system. In the end your suggestion DID work, thanks!

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.