Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add Steven's Harvard Anglia Ruskin rewrite

  • Loading branch information...
commit 16a2e33b9cf4ad97be6c7a2d065ee3a6cd646b66 1 parent 7d9630f
@adam3smith adam3smith authored
Showing with 341 additions and 166 deletions.
  1. +341 −166 harvard-anglia-ruskin.csl
View
507 harvard-anglia-ruskin.csl
@@ -1,227 +1,402 @@
<?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">
<info>
- <title>Harvard - Anglia Ruskin University 2011</title>
+ <title>Harvard - Anglia Ruskin University</title>
<id>http://www.zotero.org/styles/harvard-anglia-ruskin</id>
<link href="http://www.zotero.org/styles/harvard-anglia-ruskin" rel="self"/>
<author>
- <name>Shaun Goh</name>
- <email>uswsing@gmail.com</email>
- </author>
- <author>
<name>Steven Singleton</name>
<email>stvn@gmx.ie</email>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
- <updated>2011-11-02T21:50:02+00:00</updated>
- <summary>Anglia Ruskin University Harvard System of Referencing 2011</summary>
+ <updated>2012-03-15T16:16:16+00:00</updated>
+ <summary>Anglia Ruskin University Harvard style</summary>
<link href="http://libweb.anglia.ac.uk/referencing/harvard.htm" rel="documentation"/>
- <rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
+ <rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</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 name="cite-author">
+ <choose>
+ <if type="broadcast" match="any">
+ <text variable="title" font-style="italic" suffix=","/>
+ </if>
+ <else-if type="bill motion_picture" match="any">
+ <text variable="title" font-style="italic" suffix="."/>
+ </else-if>
+ <else-if type="legal_case" match="any">
+ <text variable="title" font-style="italic"/>
+ </else-if>
+ <else>
+ <names variable="author">
+ <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", " suffix=","/>
+ <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
+ <substitute>
+ <text macro="editor-detail"/>
+ <text macro="anon" suffix=","/>
+ </substitute>
+ </names>
+ </else>
+ </choose>
</macro>
- <macro name="author">
- <names variable="author">
+ <macro name="editor-detail">
+ <names variable="editor">
<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"/>
- <names variable="translator"/>
- <text macro="anon"/>
- </substitute>
+ <label form="short" prefix=" " suffix=".," text-case="lowercase" strip-periods="true"/>
</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 name="anon">
+ <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
- <macro name="access">
+ <macro name="year-date">
<choose>
- <if variable="URL">
- <group>
- <text value="Available at:" suffix=" &lt;"/>
- <text variable="URL" text-decoration="none"/>
- <group prefix="&gt; [" 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"/>
+ <if type="bill" match="none">
+ <choose>
+ <if type="legal_case" match="any">
+ <date variable="issued">
+ <date-part name="year" prefix="[" suffix="]"/>
</date>
- </group>
- </group>
+ </if>
+ <else-if variable="issued">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </else-if>
+ <else-if variable="accessed">
+ <choose>
+ <if type="webpage song" match="any">
+ <date variable="accessed">
+ <date-part name="year"/>
+ </date>
+ </if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
+ </else-if>
+ <else>
+ <text term="no date" form="short"/>
+ </else>
+ </choose>
</if>
</choose>
</macro>
- <macro name="title">
+ <macro name="primary-title">
<choose>
- <if type="bill book graphic legal_case motion_picture report song thesis webpage article-magazine" match="any">
- <text variable="title" font-style="italic"/>
+ <if type="chapter entry-dictionary entry-encyclopedia article-journal article-newspaper article-magazine paper-conference post-weblog post" match="any">
+ <group>
+ <text variable="title"/>
+ </group>
</if>
+ <else-if type="bill motion_picture legal_case" match="any">
+ <text variable="collection-number"/>
+ </else-if>
<else>
- <text variable="title"/>
+ <choose>
+ <if type="broadcast" match="none">
+ <group delimiter=". ">
+ <group delimiter=". ">
+ <text variable="title" font-style="italic"/>
+ <text macro="edition-no"/>
+ </group>
+ <text variable="collection-title"/>
+ </group>
+ </if>
+ </choose>
</else>
</choose>
</macro>
- <macro name="publisher">
- <group delimiter=": ">
- <text variable="publisher-place"/>
- <text variable="publisher"/>
+ <macro name="genre-online-marker">
+ <choose>
+ <if type="report webpage book thesis interview patent speech" match="any">
+ <choose>
+ <if variable="URL">
+ <choose>
+ <if variable="genre">
+ <text variable="genre" prefix="[" suffix="]"/>
+ </if>
+ <else-if variable="medium">
+ <text variable="medium" prefix="[" suffix="]"/>
+ </else-if>
+ <else>
+ <text term="online" prefix="[" suffix="]"/>
+ </else>
+ </choose>
+ </if>
+ <else-if type="thesis">
+ <text variable="genre" suffix="."/>
+ </else-if>
+ </choose>
+ </if>
+ <else-if type="graphic manuscript song personal_communication post-weblog post" match="any">
+ <group delimiter=". ">
+ <text variable="genre" prefix="[" suffix="]"/>
+ <text variable="medium" prefix="[" suffix="]"/>
+ </group>
+ </else-if>
+ <else-if type="broadcast">
+ <text variable="medium" prefix="[" suffix="]"/>
+ </else-if>
+ </choose>
+ </macro>
+ <macro name="edition-no">
+ <group delimiter=" ">
+ <number variable="edition" form="ordinal"/>
+ <text term="edition" form="short" suffix="." text-case="lowercase" strip-periods="true"/>
</group>
</macro>
- <macro name="year-date">
+ <macro name="translator">
+ <names variable="translator">
+ <name and="text" initialize-with="." delimiter=". " prefix="Translated by " suffix="."/>
+ </names>
+ </macro>
+ <macro name="bill-detail">
+ <choose>
+ <if type="bill">
+ <group delimiter=". ">
+ <text variable="section"/>
+ <text variable="volume"/>
+ </group>
+ </if>
+ </choose>
+ </macro>
+ <macro name="publisher">
<choose>
- <if variable="issued">
- <date variable="issued">
- <date-part name="year"/>
- </date>
+ <if type="thesis">
+ <group delimiter=", ">
+ <text variable="publisher"/>
+ </group>
</if>
+ <else-if type="manuscript">
+ <group delimiter=", ">
+ <text variable="archive"/>
+ <group delimiter=". ">
+ <text variable="archive_location"/>
+ <text variable="publisher-place"/>
+ </group>
+ </group>
+ </else-if>
<else>
- <text term="no date" form="short"/>
+ <group delimiter=": ">
+ <text variable="publisher-place"/>
+ <text variable="publisher"/>
+ </group>
</else>
</choose>
</macro>
- <macro name="edition">
+ <macro name="container">
<choose>
- <if is-numeric="edition">
- <group delimiter=" ">
- <number variable="edition" form="ordinal"/>
- <text term="edition" form="short"/>
+ <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
+ <group suffix=".">
+ <text term="in" text-case="capitalize-first" suffix=": "/>
+ <group delimiter=", ">
+ <names variable="editor" delimiter=", ">
+ <name and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
+ <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
+ </names>
+ <group delimiter=", ">
+ <text variable="container-title" font-style="italic"/>
+ <text variable="collection-title"/>
+ <choose>
+ <if is-numeric="edition">
+ <group delimiter=" ">
+ <number variable="edition" form="ordinal"/>
+ <text term="edition" form="short" suffix="." text-case="lowercase" strip-periods="true"/>
+ </group>
+ </if>
+ <else>
+ <text variable="edition" suffix="."/>
+ </else>
+ </choose>
+ </group>
+ </group>
</group>
</if>
+ <else-if type="webpage bill" match="any">
+ <text variable="container-title" suffix="."/>
+ </else-if>
+ <else-if type="legal_case">
+ <text variable="container-title"/>
+ </else-if>
+ <else-if type="patent">
+ <text variable="number" suffix="."/>
+ </else-if>
+ <else-if type="motion_picture">
+ <text variable="medium" prefix="[" suffix="]"/>
+ <names variable="author">
+ <name and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", " prefix=" Directed by " suffix="."/>
+ <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
+ </names>
+ </else-if>
<else>
- <text variable="edition" suffix="."/>
+ <choose>
+ <if variable="volume issue page" match="any">
+ <text variable="container-title" font-style="italic" suffix=", "/>
+ </if>
+ <else>
+ <text variable="container-title" font-style="italic" suffix="."/>
+ </else>
+ </choose>
</else>
</choose>
</macro>
- <macro name="pages">
- <group>
- <label variable="page" form="short"/>
- <text variable="page"/>
+ <macro name="container-online">
+ <choose>
+ <if variable="URL">
+ <choose>
+ <if type="bill chapter paper-conference article-magazine article-journal article-newspaper entry-dictionary entry-encyclopedia" match="any">
+ <text term="online" prefix="[" suffix="]"/>
+ </if>
+ </choose>
+ </if>
+ </choose>
+ </macro>
+ <macro name="legal-detail">
+ <group delimiter=", ">
+ <choose>
+ <if type="legal_case">
+ <group>
+ <text variable="volume" prefix =" "/>
+ <text variable="authority" prefix=" (" suffix=")"/>
+ </group>
+ <group>
+ <label variable="page" text-case="lowercase" form="short"/>
+ <text variable="page"/>
+ </group>
+ </if>
+ </choose>
</group>
+ </macro>
+ <macro name="locator">
+ <choose>
+ <if type="article-journal article-newspaper article-magazine interview" match="any">
+ <group delimiter=", " suffix=".">
+ <group>
+ <text variable="volume"/>
+ <text variable="issue" prefix="(" suffix=")"/>
+ </group>
+ <choose>
+ <if type="article-magazine article-newspaper interview" match="any">
+ <date variable="issued" delimiter=" ">
+ <date-part name="day"/>
+ <date-part name="month" form="short"/>
+ </date>
+ </if>
+ </choose>
+ <choose>
+ <if variable="page">
+ <group>
+ <label variable="page" text-case="lowercase" form="short"/>
+ <text variable="page"/>
+ </group>
+ </if>
+ </choose>
+ </group>
+ </if>
+ <else-if type="book chapter paper-conference manuscript entry-dictionary entry-encyclopedia thesis motion_picture song report" match="any">
+ <group suffix=".">
+ <text variable="event" suffix=". "/>
+ <group delimiter=", ">
+ <text macro="publisher"/>
+ <group>
+ <label variable="page" text-case="lowercase" form="short"/>
+ <text variable="page"/>
+ </group>
+ </group>
+ </group>
+ </else-if>
+ <else-if type="broadcast">
+ <group delimiter=". ">
+ <text variable="event"/>
+ <text macro="publisher"/>
+ <group>
+ <date variable="issued" delimiter=" ">
+ <date-part name="day"/>
+ <date-part name="month" form="short"/>
+ </date>
+ </group>
+ </group>
+ </else-if>
+ </choose>
+ </macro>
+ <macro name="online-access">
+ <choose>
+ <if variable="URL">
+ <group>
+ <text value="Available at: " prefix=" "/>
+ <text variable="URL" prefix="&lt;" suffix="&gt;"/>
+ <group prefix=" [" suffix="]." >
+ <text term="accessed" text-case="capitalize-first" suffix=" "/>
+ <date variable="accessed" delimiter=" ">
+ <date-part name="day"/>
+ <date-part name="month" form="short"/>
+ <date-part name="year"/>
+ </date>
+ </group>
+ </group>
+ </if>
+ </choose>
+ </macro>
+ <macro name="author-short">
+ <choose>
+ <if type="motion_picture broadcast bill legal_case" match="any">
+ <text variable="title"/>
+ </if>
+ <else>
+ <names variable="author">
+ <name form="short" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
+ <substitute>
+ <names variable="editor"/>
+ <text variable="title"/>
+ </substitute>
+ </names>
+ </else>
+ </choose>
</macro>
- <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year-suffix">
+ <citation et-al-min="5" et-al-use-first="1" et-al-subsequent-min="4" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix">
<layout prefix="(" suffix=")" delimiter="; ">
- <group delimiter=", ">
- <group delimiter=" ">
- <text macro="author-short" suffix=","/>
+ <group delimiter=", " >
+ <group delimiter=", " >
+ <text macro="author-short" />
<text macro="year-date"/>
</group>
- <group>
+ <group prefix=" ">
<label variable="locator" suffix="." form="short" strip-periods="true"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
- <bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1">
+ <bibliography hanging-indent="false" et-al-min="5" et-al-use-first="1">
<sort>
- <key macro="author"/>
+ <key macro="cite-author"/>
<key macro="year-date"/>
- <key macro="title"/>
+ <key variable="title"/>
</sort>
- <layout>
- <text macro="author" suffix=","/>
- <date variable="issued" prefix=" " suffix=".">
- <date-part name="year"/>
- </date>
- <choose>
- <if type="bill book graphic legal_case motion_picture report song" match="any">
- <group prefix=" " delimiter=" ">
- <text macro="title" suffix="."/>
- <text macro="edition"/>
- <text variable="collection-title" suffix="."/>
- <text macro="editor" suffix=","/>
- </group>
- <text prefix=" " suffix="." macro="publisher"/>
- </if>
- <else-if type="article-journal">
- <group prefix=" " delimiter=" ">
- <text macro="title" suffix="."/>
- <text variable="container-title" font-style="italic" suffix=","/>
- </group>
- <text variable="volume" prefix=" "/>
- <text variable="issue" prefix="(" suffix="), "/>
- <text macro="pages" suffix="."/>
- </else-if>
- <else-if type="article-newspaper">
- <group prefix=" " delimiter=" ">
- <text macro="title" suffix="."/>
- <text variable="container-title" font-style="italic" suffix=","/>
- <text value="[online]"/>
- </group>
- <date variable="issued">
- <date-part name="day" suffix=" "/>
- <date-part name="month" suffix="."/>
- </date>
- </else-if>
- <else-if type="article-magazine">
- <group prefix=" " delimiter=" ">
- <text macro="title" suffix="."/>
- <text variable="container-title" suffix=","/>
- <text value="[online]"/>
- </group>
- </else-if>
- <else-if type="paper-conference">
- <group prefix=" " delimiter=" ">
- <text macro="title" suffix="."/>
- <text value="In:"/>
- <text variable="container-title" suffix=","/>
- <text variable="event" font-style="italic" suffix="."/>
- <text variable="publisher-place"/>
- <group prefix=" " suffix=".">
- <date variable="issued">
- <date-part name="day" suffix=" "/>
- <date-part name="month" form="short" suffix=" " strip-periods="true"/>
- <date-part name="year"/>
- </date>
- </group>
- <text macro="publisher" suffix="."/>
- </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" suffix=":"/>
- <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-if type="webpage">
- <group prefix=" " delimiter=" ">
- <text macro="title" font-style="italic" suffix="."/>
- <text value="[online]"/>
- </group>
- </else-if>
- </choose>
- <text prefix=" " macro="access" suffix="."/>
+ <layout suffix=".">
+ <group delimiter=" ">
+ <text macro="cite-author"/>
+ <choose>
+ <if type="legal_case" match="any">
+ <text macro="year-date"/>
+ </if>
+ <else>
+ <text macro="year-date" suffix=". "/>
+ </else>
+ </choose>
+ </group>
+ <group delimiter=" ">
+ <text macro="primary-title" suffix="."/>
+ <text macro="genre-online-marker"/>
+ <group delimiter=". " prefix=" ">
+ <text macro="translator"/>
+ <text macro="bill-detail"/>
+ <text macro="container"/>
+ </group>
+ <text macro="container-online"/>
+ <text macro="legal-detail"/>
+ <text macro="locator"/>
+ </group>
+ <text macro="online-access"/>
</layout>
</bibliography>
</style>
Please sign in to comment.
Something went wrong with that request. Please try again.