Skip to content

Instantly share code, notes, and snippets.

Created May 11, 2017 09:29
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 anonymous/b5acf2fd38bd771d5d604d213c222637 to your computer and use it in GitHub Desktop.
Save anonymous/b5acf2fd38bd771d5d604d213c222637 to your computer and use it in GitHub Desktop.
EEA Zotero style
<?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" default-locale="en-GB">
<info>
<title>EEA</title>
<id>http://www.zotero.org/styles/eea</id>
<link href="http://www.zotero.org/styles/eea" rel="self"/>
<category citation-format="author-date"/>
<category field="science"/>
<summary/>
<updated>2016-05-31T08:23:45+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en-GB">
<terms>
<term name="editor" form="short">
<single>ed.</single>
<multiple>eds</multiple>
</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<name and="text" initialize-with=". " name-as-sort-order="all"/>
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-et-al="never" delimiter-precedes-last="never" et-al-min="19" et-al-use-first="19" initialize-with=". " name-as-sort-order="all"/>
<label form="short" text-case="lowercase" strip-periods="true" prefix=", " suffix="."/>
<substitute>
<names variable="editor"/>
<text macro="editor"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" et-al-min="3" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL" prefix="(" suffix=")"/>
<group>
<text term="accessed" text-case="lowercase" suffix=" "/>
<date variable="accessed">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="false"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="year-date">
<group>
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="in press"/>
</else>
</choose>
</group>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short" strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<macro name="citation-locator">
<choose>
<if match="any" locator="chapter">
<text variable="locator" prefix="Chapter "/>
</if>
<else-if match="any" locator="figure">
<text variable="locator" prefix="Figure "/>
</else-if>
<else-if match="any" locator="page">
<text variable="locator" prefix="page "/>
</else-if>
<else-if match="any" locator="section">
<text variable="locator" prefix="Section "/>
</else-if>
<else>
<text variable="locator"/>
</else>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short" suffix=","/>
<text macro="year-date"/>
</group>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="3 ">
<sort>
<key macro="author"/>
<key macro="year-date"/>
<key variable="title"/>
</sort>
<layout suffix=".">
<text macro="author" suffix=","/>
<date variable="issued" prefix=" " suffix=",">
<date-part name="year"/>
</date>
<choose>
<if type="article-newspaper" match="any">
<group delimiter=", ">
<text variable="title" prefix=" '" suffix="'"/>
<text variable="container-title" font-style="italic"/>
<date form="text" variable="issued">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
<text variable="publisher-place"/>
</group>
<text macro="access" prefix=" "/>
</if>
<else-if type="bill legislation" match="any">
<group delimiter=", " prefix=" ">
<text macro="title"/>
<text variable="container-title" suffix="."/>
<text macro="edition"/>
<text macro="editor" suffix="."/>
<text variable="genre"/>
<text variable="number"/>
<text macro="publisher" prefix=" "/>
</group>
</else-if>
<else-if type="chapter" match="any">
<text macro="title" quotes="false" prefix=" '" suffix="',"/>
<group delimiter=" " prefix=" ">
<text term="in" text-case="lowercase" suffix=":"/>
<text macro="editor" suffix=","/>
<text variable="container-title" font-style="italic" suffix=","/>
<text variable="collection-title" suffix=","/>
<group>
<text macro="publisher"/>
<group>
<choose>
<if match="any" is-numeric="page">
<text variable="page" prefix=", pp. "/>
</if>
<else>
<text variable="page" text-case="lowercase" prefix=", "/>
</else>
</choose>
</group>
</group>
</group>
</else-if>
<else-if type="entry-encyclopedia" match="any">
<text macro="title" prefix=" '" suffix="',"/>
<group>
<text variable="volume" prefix=" " suffix=" "/>
<text variable="container-title" font-style="italic" suffix=", "/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="webpage post-weblog" match="any">
<text variable="title" prefix=" '" suffix="'"/>
<text macro="access" prefix=" "/>
</else-if>
<else-if type="paper-conference" match="any">
<choose>
<if match="all" variable="event container-title">
<group delimiter=", ">
<text variable="title" prefix=" '" suffix="'"/>
<text variable="event" prefix="conference paper presented at: "/>
<text variable="event-place"/>
<date form="text" date-parts="year-month-day" variable="issued">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</if>
<else>
<group delimiter=", ">
<text variable="title" prefix=" '" suffix="'"/>
<text variable="container-title"/>
<text variable="event" prefix="conference paper presented at: "/>
<text variable="event-place"/>
<date form="text" date-parts="year-month-day" variable="issued">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</else-if>
<else-if type="article-journal" match="any">
<group delimiter=" '" prefix=" '" suffix="',">
<text macro="title" quotes="false"/>
<text macro="editor"/>
</group>
<group prefix=" ">
<text variable="container-title" font-style="italic"/>
<group prefix=" ">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page" prefix=", "/>
<text variable="DOI" prefix=" (DOI: " suffix=")"/>
</group>
</else-if>
<else-if type="speech" match="any">
<group delimiter=", ">
<text variable="title" prefix=" '" suffix="'"/>
<text variable="event" prefix="presentation given at: "/>
<text variable="event-place"/>
<date form="text" date-parts="year-month-day" variable="issued">
<date-part name="day"/>
<date-part name="month"/>
<date-part name="year"/>
</date>
</group>
</else-if>
<else>
<group delimiter=", " prefix=" ">
<text macro="title"/>
<text variable="container-title" suffix="."/>
<text macro="edition"/>
<group delimiter=" ">
<choose>
<if match="any" variable="genre">
<text variable="genre"/>
</if>
<else-if match="any" variable="collection-title">
<text variable="collection-title"/>
</else-if>
</choose>
<text variable="number"/>
</group>
<text macro="publisher" prefix=" "/>
</group>
</else>
</choose>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment