Macros in CSL Basics
I've looked everywhere to figure out how to trigger the macros in APA 6, and to see if it's even possible. Can someone point me in the right direction so I can understand the basics of how the macros are initiated once the CSL style is installed. Thx. (Warning: I know enough to be dangerous, and to sling the jargon around like I might even know what I'm talking about.)
What are you trying to do in more concrete terms?
<macro name="issued-year">
<choose>
<if variable="issued">
<group delimiter="/">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix"/>
</group>
<date variable="original-date" form="text"/>
</group>
</if>
<else-if variable="status">
<text variable="status"/>
<text variable="year-suffix" prefix="-"/>
</else-if>
<else>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</else>
</choose>
</macro>
But now I'm thinking this may only apply to a certain kind of entry ... ?
In the end, I need to have the in-text citation print so that the YEAR only is the result; I can then add punctuation.
Appreciate any help pointing me in the right direction.
<text macro="issued-year"/>
in your style.
You've seen this:
https://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step
in addition to the visual editor?
Of your brief instructions above, I don't understand why, if I am saving the the style in visual editor and then adding it to my stand-alone Zotero, I don't see the relevant fields (for example "issued").
Thanks for your patience while I work on figuring this danged thing out ... I'm switching from IEEE to APA 6 for a client whose doctoral thesis I am editing; there are tweaks I must make, so modifying the macro will help with the 300 +/- references.