Skip to content

Instantly share code, notes, and snippets.

@adam3smith
Created March 28, 2011 19:06
Show Gist options
  • Save adam3smith/891054 to your computer and use it in GitHub Desktop.
Save adam3smith/891054 to your computer and use it in GitHub Desktop.
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
<info>
<title>MMS3</title>
<id>http://www.zotero.org/styles/mms3</id>
<link href="http://www.zotero.org/styles/mms3" />
<author>
<name>Beth</name>
<email>bethjosephson@gmail.com</email>
</author>
<category term="author-date" />
<category term="geology" />
<updated>2009-09-17T06:56:25+00:00</updated>
<summary>Revised from The American Geophysical Union generic style</summary>
</info>
<macro name="editor">
<names variable="editor" delimiter=", ">
<label form="verb" text-case="lowercase" suffix=" " />
<name and="text" initialize-with=". " delimiter=", " name-as-sort-order="all" />
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" />
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " form="long" delimiter-precedes-last="always" initialize-with=". " />
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" />
<substitute>
<names variable="editor" />
<text macro="anon" />
</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 macro="anon" />
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="normal" />
</if>
<else>
<text variable="title" />
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher" />
<text variable="publisher-place" />
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year" />
</date>
</if>
<else>
<text term="no date" />
</else>
</choose>
</macro>
<macro name="published-date">
<choose>
<if type="article-newspaper">
<date variable="issued">
<date-part name="day" form="ordinal" suffix=" " />
<date-part name="month" form="long" />
</date>
</if>
</choose>
</macro>
<macro name="pages">
<text variable="page" />
</macro>
<macro name="refpages">
<label variable="page" form="short" suffix=". " />
<text variable="page" />
</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>
<macro name="doi">
<text variable="DOI" prefix="doi:" />
</macro>
<macro name="container">
<group class="container" delimiter=", ">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=": " />
<text variable="container-title" font-style="normal" />
</group>
<group delimiter=" ">
<text term="volume" form="short" suffix="." />
<text variable="volume" />
</group>
<text macro="editor" />
</group>
</macro>
<citation>
<option name="et-al-min" value="3" />
<option name="et-al-use-first" value="1" />
<option name="et-al-subsequent-min" value="3" />
<option name="et-al-subsequent-use-first" value="1" />
<option name="disambiguate-add-year-suffix" value="true" />
<option name="collapse" value="year" />
<sort>
<key macro="author" />
<key macro="year-date" />
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short" font-style="normal" />
<text macro="year-date" />
</group>
<text variable="locator" prefix="p." />
</group>
</layout>
</citation>
<bibliography>
<option name="hanging-indent" value="true" />
<option name="et-al-min" value="11" />
<option name="et-al-use-first" value="1" />
<sort>
<key macro="author" />
<key macro="year-date" />
<key variable="title" />
</sort>
<layout>
<group delimiter=" " suffix="">
<text macro="author" />
<text macro="year-date" prefix=" " suffix="." />
</group>
<choose>
<if type="book">
<group delimiter=", " prefix=" " suffix=".">
<text macro="title" />
<group delimiter=" ">
<text variable="collection-title" />
<text variable="collection-number" />
</group>
<text macro="edition" />
<text macro="editor" />
<text variable="genre" />
<text macro="publisher" />
</group>
</if>
<else-if type="chapter">
<group delimiter=", " prefix=" " suffix=".">
<text macro="title" />
<text macro="container" />
<text macro="refpages" />
<text macro="publisher" />
</group>
</else-if>
<else-if type="thesis">
<group delimiter=". " prefix=" " suffix=".">
<text macro="title" />
<text variable="genre" />
<text variable="page" suffix=" pp." />
<text macro="publisher" />
<date variable="issued">
<date-part name="day" suffix=" " />
<date-part name="month" form="long" />
</date>
</group>
</else-if>
<else>
<group delimiter=", " suffix="." prefix=" ">
<text macro="title" />
<text macro="editor" />
</group>
<group class="container" prefix=" " suffix=".">
<text variable="container-title" font-style="normal" form="short" />
<group prefix=" " delimiter=":">
<group>
<text variable="volume" font-style="normal" />
<text variable="issue" prefix="(" suffix=")" />
<text macro="published-date" />
</group>
<text macro="pages" />
</group>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment