Skip to content

Commit

Permalink
Nature (#6851)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith authored Jan 22, 2024
1 parent b055f18 commit 2cca539
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions nature.csl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="title" font-style="italic" text-case="title"/>
</if>
<else>
<text variable="title"/>
Expand All @@ -37,18 +37,26 @@
</macro>
<macro name="access">
<choose>
<if variable="volume" type="article" match="any"/>
<if variable="volume" type="article dataset software" match="any"/>
<else-if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</else-if>
</choose>
</macro>
<macro name="access-data">
<choose>
<if type="dataset software" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
</choose>
</macro>
<macro name="issuance">
<choose>
<if type="bill book graphic legal_case legislation motion_picture song thesis chapter paper-conference" match="any">
<group delimiter="; " suffix=".">
<group delimiter=", " prefix="(" suffix=")">
<text variable="publisher" form="long"/>
<text variable="publisher-place"/>
<date variable="issued">
<date-part name="year"/>
</date>
Expand Down Expand Up @@ -77,6 +85,13 @@
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
</group>
</else-if>
<else-if type="dataset software" match="any">
<group delimiter=" ">
<text variable="publisher"/>
<text macro="access-data"/>
<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 2cca539

Please sign in to comment.