Skip to content

Commit

Permalink
Merge pull request #456 from terber/patch-1
Browse files Browse the repository at this point in the history
Create new style "harvard-durham-university-business-school.csl" based on "harvard-imperial-college-london.csl"
  • Loading branch information
adam3smith committed Apr 3, 2013
2 parents 6423abd + 89d98e3 commit cdca51c
Showing 1 changed file with 262 additions and 0 deletions.
262 changes: 262 additions & 0 deletions harvard-durham-university-business-school.csl
@@ -0,0 +1,262 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" demote-non-dropping-particle="sort-only" default-locale="en-GB" page-range-format="expanded">
<info>
<title>Harvard - Durham University Business School</title>
<id>http://www.zotero.org/styles/harvard-durham-university-business-school</id>
<link href="http://www.zotero.org/styles/harvard-durham-university-business-school" rel="self"/>
<link href="http://www.zotero.org/styles/harvard-imperial-college-london" rel="template"/>
<link href="http://www.dur.ac.uk/resources/library/teaching/writingyourbibliography.pdf" rel="documentation"/>
<author>
<name>Victor V. Terber</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Harvard author-date style edited for Durham University Business School</summary>
<updated>2013-03-18T21:27:00+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="editor">
<names variable="editor" delimiter=", ">
<name and="symbol" delimiter=", "/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
<macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro>
<macro name="author">
<names variable="author">
<name and="symbol" name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
<label form="short" prefix=" "/>
<substitute>
<text macro="editor"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never"/>
<et-al font-style="italic"/>
<substitute>
<names variable="translator"/>
<text macro="anon"/>
</substitute>
</names>
</macro>
<macro name="access">
<choose>
<if variable="URL DOI" match="any">
<group>
<text value="Available at: "/>
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
<group prefix=" (" 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"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book webpage graphic" match="any">
<text variable="title" font-style="italic"/>
</if>
<else-if variable="container-title" match="none">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", " suffix=".">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="year-date">
<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" strip-periods="true"/>
</group>
</if>
<else>
<text variable="edition" suffix=""/>
</else>
</choose>
</macro>
<macro name="pages">
<group>
<text variable="page"/>
</group>
</macro>
<macro name="online">
<choose>
<if variable="DOI URL" match="any">
<text value="[Online]"/>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if type="article-newspaper paper-conference broadcast" match="any">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=""/>
</date>
</if>
</choose>
<choose>
<if type="paper-conference" match="any">
<date variable="issued">
<date-part name="year" prefix=" "/>
</date>
</if>
</choose>
</macro>
<citation et-al-min="4" et-al-use-first="3" disambiguate-add-year-suffix="true" collapse="year">
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<text macro="year-date"/>
<group>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="5" et-al-use-first="4">
<sort>
<key macro="author"/>
<key variable="title"/>
</sort>
<layout>
<text macro="author"/>
<text macro="year-date" prefix=" (" suffix=")"/>
<choose>
<if type="thesis">
<group prefix=" " delimiter=". " suffix=".">
<text macro="title" font-style="italic"/>
<text macro="edition"/>
<text variable="genre"/>
<text macro="online"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="webpage">
<group prefix=" " delimiter=". " suffix=".">
<text macro="title" suffix=". "/>
<text macro="edition"/>
<text macro="online"/>
</group>
<group prefix=" " delimiter=". " suffix=".">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
<text variable="container-title"/>
</group>
</else-if>
<else-if type="article-journal article-newspaper broadcast personal_communication thesis webpage" match="any">
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<choose>
<if variable="author" match="any">
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
</if>
</choose>
<text macro="online" prefix=" " suffix=""/>
<group prefix=" " suffix="." delimiter="">
<text variable="volume"/>
<group delimiter=", ">
<text variable="issue" prefix=" (" suffix=")"/>
<text macro="issued"/>
<text macro="pages"/>
</group>
</group>
</else-if>
<else-if type="book graphic" match="any">
<group prefix=" " delimiter=". " suffix=".">
<text variable="note"/>
<text macro="title"/>
<group delimiter=" ">
<text variable="collection-title"/>
<text variable="collection-number"/>
</group>
<text macro="edition"/>
<text macro="editor"/>
<text macro="online"/>
<text macro="publisher"/>
</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" suffix=". "/>
<text variable="container-title" font-style="italic" suffix="."/>
<text variable="collection-title" suffix="."/>
<text macro="edition" prefix=" " suffix="."/>
<text macro="online" suffix="."/>
<text macro="issued"/>
<text macro="publisher" suffix="."/>
<label variable="page" form="short"/>
<text macro="pages" suffix="."/>
</group>
</else-if>
<else>
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text macro="online" prefix=" " suffix=". "/>
<group prefix=" " suffix=".">
<group prefix=" ">
<text variable="volume"/>
<text variable="issue" prefix=" (" suffix=")"/>
<text macro="issued"/>
</group>
<group prefix=" ">
<label variable="page" form="short"/>
<text macro="pages"/>
</group>
</group>
</else>
</choose>
<text prefix=" " macro="access" suffix="."/>
</layout>
</bibliography>
</style>

0 comments on commit cdca51c

Please sign in to comment.