Skip to content

Commit

Permalink
Create ethnobiology-letters.csl (#5986)
Browse files Browse the repository at this point in the history
* Create ethnobiology-letters.csl

First Zotero style for Ethnobiology Letters: https://ojs.ethnobiology.org/index.php/ebl

* Re-indent CSL styles

* Update ethnobiology-letters.csl

Corrected in-text citations from "pp." to ":"

* Re-indent CSL styles

Co-authored-by: yoblo99 <yoblo99@users.noreply.github.com>
  • Loading branch information
yoblo99 and yoblo99 authored Apr 19, 2022
1 parent c301e04 commit 3c4ddc0
Showing 1 changed file with 209 additions and 0 deletions.
209 changes: 209 additions & 0 deletions ethnobiology-letters.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" demote-non-dropping-particle="sort-only" sort-separator=";" et-al-use-first="2" version="1.0" default-locale="en-US">
<info>
<title>Ethnobiology Letters</title>
<id>http://www.zotero.org/styles/ethnobiology-letters</id>
<link href="http://www.zotero.org/styles/ethnobiology-letters" rel="self"/>
<link href="http://www.zotero.org/styles/avian-conservation-and-ecology" rel="template"/>
<link href="https://ojs.ethnobiology.org/index.php/ebl/about/submissions" rel="documentation"/>
<author>
<name>James R. Welch</name>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<category field="anthropology"/>
<issn>2159-8126</issn>
<updated>2022-03-27T04:53:24+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="container-contributors">
<choose>
<if match="any" type="chapter paper-conference">
<names delimiter=", " variable="editor translator">
<label suffix=" " form="verb"/>
<name delimiter=", " initialize-with=". " and="text"/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if match="none" type="chapter paper-conference">
<names suffix=")" delimiter=", " variable="editor translator" prefix=" (">
<name delimiter=", " initialize-with=". " and="text"/>
<label prefix=", " form="short"/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name sort-separator=", " delimiter=", " initialize-with=". " and="text" delimiter-precedes-last="always" name-as-sort-order="first"/>
<label form="short" text-case="lowercase" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author" suffix=" ">
<name delimiter=", " initialize-with=". " and="text" form="short"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if match="any" type="bill book graphic legal_case legislation motion_picture report song">
<text font-style="italic" variable="title" form="short"/>
</if>
<else>
<text variable="title" form="short" quotes="true" text-case="title"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if match="any" type="book report thesis manuscript">
<text font-style="italic" variable="title" text-case="title"/>
</if>
<else>
<text variable="title" text-case="title"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="DOI:"/>
</if>
<else-if type="webpage">
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if match="none" type="article-journal article-magazine">
<group delimiter=", ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text suffix=")" term="no date" prefix="(" form="short"/>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if match="any" type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song">
<choose>
<if is-numeric="edition">
<number variable="edition" prefix=", " form="ordinal"/>
<text suffix="." term="edition" prefix=" " form="long"/>
</if>
<else>
<text suffix="." variable="edition" prefix=", "/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if match="any" type="article-journal article-magazine article-newspaper">
<text font-style="italic" variable="container-title"/>
<text variable="volume" prefix=" "/>
<text variable="page" prefix=":"/>
</if>
<else-if match="any" type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song">
<group delimiter=", ">
<group delimiter=" ">
<choose>
<if type="chapter" match="any">
<text term="in" text-case="capitalize-first"/>
</if>
</choose>
<text font-style="italic" variable="container-title" text-case="title"/>
</group>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<text variable="locator" prefix=":"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" collapse="year" disambiguate-add-year-suffix="true">
<sort>
<key variable="issued"/>
<key macro="author"/>
</sort>
<layout delimiter="; " prefix="(" suffix=")">
<group>
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography et-al-use-first="98" et-al-min="99" entry-spacing="0">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<group delimiter=". ">
<text macro="author"/>
<text macro="issued"/>
<text macro="title"/>
<text macro="locators"/>
</group>
<text macro="edition"/>
<group delimiter=". " prefix=". ">
<text macro="publisher"/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 3c4ddc0

Please sign in to comment.