Skip to content

Commit

Permalink
Merge pull request citation-style-language#521 from jaegergaard/patch-4
Browse files Browse the repository at this point in the history
Update harvard-coventry-university.csl
  • Loading branch information
adam3smith committed May 3, 2013
2 parents e10954b + af1a79c commit 39b7fbf
Showing 1 changed file with 47 additions and 94 deletions.
141 changes: 47 additions & 94 deletions harvard-coventry-university.csl
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The Harvard author-date style - adapted for Coventry University</summary>
<updated>2013-04-29T12:37:57+00:00</updated>
<updated>2013-05-03T22:37:29+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=". ">
<names variable="editor">
<label form="short" plural="never" text-case="lowercase" strip-periods="true" suffix=". by "/>
<name delimiter="," and="symbol" initialize-with=". "/>
<name delimiter="," and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
</names>
</macro>
<macro name="anon">
Expand All @@ -37,13 +37,6 @@
<text macro="anon"/>
</substitute>
</names>
<choose>
<if type="paper-conference" match="any">
<group>
<text term="editor" form="short" text-case="lowercase" prefix="(" suffix=")"/>
</group>
</if>
</choose>
</group>
</macro>
<macro name="author-short">
Expand Down Expand Up @@ -88,16 +81,16 @@
</choose>
</macro>
<macro name="publisher">
<text variable="publisher-place" suffix=":"/>
<group delimiter=" ">
<choose>
<if type="article-newspaper" match="any">
<text variable="publisher-place"/>
<if type="article-newspaper broadcast webpage post-weblog paper-conference" match="any">
<text macro="title-container"/>
</if>
<else>
<text variable="publisher-place" suffix=":"/>
<text variable="publisher" prefix=" "/>
</else>
</choose>
<text variable="publisher"/>
</group>
</macro>
<macro name="year-date">
Expand Down Expand Up @@ -131,37 +124,31 @@
</group>
</macro>
<macro name="volume">
<choose>
<if match="any" is-numeric="volume">
<group prefix=" ">
<group prefix=" ">
<choose>
<if match="any" is-numeric="volume">
<number variable="volume"/>
</group>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</group>
</macro>
<macro name="issue">
<choose>
<if match="any" is-numeric="issue">
<group prefix=" ">
<number prefix="(" suffix=")" variable="issue"/>
</group>
</if>
<else>
<text variable="issue"/>
</else>
</choose>
<group prefix="(" suffix=")">
<choose>
<if match="any" is-numeric="issue">
<number variable="issue"/>
</if>
<else>
<text variable="issue"/>
</else>
</choose>
</group>
</macro>
<macro name="title-container">
<choose>
<if match="any" variable="container-title">
<group>
<text variable="container-title" font-style="italic"/>
</group>
</if>
</choose>
<text variable="container-title" font-style="italic"/>
</macro>
<macro name="online-available">
<choose>
Expand Down Expand Up @@ -227,121 +214,87 @@
<layout>
<text macro="author"/>
<text macro="year-date" prefix=" (" suffix=")"/>
<choose>
<if type="chapter" match="none">
<text macro="editor" prefix=" "/>
</if>
</choose>
<text macro="title" prefix=" "/>
<choose>
<if type="book" match="any">
<group delimiter=" " prefix=" ">
<text macro="title"/>
<text macro="online-available"/>
<text macro="edition"/>
<text macro="editor"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="paper-conference" match="any">
<group prefix=" " delimiter=" ">
<text macro="title" prefix=" "/>
<text variable="container-title" font-style="normal" prefix="'" suffix="'."/>
<text macro="title-container"/>
<text variable="collection-title" suffix="."/>
<text value="held"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
<text term="at" text-case="lowercase"/>
<text variable="event-place"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="thesis">
<group delimiter=" " prefix=" " suffix=".">
<text macro="title"/>
<text macro="online-available"/>
<text macro="edition"/>
<text variable="genre" suffix="."/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="webpage">
<group delimiter=" " prefix=" ">
<text macro="title" suffix=" [online]"/>
<text macro="edition"/>
</group>
</else-if>
<else-if type="article-journal article-magazine article" match="any">
<group prefix=" ">
<text macro="title" suffix="."/>
<text macro="title-container" prefix=" "/>
<text macro="online-available" prefix=" "/>
<choose>
<if type="article article-journal article-magazine" match="any">
<group>
<text macro="volume"/>
<text macro="issue"/>
</group>
</if>
</choose>
<text macro="editor" prefix=" "/>
<text macro="publisher" prefix=" "/>
<text macro="pages" prefix=", "/>
<text macro="volume"/>
<text macro="issue" prefix=" "/>
</group>
</else-if>
<else-if type="article-newspaper" match="any">
<group>
<text macro="title" prefix=" "/>
<text macro="title-container" prefix=". "/>
<text macro="online-available" prefix=" "/>
<text macro="issued-day" prefix=" "/>
<text macro="pages" prefix=", "/>
</group>
</else-if>
<else-if type="chapter" match="any">
<group>
<text macro="title" prefix=" "/>
<text term="in" text-case="lowercase" prefix=" "/>
<text macro="title-container" prefix=" "/>
<text macro="online-available" prefix=" "/>
<text macro="editor" prefix=" " suffix=":"/>
<text macro="publisher" prefix=" " suffix=","/>
<text macro="pages" prefix=" "/>
</group>
</else-if>
<else-if type="report" match="any">
<group>
<text macro="title" prefix=" "/>
<text macro="online-available" prefix=" "/>
<text macro="issue" font-style="italic" suffix="."/>
<text macro="publisher" prefix=" "/>
<text macro="editor" prefix=" "/>
</group>
</else-if>
<else-if type="interview" match="any">
<group>
<text macro="title" prefix=" "/>
<group prefix=" [" suffix="],">
<text term="interviewer" form="verb" text-case="lowercase" suffix=" "/>
<names variable="interviewer">
<name/>
</names>
</group>
<group prefix=" [" suffix="],">
<text term="interviewer" form="verb" text-case="lowercase" suffix=" "/>
<names variable="interviewer">
<name/>
</names>
</group>
<text macro="issued-day" prefix=" "/>
</else-if>
<else-if type="personal_communication" match="any">
<group delimiter=" ">
<text macro="title" prefix=" "/>
<text term="letter" prefix="[" suffix="]"/>
<text macro="recipient" prefix="to "/>
</group>
<text macro="issued-day" prefix=" "/>
</else-if>
<else>
<group>
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
<text macro="title-container" prefix=" "/>
<text macro="online-available" prefix=" "/>
<text macro="edition"/>
<text macro="volume" prefix=" "/>
<text macro="issue" prefix=" "/>
<text macro="pages" prefix=", "/>
</group>
</else>
</choose>
<text prefix=" " macro="access" suffix="."/>
<text macro="publisher" prefix=" "/>
<text macro="pages" prefix=", "/>
<text macro="access" prefix=" "/>
</layout>
</bibliography>
</style>

0 comments on commit 39b7fbf

Please sign in to comment.