Skip to content

Commit

Permalink
Update harvard-university-of-leeds.csl
Browse files Browse the repository at this point in the history
Most changes suggested by David Kane:
http://csl.mendeley.com/styles/25843611/harvard-university-of-leeds-2015-16 

Also updated link to 2015/16 style changes.
  • Loading branch information
jesusbagpuss committed Nov 12, 2015
1 parent 8f1982c commit d918f64
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions harvard-university-of-leeds.csl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<id>http://www.zotero.org/styles/harvard-university-of-leeds</id>
<link href="http://www.zotero.org/styles/harvard-university-of-leeds" rel="self"/>
<link href="http://library.leeds.ac.uk/skills-referencing" rel="documentation"/>
<link href="http://library.leeds.ac.uk/news/article/98/changes_to_referencing_styles" rel="documentation"/>
<link href="http://library.leeds.ac.uk/news/article/225/change_to_leeds_referencing_styles_in_201516" rel="documentation"/>
<author>
<name>Julian Onions</name>
<email>[email protected]</email>
Expand All @@ -15,10 +15,14 @@
<name>John Salter</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>David Kane</name>
<email>[email protected]</email>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The Harvard author-date style</summary>
<updated>2014-01-21T16:13:00+00:00</updated>
<updated>2015-11-12T10:30:41+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">
Expand All @@ -32,7 +36,7 @@
</macro>
<macro name="author">
<names variable="author">
<name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/>
<name and="text" delimiter-precedes-last="never" et-al-min="0" initialize-with="." name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")."/>
<substitute>
<names variable="editor"/>
Expand All @@ -42,7 +46,7 @@
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with="."/>
<name form="short" and="text" delimiter-precedes-last="never" initialize-with="."/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
Expand All @@ -53,16 +57,16 @@
<macro name="access">
<choose>
<if variable="URL">
<text value="Available from:" suffix=" "/>
<text variable="URL"/>
<group prefix=" [" suffix="]">
<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="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<text value="Available from:" suffix=" "/>
<text variable="URL"/>
</if>
</choose>
</macro>
Expand Down Expand Up @@ -139,7 +143,7 @@
<text macro="title"/>
<choose>
<if match="any" variable="URL">
<text term="online" prefix="[" suffix="]"/>
<text term="online" text-case="capitalize-first" prefix="[" suffix="]"/>
</if>
</choose>
<text macro="edition"/>
Expand All @@ -153,15 +157,15 @@
<text term="in" text-case="capitalize-first" font-style="italic" suffix=":"/>
<names variable="editor" delimiter=", " prefix=" " suffix=".">
<name and="text" delimiter-precedes-last="never" initialize-with=". ">
<name-part name="family" text-case="uppercase"/>
<name-part name="family" text-case="capitalize-first"/>
</name>
<label form="short" strip-periods="false" prefix=", "/>
</names>
<group prefix=" " suffix="." delimiter=" ">
<text variable="container-title" font-style="italic"/>
<choose>
<if match="any" variable="URL">
<text term="online" form="long" plural="false" prefix="[" suffix="]"/>
<text term="online" text-case="capitalize-first" prefix="[" suffix="]"/>
</if>
</choose>
</group>
Expand All @@ -182,10 +186,10 @@
</group>
<group prefix=" " suffix=".">
<group delimiter=" ">
<text variable="container-title" font-style="italic"/>
<text variable="container-title" font-style="italic" suffix="."/>
<choose>
<if match="any" variable="URL">
<text term="online" form="long" plural="false" prefix="[" suffix="]"/>
<text term="online" text-case="capitalize-first" prefix="[" suffix="]"/>
</if>
</choose>
</group>
Expand Down

0 comments on commit d918f64

Please sign in to comment.