Skip to content

Instantly share code, notes, and snippets.

Created March 4, 2011 17:09
Show Gist options
  • Save anonymous/855140 to your computer and use it in GitHub Desktop.
Save anonymous/855140 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" default-locale="en-US" demote-non-dropping-particle="never" page-range-format="chicago" >
<info>
<title>SEI Harvard/Chicago hybrid (Author-Date)</title>
<id>SEI Harvard-Chicago</id>
<link href="http://www.sei-us.org/ClimateEconomics" rel="self"/>
<author>
<name>Marion Davis</name>
<email>mariond820@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2011-03-04T21:14:40+00:00</updated>
<summary>SEI Harvard-Chicago author-date CSL 2.0 style</summary>
<link href="http://libweb.anglia.ac.uk/referencing/harvard.htm" rel="documentation"/>
</info>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
<label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
<substitute>
<names variable="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix="DOI: "/>
</if>
<else>
<choose>
<if variable="URL" match="any">
<text variable="URL" prefix="Available at "/>
</if>
</choose>
</else>
</choose>
<choose>
<if variable="issued" match="none">
<group prefix=" [" suffix="]">
<text term="accessed" text-case="lowercase" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
</if>
</choose>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case motion_picture report song thesis" match="any">
<text variable="title" font-style="italic"/>
<text variable="number" prefix=". "/>
</if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="year-date">
<choose>
<if variable="issued" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</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>
<macro name="pages">
<group>
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</macro>
<macro name="event">
<group>
<text term="presented at" text-case="sentence" suffix=" "/>
<text variable="event"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="0" et-al-subsequent-min="3" et-al-subsequent-use-first="0" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="false">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group>
<label variable="locator" suffix="." form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="8" et-al-use-first="3">
<sort>
<key macro="author"/>
<key variable="issued" sort="descending"/>
<key variable="title"/>
</sort>
<layout>
<text macro="author" suffix=" "/>
<text macro="year-date" prefix="(" suffix="). "/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<group prefix=" " delimiter=" " suffix=".">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
</group>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="paper-conference">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<text macro="event"/>
<text variable="event-place" prefix=", "/>
</group>
</else-if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" " suffix="."/>
<group prefix=" " delimiter=" ">
<text term="in" text-case="capitalize-first"/>
<text macro="editor"/>
<text variable="container-title" font-style="italic" suffix="."/>
<text variable="collection-title" suffix="."/>
<text variable="event" suffix="."/>
<group suffix="." delimiter=", ">
<text macro="publisher" prefix=" "/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="thesis">
<group prefix=" " suffix="." delimiter=". ">
<text macro="title"/>
<text variable="genre"/>
<text macro="publisher"/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=" ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<group prefix=", ">
<text variable="page"/>
</group>
<group prefix=" " suffix=".">
<text variable="number"/>
</group>
</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