commit 28d9dcae958904ad4d1c1b7c65e070d5eb10b23b
parent 1171ab6e58557eba5f81ce24fc74e0ca55a7fb6c
Author: Julian Onions <julian.onions@gmail.com>
Date: Wed, 14 Nov 2007 09:19:19 +0000
A251 Open university format style
Diffstat:
| A | csl/a251.csl | | | 166 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 166 insertions(+), 0 deletions(-)
diff --git a/csl/a251.csl b/csl/a251.csl
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
+ <info>
+ <title>Open University A251 format</title>
+ <id>http://www.zotero.org/styles/ou-a251</id>
+ <link>http://www.zotero.org/styles/ou-a251</link>
+ <author>
+ <name>Julian Onions</name>
+ <email>julian.onions@gmail.com</email>
+ </author>
+ <updated>2007-11-01T03:33:00+05:00</updated>
+ <summary>Style for the Open University Arts course A251.</summary>
+ <category term="author-date"/>
+ <category term="history"/>
+ </info>
+ <macro name="editor">
+ <names variable="editor" prefix="(" suffix=")" delimiter=", ">
+ <name and="text" initialize-with=". " delimiter=", "/>
+ <label form="short" prefix=", " text-transform="lowercase" suffix="."/>
+ </names>
+ </macro>
+ <macro name="author">
+ <names variable="author">
+ <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". "
+ delimiter=", "/>
+ <label form="short" prefix=" (" suffix=".)" text-transform="lowercase"/>
+ <substitute>
+ <names variable="editor"/>
+ <text macro="title"/>
+ </substitute>
+ </names>
+ </macro>
+ <macro name="author-short">
+ <choose>
+ <if variable="volume" type="book" match="all">
+ <text variable="volume" />
+ </if>
+ <else>
+ <names variable="author">
+ <name form="short" and="text" delimiter=", " initialize-with=". "/>
+ <substitute>
+ <names variable="editor"/>
+ <names variable="translator"/>
+ <choose>
+ <if type="book">
+ <text variable="title" form="short" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title" form="short"/>
+ </else>
+ </choose>
+ </substitute>
+ </names>
+ <date variable="issued" prefix=", ">
+ <date-part name="year"/>
+ </date>
+
+ </else>
+ </choose>
+ </macro>
+ <macro name="access">
+ <group>
+ <text value="[online]" suffix=" "/>
+ <text variable="URL"/>
+ <group prefix=" (" suffix=")">
+ <text term="accessed" text-transform="capitalize" suffix=" "/>
+ <date variable="accessed">
+ <date-part name="month" suffix=" "/>
+ <date-part name="day" suffix=", "/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </macro>
+ <macro name="title">
+ <choose>
+ <if type="book">
+ <text variable="title" font-style="italic"/>
+ </if>
+ <else>
+ <text variable="title"/>
+ </else>
+ </choose>
+ </macro>
+ <macro name="publisher">
+ <group delimiter=", ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
+ </macro>
+ <citation>
+ <option name="et-al-min" value="6"/>
+ <option name="et-al-use-first" value="6"/>
+ <option name="et-al-subsequent-min" value="6"/>
+ <option name="et-al-subsequent-use-first" value="1"/>
+ <option name="disambiguate-add-year-suffix" value="true"/>
+ <option name="disambiguate-add-names" value="true"/>
+ <option name="disambiguate-add-givenname" value="true"/>
+ <layout prefix="(" suffix=")" delimiter="; ">
+ <text macro="author-short"/>
+ <label variable="locator" prefix=", " suffix="." form="short"/>
+ <text variable="locator" prefix=" "/>
+ </layout>
+ </citation>
+ <bibliography>
+ <option name="hanging-indent" value="true"/>
+ <option name="et-al-min" value="6"/>
+ <option name="et-al-use-first" value="6"/>
+ <sort>
+ <key macro="author"/>
+ <key variable="title"/>
+ </sort>
+ <layout>
+ <text macro="author" suffix=" "/>
+ <date variable="issued" prefix=" (" suffix=")">
+ <date-part name="year"/>
+ </date>
+ <choose>
+ <if type="book">
+ <group suffix=",">
+ <text macro="title" prefix=" "/>
+ <text macro="editor" prefix=" "/>
+ </group>
+ <text prefix=" " suffix="." macro="publisher"/>
+ </if>
+ <else-if type="chapter">
+ <text macro="title" prefix=" " quotes="true"/>
+ <group class="container" prefix=" ">
+ <text term="in" text-transform="lowercase"/>
+ <names variable="editor" prefix=" " suffix="," delimiter=", ">
+ <name and="text" sort-separator=", " initialize-with=". "/>
+ <label form="short" prefix=" (" suffix=".)" text-transform="lowercase"/>
+ </names>
+ <text variable="container-title" font-style="italic" prefix=" " suffix="."/>
+ <text variable="collection-title" prefix=" " suffix="."/>
+ <group suffix=".">
+ <text macro="publisher" prefix=" "/>
+ <group prefix=", ">
+ <label variable="page" form="short" suffix=". "/>
+ <text variable="page"/>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else>
+ <group suffix=".">
+ <text macro="title" prefix=" " quotes="true"/>
+ <text macro="editor" prefix=" "/>
+ </group>
+ <group class="container" prefix=" " suffix=".">
+ <text variable="container-title" font-style="italic"/>
+ <group prefix=", ">
+ <text variable="volume" />
+ <text variable="issue" prefix="/"/>
+ </group>
+ <group prefix=", ">
+ <label variable="page" form="short" suffix="."/>
+ <text variable="page"/>
+ </group>
+ </group>
+ </else>
+ </choose>
+ <text prefix=" " macro="access" suffix="."/>
+ </layout>
+ </bibliography>
+</style>