Skip to content

Commit

Permalink
Update zootaxa.csl (citation-style-language#7271)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Oct 19, 2024
1 parent 075c2aa commit 5cfc7ae
Showing 1 changed file with 43 additions and 30 deletions.
73 changes: 43 additions & 30 deletions zootaxa.csl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Zootaxa</title>
<id>http://www.zotero.org/styles/zootaxa</id>
Expand All @@ -22,19 +22,17 @@
<issn>1175-5326</issn>
<eissn>1175-5334</eissn>
<summary>The Zootaxa style.</summary>
<updated>2019-06-20T13:09:14+00:00</updated>
<updated>2024-10-19T09:11:44+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>
<locale xml:lang="en-US">
<date form="text">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<locale xml:lang="en">
<terms>
<term name="available at">available from</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<name and="symbol" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")" strip-periods="true"/>
</names>
</macro>
Expand Down Expand Up @@ -63,23 +61,27 @@
</substitute>
</names>
</macro>
<macro name="access">
<macro name="access-doi">
<choose>
<if type="article-journal" match="any">
<text variable="DOI" display="block" prefix="https://doi.org/"/>
</if>
</choose>
</macro>
<macro name="access-url">
<choose>
<if type="webpage book post post-weblog" match="any">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL" prefix="Available from: "/>
<group prefix="(" suffix=")">
<date variable="accessed" form="text"/>
</group>
</group>
</if>
</choose>
<group delimiter=" ">
<group delimiter=": ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed"/>
<date form="text" variable="accessed"/>
</group>
</group>
</if>
<else-if type="article-journal" match="any">
<text variable="DOI" prefix="https://doi.org/"/>
</else-if>
</choose>
</macro>
<macro name="title">
Expand Down Expand Up @@ -162,6 +164,12 @@
<label variable="number-of-pages" form="short"/>
</group>
</macro>
<macro name="volume">
<group>
<label text-case="capitalize-first" variable="volume" form="short"/>
<text variable="volume"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix" givenname-disambiguation-rule="primary-name">
<sort>
<key macro="author-short"/>
Expand All @@ -184,7 +192,7 @@
<key variable="title"/>
</sort>
<layout>
<group delimiter=" " suffix=".">
<group display="block" delimiter=" " suffix=".">
<text macro="author"/>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
Expand All @@ -205,10 +213,13 @@
<else-if type="chapter paper-conference" match="any">
<text macro="title" suffix="."/>
<group prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text term="in" text-case="capitalize-first" font-style="italic" suffix=":"/>
<text macro="editor" suffix=","/>
<text variable="container-title" font-style="italic" suffix="."/>
<text variable="collection-title" suffix="."/>
<group delimiter=". ">
<text macro="volume"/>
<text variable="collection-title" suffix="."/>
</group>
<group suffix=".">
<text macro="publisher"/>
<group prefix=", " delimiter=" ">
Expand All @@ -235,17 +246,19 @@
<text macro="title"/>
<text macro="editor"/>
</group>
<group prefix=" " suffix=".">
<group delimiter=", " prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=" ">
<group delimiter=" " prefix=" ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page" prefix=", " suffix="."/>
<text variable="page" suffix="."/>
</group>
</else>
</choose>
</group>
<text macro="access" prefix=" "/>
<text macro="access-url"/>
<text macro="access-doi" display="block" prefix=" "/>
</layout>
</bibliography>
</style>

0 comments on commit 5cfc7ae

Please sign in to comment.