Skip to content

Instantly share code, notes, and snippets.

@benjaminmoon
Created February 8, 2012 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminmoon/1768562 to your computer and use it in GitHub Desktop.
Save benjaminmoon/1768562 to your computer and use it in GitHub Desktop.
CSL style for the journal 'Palaeontology'
<?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">
<info>
<title>Palaeontology</title>
<id>www.zotero.org/styles/palaeontology</id>
<link href="http://onlinelibrary.wiley.com/journal/10.1111/(ISSN)1475-4983/homepage/ForAuthors.html" rel="documentation" />
<issn>1475-4983</issn>
<author>
<name>Benjamin C. Moon</name>
<email>benjamin.moon@bristol.ac.uk</email>
</author>
<link href="http://www.zotero.org/styles/journal-of-vertebrate-paleontology" rel="template" />
<category citation-format="author-date"/>
<category field="biology"/>
<updated>2012-02-08T12:02:29+00:00</updated>
<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<macro name="author">
<names variable="author" suffix="." >
<name sort-separator=", " initialize-with=". " and="text" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="never" form="long">
<name-part name="family" text-case="uppercase" />
</name>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<name sort-separator=", " initialize-with=". " and="text" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="never" >
<name-part name="family" text-case="uppercase" />
</name>
<label form="short" prefix=" (" suffix=".)" />
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
<et-al font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="author-count">
<names variable="author">
<name form="count"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="year-date">
<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="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="container-title">
<choose>
<if variable="edition">
<text variable="container-title"/>
</if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="false" disambiguate-add-givenname="false" collapse="year-suffix" year-suffix-delimiter=", " >
<sort>
<key macro="year-date"/>
<key macro="author-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<text variable="locator"/>
<text variable="year-suffix" font-style="italic"/>
</layout>
</citation>
<bibliography entry-spacing="0" hanging-indent="true" subsequent-author-substitute="——" >
<sort>
<key macro="author" names-min="1" names-use-first="1" />
<key macro="author-count"/>
<key macro="year-date"/>
</sort>
<layout suffix=".">
<group>
<text macro="author" suffix=" "/>
<date variable="issued">
<date-part name="year"/>
</date>
<text variable="year-suffix" font-style="italic"/>
<text value=". "/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<group suffix=".">
<group>
<text variable="title" font-style="italic" text-case="capitalize-first" suffix=". "/>
<text value="In" font-style="italic" suffix=" "/>
<text macro="editor" suffix=" "/>
<group>
<text variable="collection-title" font-style="italic" text-case="title" suffix=". "/>
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<text value="Vol. "/>
<number variable="volume" suffix="."/>
</group>
</if>
<else>
<text variable="volume" suffix="."/>
</else>
</choose>
</group>
</group>
<text prefix=" " suffix=", " macro="publisher"/>
<text variable="page" suffix=" pp"/>
</group>
</if>
<else-if type="thesis" match="any">
<text variable="title" text-case="sentence" suffix="."/>
<group delimiter=", ">
<text variable="genre"/>
<text macro="publisher"/>
<text variable="number-of-pages"/>
</group>
<text term="page" form="short" prefix="p"/>
</else-if>
<else-if type="chapter" match="any">
<text variable="title" suffix=". "/>
<text variable="issue" suffix=". "/>
<group>
<text value="In" font-style="italic" suffix=" "/>
<text macro="editor" suffix=" "/>
<group>
<text variable="container-title" text-case="title" font-style="italic" suffix=", "/>
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<text value="Vol. "/>
<number variable="volume"/>
</group>
</if>
<else>
<text variable="volume" suffix="."/>
</else>
</choose>
</group>
<group delimiter=" ">
<text prefix=" " suffix=", " macro="publisher"/>
<text variable="page" suffix=" pp"/>
</group>
</group>
</else-if>
<else-if type="webpage" match="any">
<group delimiter="">
<text variable="title" font-style="italic" suffix=". "/>
<text variable="container-title" form="long" suffix=". "/>
<text variable="URL" prefix="Downloaded from " suffix=" "/>
<date variable="accessed" prefix="on ">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year" suffix="."/>
</date>
</group>
<text prefix=" " macro="publisher"/>
</else-if>
<else>
<text variable="title" suffix=". "/>
<group delimiter=", ">
<text variable="container-title" form="long" font-style="italic" text-case="capitalize-first"/>
<text variable="volume" font-weight="bold"/>
<text variable="page"/>
</group>
</else>
</choose>
</group>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment