Skip to content

Commit

Permalink
Update nature.csl (#6117)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Jul 2, 2022
1 parent 891897d commit 29e49cd
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 6 deletions.
26 changes: 24 additions & 2 deletions nature-no-et-al.csl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<updated>2014-06-22T12:00:00+00:00</updated>
<updated>2014-06-23T03:22:15+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="title">
Expand All @@ -35,7 +35,7 @@
</macro>
<macro name="access">
<choose>
<if variable="volume"/>
<if variable="volume" type="article" match="any"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
Expand All @@ -55,6 +55,28 @@
</date>
</group>
</if>
<else-if type="article">
<group delimiter=" ">
<choose>
<if variable="genre" match="any">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="article" text-case="capitalize-first"/>
</else>
</choose>
<text term="at"/>
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</else-if>
<else>
<date prefix="(" suffix=")." variable="issued">
<date-part name="year"/>
Expand Down
26 changes: 24 additions & 2 deletions nature-no-superscript.csl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<updated>2014-06-03T22:14:43+00:00</updated>
<updated>2022-07-02T11:44:17+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="title">
Expand All @@ -35,7 +35,7 @@
</macro>
<macro name="access">
<choose>
<if variable="volume"/>
<if variable="volume" type="article" match="any"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
Expand All @@ -55,6 +55,28 @@
</date>
</group>
</if>
<else-if type="article">
<group delimiter=" ">
<choose>
<if variable="genre" match="any">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="article" text-case="capitalize-first"/>
</else>
</choose>
<text term="at"/>
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</else-if>
<else>
<date prefix="(" suffix=")." variable="issued">
<date-part name="year"/>
Expand Down
26 changes: 24 additions & 2 deletions nature.csl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<category field="generic-base"/>
<issn>0028-0836</issn>
<eissn>1476-4687</eissn>
<updated>2019-10-08T13:18:12+00:00</updated>
<updated>2022-07-01T16:03:34+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="title">
Expand All @@ -37,7 +37,7 @@
</macro>
<macro name="access">
<choose>
<if variable="volume"/>
<if variable="volume" type="article" match="any"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
Expand All @@ -55,6 +55,28 @@
</group>
</group>
</if>
<else-if type="article">
<group delimiter=" ">
<choose>
<if variable="genre" match="any">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text term="article" text-case="capitalize-first"/>
</else>
</choose>
<text term="at"/>
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</else-if>
<else-if type="report webpage post post-weblog" match="any">
<group delimiter=" ">
<text variable="URL"/>
Expand Down

0 comments on commit 29e49cd

Please sign in to comment.