Skip to content

Instantly share code, notes, and snippets.

@rmzelle
Created April 15, 2016 18:40
Show Gist options
  • Save rmzelle/123c680d3fa9ffbfa80bd45132451e24 to your computer and use it in GitHub Desktop.
Save rmzelle/123c680d3fa9ffbfa80bd45132451e24 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-GB" demote-non-dropping-particle="never" page-range-format="chicago" >
<info>
<title>SEI International Style (Author-Date)</title>
<id>SEI-International-Style</id>
<link href="http://www.sei-international.org" rel="self"/>
<author>
<name>Marion Davis</name>
<email>[email protected]</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2013-06-11T12:14:40+00:00</updated>
<summary>SEI International CSL 1.0.1 style</summary>
</info>
<locale xml:lang="en">
<terms>
<term name="open-quote">‘</term>
<term name="close-quote">’</term>
<term name="open-inner-quote">“</term>
<term name="close-inner-quote">”</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" prefix=" (" text-case="lowercase" suffix=")." strip-periods="false"/>
</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="issued" match="none">
<group prefix=" [" suffix=".]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="day" suffix=" "/>
<date-part name="month" 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-case="title"/>
</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" match="any">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="day-month">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month"/>
</date>
</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>
<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 et-al-min="10" et-al-use-first="5">
<sort>
<key macro="author"/>
<key variable="issued" sort="ascending"/>
<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=" " suffix=".">
<text macro="title"/>
<text macro="edition" prefix=". "/>
<text macro="editor" prefix=". "/>
<group prefix=". ">
<choose>
<if variable="number" match="any">
<text variable="collection-title" suffix=", "/>
<text variable="number"/></if>
<else>
<text variable="collection-title"/>
</else></choose></group>
</group>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="chapter">
<text macro="title" prefix=" " suffix=". In "/>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic" suffix="."/>
<text macro="editor" prefix=" " suffix="."/>
<group prefix=" " suffix=".">
<choose>
<if variable="collection-title" match="any">
<text variable="collection-title" />
<text variable="volume" prefix=", Vol. " />
</if>
<else>
<text variable="volume" prefix=" Vol. " />
</else></choose></group>
<group suffix="." delimiter=". ">
<text macro="publisher" prefix=" " />
<text macro="pages" />
</group>
</group>
</else-if>
<else-if type="paper-conference">
<text macro="title" prefix=" " suffix="."/>
<choose>
<if variable="container-title" match="any">
<text variable="container-title" font-style="italic" prefix=" "/>
<text macro="editor" prefix=", " suffix="." />
<group prefix=" " suffix=".">
<text variable="collection-title" suffix="," />
<text variable="volume" prefix=" Vol. " />
<text macro="pages" /></group>
<group prefix=" " suffix=".">
<text variable="event" prefix=" Proceedings of the " />
<text variable="event-place" prefix=", " />
</group>
</if>
<else>
<group prefix=" " suffix=".">
<text macro="event" prefix=" " />
<text variable="event-place" prefix=", " />
</group>
</else>
</choose>
<text variable="publisher" prefix=" " suffix="."/>
</else-if>
<else-if type="thesis">
<group prefix=" " suffix="." delimiter=". ">
<text macro="title"/>
<text variable="genre"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="article-journal">
<group prefix=" " suffix=".">
<text macro="title" suffix="."/>
<text variable="container-title" font-style="italic" prefix=" " suffix=", "/>
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=". "/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine webpage" match="any">
<group prefix=" " suffix=".">
<text macro="title" suffix="."/>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<text variable="volume" prefix=", "/>
<text variable="issue" prefix="(" suffix=")"/>
<choose>
<if variable="container-title volume issue" match="any">
<text macro="day-month" prefix=", "/></if>
<else><text macro="day-month" prefix=" "/></else></choose>
</group>
<text variable="edition" prefix=". " suffix=" ed."/>
<text variable="section" prefix=" "/>
<text variable="page" prefix=", "/>
</group>
<text macro="publisher" prefix=" " suffix="."/>
</else-if>
<else>
<group prefix=" " suffix=".">
<text macro="title"/>
<text macro="editor"/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=" ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page" prefix=". "/>
<group prefix=" " suffix=".">
<text variable="number"/>
</group>
<group prefix=" " suffix=".">
<text variable="event" prefix=" " />
<text variable="event-place" prefix=", " />
</group>
</group>
</else>
</choose>
<choose>
<if variable="DOI" match="any">
<text variable="DOI" prefix=" DOI:" suffix="."/>
</if>
<else>
<text variable="URL" prefix=" " suffix="."/>
</else>
</choose>
<text macro="access" prefix=" "/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment