Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2012 03:50
Show Gist options
  • Save anonymous/2866227 to your computer and use it in GitHub Desktop.
Save anonymous/2866227 to your computer and use it in GitHub Desktop.
Harvard Referencing Style CSL file as used at the University of Gloucestershire
<?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 as used at the University of Gloucestershire</title>
<id>http://www.zotero.org/styles/harvard-gloucestershire</id>
<link href="http://www.zotero.org/styles/harvard-gloucestershire" rel="self"/>
<author>
<name>Francis Barton</name>
<email>fbarton@glos.ac.uk</email>
</author>
<updated>2012-06-04T09:00:00Z</updated>
<!--
based on Alexandru Ghita's University of Sheffield - Town & Regional Planning Dept. file, based in turn on "APA & Urban Studies CSL" files
-->
<category field="generic-base"/>
<category field="social_science"/>
<category citation-format="author-date"/>
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en-GB" xmlns="http://purl.org/net/xbiblio/csl">
<terms>
<term name="editor" form="verb-short">ed. by</term>
<term name="editor" form="short">
<single>ed.</single>
<multiple>eds.</multiple>
</term>
<term name="no date">n.d.</term>
<term name="et-al">et al.</term>
<term name="page">
<single>page</single>
<multiple>pages</multiple>
</term>
<term name="page" form="short">
<single>p</single>
<multiple>pp.</multiple>
</term>
<term name="retrieved">Available from</term>
<term name="in">In</term>
</terms>
</locale>
<macro name="editor-translator">
<names variable="editor translator" prefix="(" suffix=")" delimiter=", ">
<name and="symbol" initialize-with="." delimiter=", "/>
<label form="short" prefix=", " text-case="capitalize-first" suffix="." strip-periods="true"/>
</names>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="never"/>
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/>
<et-al term="et-al" font-style="italic"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="article-journal article-magazine article-newspaper broadcast interview manuscript map patent personal_communication song speech thesis webpage" match="any">
<text variable="container-title"/>
</if>
</choose>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " initialize-with="."/>
<substitute>
<names variable="editor">
<name form="short" and="symbol" delimiter=", " initialize-with="."/></names>
<names variable="translator">
<name form="short" and="symbol" delimiter=", " initialize-with="."/></names>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short" quotes="false"/>
</else>
</choose>
</substitute>
</names>
</macro>
<macro name="access">
<group>
<group>
<text term="retrieved" suffix=": "/>
<text variable="URL" suffix=" "/>
</group>
<text term="accessed" text-case="capitalize-first" prefix="[" suffix=": "/>
<date variable="accessed" suffix="">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year" suffix="]"/>
</date>
</group>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" text-case="title" font-style="italic"/>
</if>
<else>
<text variable="title" text-case="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" year-suffix-delimiter="," disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year-suffix">
<sort>
<key variable="issued" sort="ascending"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<date variable="issued">
<date-part name="year"/>
</date>
<group>
<label variable="locator" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="false" et-al-min="6" et-al-use-first="6" subsequent-author-substitute="-- " entry-spacing="1" line-spacing="1">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout>
<text macro="author" suffix="."/>
<date variable="issued" prefix=" (" suffix=")">
<date-part name="year"/>
</date>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group suffix=",">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<text prefix=" " suffix="." macro="publisher"/>
</if>
<else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" "/>
<group prefix=", ">
<text term="in" suffix=": " font-style="italic"/>
<names variable="editor translator" delimiter=", ">
<name and="symbol" name-as-sort-order="all" sort-separator=", " initialize-with="."/>
<label form="short" prefix=" " suffix=". " text-case="lowercase" strip-periods="true"/>
</names>
<text variable="container-title" font-style="italic" suffix=", "/>
</group>
<text variable="collection-title" font-style="italic" suffix=", "/>
<text macro="publisher" suffix=", "/>
<group>
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor-translator" prefix=" "/>
</group>
<group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/>
<group prefix=", ">
<text variable="volume"/>
<text variable="issue" prefix=" (" suffix=")"/>
</group>
<group prefix=": ">
<text variable="page"/>
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment