Skip to content

Commit

Permalink
Update royal-society-of-chemistry.csl (#6328)
Browse files Browse the repository at this point in the history
Add provision for the 'software' CSL type
Looks good, thanks!
  • Loading branch information
srk authored Dec 9, 2022
1 parent 1378ba7 commit ba54b44
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion royal-society-of-chemistry.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@
<name>Ivan Bushmarinov</name>
<email>ib@ineos.ac.ru</email>
</contributor>
<contributor>
<name>Steven R. Kirk</name>
<email>steven.kirk@cantab.net</email>
</contributor>
<category citation-format="numeric"/>
<category field="chemistry"/>
<summary>The Royal Society of Chemistry journal style.</summary>
<updated>2018-12-26T22:22:35+00:00</updated>
<updated>2022-12-05T05:15:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="editor">
Expand Down Expand Up @@ -176,6 +180,31 @@
</group>
</group>
</else-if>
<else-if type="software" match="any">
<group delimiter=" ">
<text variable="title" form="short"/>
<group delimiter=" " prefix="(" suffix=")">
<label variable="version"/>
<text variable="version"/>
</group>
<choose>
<if variable="publisher">
<text macro="publisher"/>
</if>
<else>
<choose>
<if variable="DOI">
<text variable="DOI" prefix=", DOI:"/>
</if>
<else-if variable="URL">
<text variable="URL" prefix=" "/>
</else-if>
</choose>
</else>
</choose>
<text macro="issued"/>
</group>
</else-if>
<else-if type="speech" match="any">
<group delimiter=", ">
<group delimiter=" ">
Expand Down

0 comments on commit ba54b44

Please sign in to comment.