Permalink
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
rmzelle
Reindent/reorder
4daaf7a
Jan 20, 2019
<?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"> | |
<info> | |
<title>American Society of Agronomy, Crop Science Society of America, Soil Science Society of America</title> | |
<title-short>ASA-CSSA-SSSA</title-short> | |
<id>http://www.zotero.org/styles/asa-cssa-sssa</id> | |
<link href="http://www.zotero.org/styles/asa-cssa-sssa" rel="self"/> | |
<link href="https://dl.sciencesocieties.org/publications/style/" rel="documentation"/> | |
<author> | |
<name>Johan Asplund</name> | |
<email>asplundj@gmail.com</email> | |
</author> | |
<contributor> | |
<name>Sebastian Karcher</name> | |
<email>karcher@u.northwestern.edu</email> | |
</contributor> | |
<category citation-format="author-date"/> | |
<category field="biology"/> | |
<updated>2018-02-15T15:44:26+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"> | |
<names variable="editor translator" prefix="(" suffix=")" delimiter=", "> | |
<name and="text" initialize-with="." delimiter=", "/> | |
<label prefix=", "/> | |
</names> | |
</macro> | |
<macro name="edition"> | |
<choose> | |
<if is-numeric="edition"> | |
<group delimiter=" "> | |
<number variable="edition" form="ordinal"/> | |
<text term="edition" form="short"/> | |
</group> | |
</if> | |
<else> | |
<text variable="edition" suffix="."/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="author"> | |
<names variable="author"> | |
<name name-as-sort-order="first" and="text" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/> | |
<label prefix=", "/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
<text macro="title"/> | |
</substitute> | |
</names> | |
</macro> | |
<macro name="author-short"> | |
<names variable="author"> | |
<name form="short" and="text" delimiter=", " initialize-with=""/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
<choose> | |
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | |
<text variable="title" form="short"/> | |
</if> | |
<else> | |
<text variable="title" form="short" quotes="true"/> | |
</else> | |
</choose> | |
</substitute> | |
</names> | |
</macro> | |
<macro name="title"> | |
<choose> | |
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | |
<text variable="title"/> | |
</if> | |
<else> | |
<text variable="title"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="publisher"> | |
<group delimiter=", "> | |
<text variable="publisher"/> | |
<text variable="publisher-place"/> | |
</group> | |
</macro> | |
<macro name="doi-or-url"> | |
<choose> | |
<if variable="DOI"> | |
<group delimiter=" "> | |
<text prefix="doi: " variable="DOI"/> | |
</group> | |
</if> | |
<else-if variable="URL"> | |
<group delimiter=" "> | |
<text variable="URL"/> | |
<group prefix="(accessed " suffix=")"> | |
<date variable="accessed"> | |
<date-part name="day" suffix=" "/> | |
<date-part name="month" suffix=" "/> | |
<date-part name="year"/> | |
</date> | |
</group> | |
</group> | |
</else-if> | |
</choose> | |
</macro> | |
<citation collapse="year-suffix" et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true"> | |
<sort> | |
<key variable="issued"/> | |
<key variable="author"/> | |
</sort> | |
<layout prefix="(" suffix=")" delimiter="; "> | |
<group delimiter=", "> | |
<group delimiter=" "> | |
<text macro="author-short" suffix=","/> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</group> | |
<group> | |
<label variable="locator" form="short"/> | |
<text variable="locator" prefix=" "/> | |
</group> | |
</group> | |
</layout> | |
</citation> | |
<bibliography hanging-indent="true" et-al-min="6" et-al-use-first="5"> | |
<sort> | |
<key macro="author-short"/> | |
<key variable="issued"/> | |
</sort> | |
<layout> | |
<text macro="author" suffix="."/> | |
<date variable="issued" prefix=" " suffix="."> | |
<date-part name="year"/> | |
</date> | |
<choose> | |
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | |
<group suffix="."> | |
<text macro="title" prefix=" "/> | |
<text macro="editor-translator" prefix=" "/> | |
</group> | |
<text macro="edition" prefix=" "/> | |
<text prefix=" " suffix="." macro="publisher"/> | |
</if> | |
<else-if type="chapter paper-conference" match="any"> | |
<group delimiter=". " prefix=" "> | |
<text macro="title"/> | |
<group delimiter=", "> | |
<group delimiter=": "> | |
<text term="in" text-case="capitalize-first"/> | |
<names variable="editor translator"> | |
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " and="text"/> | |
<label prefix=", "/> | |
</names> | |
</group> | |
<text variable="container-title"/> | |
</group> | |
<text macro="edition"/> | |
<text macro="publisher"/> | |
<group delimiter=" "> | |
<label variable="page" form="short" plural="never"/> | |
<text variable="page"/> | |
</group> | |
</group> | |
</else-if> | |
<else> | |
<group suffix="."> | |
<text macro="title" prefix=" "/> | |
<text macro="editor-translator" prefix=" "/> | |
</group> | |
<group prefix=" " suffix="."> | |
<text variable="container-title" form="short"/> | |
<group prefix=" "> | |
<text variable="volume"/> | |
<text variable="issue" prefix="(" suffix=")"/> | |
</group> | |
<text variable="page" prefix=": "/> | |
</group> | |
<text macro="doi-or-url" prefix=" " suffix="."/> | |
</else> | |
</choose> | |
</layout> | |
</bibliography> | |
</style> |