Problem generating subsequent notes in custom style
I'm attempting to create a custom style for a journal (Journal of Glass Studies) that requests subsequent references be formatted as "Last name [note X], p. XX". This is my first time trying to create a custom style and I am probably doing something simple wrong.
All my first notes look fine using the custom style, and subsequent notes from my custom style all have "Last name, p. XX". But I can't figure out how to get the [note X] added. I've got the following code right now (apologies for inelegance!), edited from a previously-functioning-just-fine style.
(If it makes a difference, I am using Zotero standalone with Word for Mac 2011 and the word-processor plugin, editing the style in the Zotero reference test pane.)
<if position="subsequent">
<group delimiter=", ">
<text macro="author-short"/>
<text variable="first-reference-note-number" prefix="[note " suffix="]" delimiter = ", "/>
<text variable="locator" prefix="p. "/>
</group>
</if>
All my first notes look fine using the custom style, and subsequent notes from my custom style all have "Last name, p. XX". But I can't figure out how to get the [note X] added. I've got the following code right now (apologies for inelegance!), edited from a previously-functioning-just-fine style.
(If it makes a difference, I am using Zotero standalone with Word for Mac 2011 and the word-processor plugin, editing the style in the Zotero reference test pane.)
<if position="subsequent">
<group delimiter=", ">
<text macro="author-short"/>
<text variable="first-reference-note-number" prefix="[note " suffix="]" delimiter = ", "/>
<text variable="locator" prefix="p. "/>
</group>
</if>
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Then, note that the note number won't preview in the test pane, you'll have to test this in Word. There, make sure that you're actually using the most recent version of your custom style by switching to a different style and back.
If none of that helps, post the full style somewhere easily accessible (ideally gist.github.com -- you don't need to register for an account) and we can take a look.
https://gist.github.com/anonymous/2c89bf09e207c821408b40809b45de48