Skip to content

Instantly share code, notes, and snippets.

@jrwiebe
Created October 4, 2018 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrwiebe/caeb53b2fabfb78f89ec6ead1a6ed922 to your computer and use it in GitHub Desktop.
Save jrwiebe/caeb53b2fabfb78f89ec6ead1a6ed922 to your computer and use it in GitHub Desktop.
CMoS CSL modification for Zotero
<!-- Insert at line 761 to use month and year if there is an issue
number, and just year if there is no issue. If you prefer to only
ever use the year, replace the <choose> block with:
<date variable="issued" form="numeric" date-parts="year"/>
-->
<if type="article-journal" match="any">
<group delimiter=" ">
<choose>
<if variable="volume issue" match="all">
<date variable="issued" form="text" date-parts="year-month"/>
</if>
<else>
<date variable="issued" form="numeric" date-parts="year"/>
</else>
</choose>
</group>
</if>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment