Skip to content

Commit

Permalink
Create pedosphere.csl (#5196)
Browse files Browse the repository at this point in the history
  • Loading branch information
POBrien333 authored Jan 11, 2021
1 parent 70dd87a commit f02f4fb
Showing 1 changed file with 199 additions and 0 deletions.
199 changes: 199 additions & 0 deletions pedosphere.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="https://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="expanded" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Pedosphere</title>
<id>https://www.zotero.org/styles/pedosphere</id>
<link href="https://www.zotero.org/styles/pedosphere" rel="self"/>
<link href="https://www.zotero.org/styles/alcohol-and-alcoholism" rel="template"/>
<link href="https://www.elsevier.com/journals/pedosphere/1002-0160/guide-for-authors" rel="documentation"/>
<author>
<name>Patrick O'Brien, PhD</name>
</author>
<category citation-format="author-date"/>
<category field="geography"/>
<issn>1002-0160</issn>
<updated>2021-01-04T11:04:13+00:00</updated>
<rights license="https://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">
<terms>
<term name="edition" form="short">edn.</term>
<term name="available at">available online at</term>
</terms>
</locale>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor translator" delimiter=", ">
<name delimiter-precedes-last="never" initialize-with=" " name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" initialize-with=". "/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="access">
<choose>
<if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
<text variable="container-title" suffix=". "/>
<choose>
<if variable="URL">
<group delimiter=" ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<group prefix=" (" suffix=")">
<text term="accessed" suffix=" "/>
<date form="text" variable="accessed"/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="publisher">
<text variable="genre" suffix=", "/>
<group delimiter=", ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text term="no date"/>
</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 type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<choose>
<if is-numeric="edition">
<number variable="edition" form="ordinal" prefix=", "/>
<text term="edition" form="short" prefix=" " suffix="."/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=". ">
<text variable="container-title" form="short" strip-periods="true" font-style="italic"/>
<group delimiter=": ">
<text variable="volume" font-weight="bold"/>
<text variable="page"/>
</group>
</group>
</if>
<else-if type="bill chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group delimiter=", ">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" font-style="italic"/>
<text macro="container-contributors"/>
</group>
<text variable="container-title"/>
<text macro="volume"/>
</group>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</macro>
<macro name="volume">
<group delimiter=" ">
<text variable="volume" form="short" text-case="capitalize-first"/>
<number variable="volume"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key variable="issued"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true">
<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"/>
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</if>
</choose>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit f02f4fb

Please sign in to comment.