subsequent-author-substitute does not work
Hello,
with each homework paper I develop the style I use further. In one of this modifications the style lost its ability to use
subsequent-author-substitute="---"
as defined and I cannot figure out what the relevant difference is (I compared the 2 style versions and none of the differences seem remotely relevant. But I don't want to go back to the old style because the differences are there for a purpose. Unfortunately, I only noticed after a while).
In both versions of the style there is the line
<bibliography et-al-min="4" et-al-use-first="1" hanging-indent="true" entry-spacing="0" subsequent-author-substitute="---">
With the old version of the style I get
Berget, Alphonse: A travers la Science. La Grande Revue 15.1.1904. S. 155–163.
---: Le Radium et les nouvelles radiations. Paris : Librairie universelle 1907.
With the current version of the style:
Berget, Alphonse: A travers la Science. La Grande Revue 15.1.1904. S. 155–163.
Berget, Alphonse: Le Radium et les nouvelles radiations. Paris : Librairie universelle 1907.
What could make the difference?
I realize you might say it could be anything and one would have to look at the style but there might be an obvious value.
with each homework paper I develop the style I use further. In one of this modifications the style lost its ability to use
subsequent-author-substitute="---"
as defined and I cannot figure out what the relevant difference is (I compared the 2 style versions and none of the differences seem remotely relevant. But I don't want to go back to the old style because the differences are there for a purpose. Unfortunately, I only noticed after a while).
In both versions of the style there is the line
<bibliography et-al-min="4" et-al-use-first="1" hanging-indent="true" entry-spacing="0" subsequent-author-substitute="---">
With the old version of the style I get
Berget, Alphonse: A travers la Science. La Grande Revue 15.1.1904. S. 155–163.
---: Le Radium et les nouvelles radiations. Paris : Librairie universelle 1907.
With the current version of the style:
Berget, Alphonse: A travers la Science. La Grande Revue 15.1.1904. S. 155–163.
Berget, Alphonse: Le Radium et les nouvelles radiations. Paris : Librairie universelle 1907.
What could make the difference?
I realize you might say it could be anything and one would have to look at the style but there might be an obvious value.
I tried with a new document with Chicago author-date and it worked alright.
I'd appreciate it if you checked my style. How can I provide it to you best?
https://gist.github.com/anonymous/d9cbac776bf507c9aa479e18eb1af6cc
Simply copy the macro "contributor-long" and rename the copy to "contributor-long-note" (or whatever else you like) then use that macro in your citation and substitute will work.
(You should, though, validate your style. You currently have a chooose pair in lines 410 and 412 that's not allowed)
For testing, and for projects requiring an immediate fix, install one of the Propachi plugins to run the revised processor in current Zotero. The plugin should be removed at the next Zotero update.
I could get the desired result with the proposed workaround.
Maybe I installed it wrong? I just went to Tools>Add Ons>Install Add On From File and chose the Propachi Vanilla add in.
My original post with CSL gist is here:
https://forums.zotero.org/discussion/62292/subsequent-author-substitute-not-working-for-single-field-authors
Also, do note my post above: there is an easy workaround for this: https://forums.zotero.org/discussion/comment/260518/#Comment_260518
@fbennett -- subsequent author substitution fails for _single field_ authors (and only for those) when subsequent-author-substitute-rule is set to anything other than complete-all (i.e. anything but the default).
Let me know if you need more explicit test cases.