Skip to content

Commit

Permalink
Create bioresources.csl
Browse files Browse the repository at this point in the history
  • Loading branch information
zuphilip committed Nov 30, 2015
1 parent 866356a commit d07168f
Showing 1 changed file with 191 additions and 0 deletions.
191 changes: 191 additions & 0 deletions bioresources.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
<?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>BioResources</title>
<id>http://www.zotero.org/styles/bioresources</id>
<link href="http://www.zotero.org/styles/bioresources" rel="self"/>
<link href="http://www.zotero.org/styles/american-society-of-civil-engineers" rel="template"/>
<link href="https://www.ncsu.edu/bioresources/BioRes_Article_Template_Styles.docx" rel="documentation"/>
<link href="https://www.ncsu.edu/bioresources/authors.htm" rel="documentation"/>
<author>
<name>Philipp Zumstein</name>
<uri>https://github.com/zuphilip</uri>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>1930-2126</issn>
<summary>The style for the journal Bioresources says that it follows the one of the J. Water Resources Planing and Management published by the American Society of Civial Engineers. However, there are slight differences, e.g. title and container-title are seperated by a comma and not a point, doi is added always at the end.</summary>
<updated>2015-11-30T21:19:40+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 type="chapter paper-conference" match="any">
<names variable="editor translator" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
<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" font-style="italic"/>
</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" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="genre"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group prefix=" (" suffix=").">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")." 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="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group delimiter=", ">
<group>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</if>
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<text variable="page"/>
</else-if>
<else-if type="webpage">
<text variable="URL" prefix="&lt;" suffix="&gt;"/>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<group>
<label variable="locator" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<date variable="accessed" prefix=" (" suffix=")">
<date-part name="month" form="short" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
<sort>
<key macro="author"/>
<key variable="issued"/>
</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" entry-spacing="0">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<text macro="author" suffix="."/>
<text macro="issued" suffix=" "/>
<group delimiter=", ">
<text macro="title"/>
<group delimiter=", ">
<group delimiter=": ">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in"/>
</if>
</choose>
<text variable="container-title" font-style="italic"/>
</group>
<text variable="collection-title"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text macro="publisher"/>
<text macro="locators"/>
</group>
</group>
<text macro="access"/>
<text variable="DOI" prefix=". DOI: "/>
</layout>
</bibliography>
</style>

0 comments on commit d07168f

Please sign in to comment.