How to create a subsequent author substitute in csl?

Dear Zotero community,

I just tried to model a citation style according to the rules of the Journal of Advertising, where one of the requirements is the following:
"For authors cited more than once, substitute six hyphens (dashes) for each repeated name in the reference list."
The syntax guide recommends the following: <option subsequent-author-substitute="some text"/>
I've tried to modify the APA style.
Original:
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="8"/>
<option name="et-al-use-first" value="7"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>

My modied version:
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="4"/>
<option name="et-al-use-first" value="1"/>
<option subsequent-author-substitute="_____"/>
<option name="entry-spacing" value="0"/>
<option name="line-spacing" value="2"/>
<sort>

Somehow that does not work in the test pane and I do not know why. Can anyone please help me with this one?
  • <option name="subsequent-author-substitute" value="_____"/>

    you forgot the value
  • Thanks so much! That worked perfectly.
    This is the first time I'm doing something like that.
  • good job then for finding the feature at all - that's pretty advanced stuff already. Feel free to ask if you hit more roadblocks.
  • Thanks for the compliment. I really like zotero a lot, which is a great motivation to move to fields where I usually would not lay my hands on (like modifying csl styles).
  • oh and once you got the style make sure to post it somewhere so that we can put it in the repository.
Sign In or Register to comment.