Skip to content

Commit

Permalink
improve journal-of-avian-biology.csl (#5984)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Mar 27, 2022
1 parent 349a5d6 commit 07ce91e
Showing 1 changed file with 66 additions and 55 deletions.
121 changes: 66 additions & 55 deletions journal-of-avian-biology.csl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<category field="biology"/>
<issn>0908-8857</issn>
<eissn>1600-048X</eissn>
<updated>2014-06-10T12:00:00+00:00</updated>
<updated>2022-03-26T13:07:33+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-translator">
Expand All @@ -39,6 +39,9 @@
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
<label form="short" text-case="capitalize-first"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="author-count">
Expand Down Expand Up @@ -121,62 +124,70 @@
<key macro="author-count" names-min="3" names-use-first="3"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author"/>
<date variable="issued" prefix=" " suffix=".">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<text prefix=" - " suffix="." macro="publisher"/>
</if>
<else-if type="chapter">
<text macro="title" prefix=" "/>
<group prefix=". - ">
<text term="in" text-case="capitalize-first" suffix=": "/>
<names variable="editor translator">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
<label form="short" prefix=" (" suffix=")," strip-periods="true"/>
</names>
<text variable="container-title" prefix=" " suffix="."/>
<text macro="edition" prefix=" "/>
<text variable="collection-title" prefix=" " suffix="."/>
<group suffix=".">
<text macro="publisher" prefix=" " suffix=","/>
<text macro="page-chapter" prefix=" "/>
<layout suffix=".">
<group delimiter=". ">
<text macro="author"/>
<date variable="issued">
<date-part name="year"/>
</date>
<text macro="title" prefix=" "/>
<choose>
<if type="book">
<group delimiter=". ">
<text macro="editor-translator"/>
<text prefix="&#8211; " macro="publisher"/>
</group>
</group>
</else-if>
<else-if type="article article-journal review" match="any">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<text variable="container-title" form="short" prefix=" - "/>
<choose>
<if variable="page">
<text variable="volume" prefix=" "/>
<text variable="page" prefix=": " suffix="."/>
</if>
<else>
<text term="in press" prefix=" " suffix="."/>
</else>
</choose>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
</if>
<else-if type="chapter">
<group delimiter=". ">
<group delimiter=", " prefix=" &#8211; ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<names variable="editor translator">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="never" et-al-min="3" et-al-use-first="1"/>
<label form="short" prefix=" (" suffix=")," strip-periods="true"/>
</names>
</group>
<text variable="container-title"/>
<text macro="edition"/>
<text variable="collection-title"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="page-chapter"/>
</group>
</group>
</else-if>
<else-if type="article article-journal review" match="any">
<group delimiter=" ">
<text variable="container-title" form="short" prefix=" &#8211; "/>
<choose>
<if variable="page">
<group delimiter=": ">
<text variable="volume"/>
<text variable="page"/>
</group>
</if>
<else>
<text variable="DOI" prefix=" &lt;https://doi.org/" suffix=">"/>
</else>
</choose>
</group>
</else-if>
<else-if type="thesis" match="any">
<group delimiter=", " prefix=" &#8211; ">
<text variable="genre"/>
<text variable="publisher"/>
</group>
</else-if>
<else>
<text macro="editor-translator" prefix=" "/>
</group>
<text variable="container-title" form="short" prefix=" - "/>
<text variable="volume" prefix=" "/>
<text variable="page" prefix=": " suffix="."/>
</else>
</choose>
<text variable="container-title" form="short" prefix=" &#8211; "/>
<text variable="volume" prefix=" "/>
<text variable="page" prefix=": "/>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 07ce91e

Please sign in to comment.