Skip to content
Permalink
Browse files

Create oecd.csl (#3382)

  • Loading branch information...
POBrien333 authored and rmzelle committed Apr 6, 2018
1 parent 2b64447 commit a445acd05ad1d64dbb2d146d66b2b36e002b413b
@@ -0,0 +1,289 @@
<?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-US">
<info>
<title>International Energy Agency - Organisation for Economic Co-operation and Development</title>
<title-short>IEA-OECD</title-short>
<id>http://www.zotero.org/styles/international-energy-agency-organisation-for-economic-co-operation-and-development</id>
<link href="http://www.zotero.org/styles/international-energy-agency-organisation-for-economic-co-operation-and-development" rel="self"/>
<link href="http://www.zotero.org/styles/deutsche-gesellschaft-fur-psychologie" rel="template"/>
<link href="https://www.iea.org/publications/freepublications/publication/iea-oecd-style-guide.html" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
<email>obrienpat86@gmail.com</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The IEA-OECD Style Guide: Rules and Conventions, 3rd Edition, style.</summary>
<updated>2018-04-04T11:15:18+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>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" suffix=" "/>
<names variable="editor translator" delimiter=", " suffix=", ">
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="symbol" initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=", " text-case="capitalize-first"/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter-precedes-last="never" initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" quotes="true"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else-if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed"/>
<date form="text" variable="accessed"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="report thesis" match="any">
<text variable="title" font-style="italic" suffix="."/>
<group delimiter=", " prefix=" " suffix=".">
<text variable="genre"/>
<group delimiter=" ">
<label text-case="capitalize-first" vertical-align="baseline" variable="issue" form="short"/>
<number variable="number"/>
</group>
</group>
</if>
<else-if type="bill book graphic legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
<text variable="collection-title" prefix=" (" suffix=")"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
<text variable="collection-title" prefix=" (" suffix=")"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="article-newspaper" match="none">
<choose>
<if type="report thesis" match="any">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</if>
<else>
<choose>
<if variable="event" match="none">
<text variable="genre" suffix=", "/>
</if>
</choose>
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<choose>
<if variable="genre" match="none">
<text term="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</if>
<else>
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
<text variable="event"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<choose>
<if type="post-weblog webpage" match="any">
<date variable="issued">
<date-part name="day"/>
<date-part name="month" prefix=" "/>
<date-part name="year" prefix=" "/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="issued-year">
<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="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="long"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group prefix=", " delimiter=", ">
<group delimiter="/">
<group delimiter=" ">
<label text-case="capitalize-first" variable="volume" form="short"/>
<text variable="volume" font-style="normal"/>
</group>
<text variable="issue"/>
</group>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</group>
</if>
<else-if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any">
<group prefix=" (" suffix=")" delimiter=", ">
<text macro="edition"/>
<group>
<text term="volume" form="long" plural="true" text-case="capitalize-first" suffix=" "/>
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
</group>
<group>
<text term="volume" form="long" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
<group>
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</group>
</else-if>
<else-if type="article-newspaper" match="any">
<group delimiter=" " prefix=", ">
<label text-case="capitalize-first" variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
</choose>
</macro>
<macro name="citation-locator">
<text variable="locator" prefix=" "/>
</macro>
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
<sort>
<key macro="author"/>
<key macro="issued-year"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=": ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
</group>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography delimiter-precedes-et-al="never" et-al-min="4" et-al-use-first="1" entry-spacing="0" line-spacing="2" hanging-indent="true">
<sort>
<key macro="author"/>
<key macro="issued-year" sort="ascending"/>
</sort>
<layout suffix=".">
<group>
<group delimiter=", ">
<group delimiter=". ">
<text macro="author" suffix="."/>
<text macro="issued" prefix="(" suffix=")"/>
</group>
<text macro="title"/>
<group>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<group delimiter=", ">
<text variable="container-title" font-style="italic"/>
</group>
</group>
</group>
<text macro="locators"/>
<group delimiter=", " prefix=", ">
<text macro="event"/>
<text macro="publisher"/>
</group>
</group>
<text macro="access" prefix=", "/>
</layout>
</bibliography>
</style>

0 comments on commit a445acd

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.