Skip to content

Instantly share code, notes, and snippets.

Created September 20, 2009 03:01
Show Gist options
  • Save anonymous/189685 to your computer and use it in GitHub Desktop.
Save anonymous/189685 to your computer and use it in GitHub Desktop.
added indent and numbering with ". "
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" xml:lang="en" class="in-text" >
<info>
<title>American Phytopathological Society - Numeric (dev)</title>
<id>http://www.zotero.org/styles/american-phytopathological-society-num</id>
<link href="http://www.zotero.org/styles/american-phytopathological-society-num"/>
<author>
<name>Julian Onions</name>
<email>julian.onions@gmail.com</email>
</author>
<contributor>
<name>Steve Kronmiller</name>
<email>skronmiller@scisoc.org</email>
</contributor>
<contributor>
<name>Alex Diment</name>
</contributor>
<category term="author-date"/>
<updated>2009-04-17T20:09:46+00:00</updated>
<summary>The American Phytopathological Society style.</summary>
<link href="http://apsjournals.apsnet.org/userimages/ContentEditor/1173286505152/phyto_author_instructions.pdf" rel="documentation"/>
</info>
<macro name="editor">
<names variable="editor" delimiter=", ">
<label form="short" text-case="lowercase" suffix=". "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" initialize-with=". " and="text" sort-separator=", "
delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=", " suffix="." text-case="lowercase"/>
<substitute>
<names variable="editor"/>
<text variable="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"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<group delimiter=" ">
<text value="Available at:"/>
<text variable="URL"/>
<group prefix="[" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</group>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="year-date">
<group prefix=" ">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date"/>
</else>
</choose>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="."/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="(" suffix=")" delimiter=",">
<group delimiter=":">
<text variable="citation-number"/>
<text variable="locator"/>
</group>
</layout>
</citation>
<bibliography>
<option name="hanging-indent" value="true"/>
<option name="et-al-min" value="6"/>
<option name="et-al-use-first" value="6"/>
<option name="entry-spacing" value="0"/>
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text variable="citation-number" suffix=". "/>
<text macro="author" suffix="."/>
<date variable="issued" prefix=" " suffix=".">
<date-part name="year"/>
</date>
<choose>
<if type="book">
<group prefix=" " delimiter=" ">
<text macro="title" suffix="."/>
<text macro="edition"/>
<text macro="editor" suffix="."/>
</group>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="chapter">
<text macro="title" prefix=" " suffix="."/>
<group class="container" prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first"/>
<text variable="container-title" font-style="italic" suffix=","/>
<text variable="collection-title" suffix=","/>
<text macro="editor" suffix="."/>
<group suffix=".">
<text macro="publisher"/>
<group prefix=", ">
<text variable="page" prefix="p. "/>
</group>
</group>
</group>
</else-if>
<else>
<group prefix=" " delimiter=" " suffix=".">
<text macro="title"/>
<text macro="editor" />
</group>
<group class="container" prefix=" " suffix=".">
<text variable="container-title" form="short"/>
</group>
<group prefix=" ">
<text variable="volume" />
<text variable="page" prefix=":"/>
</group>
</else>
</choose>
<text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment