Skip to content

Commit

Permalink
some clean-up and fixes for Harvard Leeds
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Sep 11, 2012
1 parent 41eb2fa commit cdc1b25
Showing 1 changed file with 45 additions and 21 deletions.
66 changes: 45 additions & 21 deletions harvard-university-of-leeds.csl
@@ -1,33 +1,36 @@
<?xml version="1.0" encoding="utf-8"?> <?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" default-locale="en-GB"> <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<!-- This style was edited with the Visual CSL Editor (http://steveridout.com/csl/visualEditor/) -->
<info> <info>
<title>Harvard - University of Leeds</title> <title>Harvard - University of Leeds</title>
<id>http://www.zotero.org/styles/harvard-university-of-leeds</id> <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://www.zotero.org/styles/harvard-university-of-leeds" rel="self"/>
<link href="http://beta.library.leeds.ac.uk/info/311/referencing" rel="documentation"/>
<author> <author>
<name>Julian Onions</name> <name>Julian Onions</name>
<email>julian.onions@gmail.com</email> <email>julian.onions@gmail.com</email>
</author> </author>
<category citation-format="author-date"/> <category citation-format="author-date"/>
<category field="generic-base"/> <category field="generic-base"/>
<updated>2012-01-01T00:00:00+00:00</updated>
<summary>The Harvard author-date style</summary> <summary>The Harvard author-date style</summary>
<link href="http://beta.library.leeds.ac.uk/info/311/referencing" rel="documentation"/> <updated>2012-09-11T02:32:54+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> <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> </info>
<macro name="editor"> <macro name="editor">
<names variable="editor" prefix="" suffix="" delimiter=", "> <names variable="editor" prefix="" suffix="" delimiter=", ">
<name and="symbol" initialize-with=". " delimiter=", "/> <name and="symbol" initialize-with=". " delimiter=", "/>
<label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/> <label form="short" prefix=", "/>
</names> </names>
</macro> </macro>
<macro name="anon"> <macro name="anon">
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/> <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
</macro> </macro>
<macro name="author"> <macro name="author">
<names variable="author"> <names variable="author">
<name name-as-sort-order="all" and="symbol" sort-separator=", " delimiter-precedes-last="never" initialize-with="." delimiter=", "/> <name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="first">
<label form="short" prefix=" (" suffix=")." text-case="lowercase" strip-periods="true"/> <name-part name="family" text-case="uppercase"/>
</name>
<label form="short" prefix=" (" suffix=")."/>
<substitute> <substitute>
<names variable="editor"/> <names variable="editor"/>
<text macro="anon"/> <text macro="anon"/>
Expand All @@ -47,7 +50,7 @@
<macro name="access"> <macro name="access">
<choose> <choose>
<if variable="URL"> <if variable="URL">
<text value="Available at:" suffix=" "/> <text value="Available from:" suffix=" "/>
<text variable="URL"/> <text variable="URL"/>
<group prefix=" [" suffix="]"> <group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/> <text term="accessed" text-case="capitalize-first" suffix=" "/>
Expand Down Expand Up @@ -95,29 +98,29 @@
<if is-numeric="edition"> <if is-numeric="edition">
<group delimiter=" "> <group delimiter=" ">
<number variable="edition" form="ordinal"/> <number variable="edition" form="ordinal"/>
<text term="edition" form="short" suffix="." strip-periods="true"/> <text term="edition" form="short"/>
</group> </group>
</if> </if>
<else> <else>
<text variable="edition" suffix="."/> <text variable="edition" suffix="."/>
</else> </else>
</choose> </choose>
</macro> </macro>
<citation et-al-min="4" et-al-use-first="1" et-al-subsequent-min="6" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true"> <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
<layout prefix="(" suffix=")" delimiter="; "> <layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", "> <group delimiter=" ">
<group delimiter=" "> <group delimiter=" ">
<text macro="author-short"/> <text macro="author-short"/>
<text macro="year-date"/> <text macro="year-date"/>
</group> </group>
<group> <group>
<label variable="locator" suffix="." form="short" strip-periods="true"/> <label variable="locator" form="short"/>
<text variable="locator" prefix=" "/> <text variable="locator" prefix=" "/>
</group> </group>
</group> </group>
</layout> </layout>
</citation> </citation>
<bibliography hanging-indent="true" et-al-min="2" et-al-use-first="1"> <bibliography et-al-min="4" et-al-use-first="1" hanging-indent="true">
<sort> <sort>
<key macro="author"/> <key macro="author"/>
<key variable="title"/> <key variable="title"/>
Expand All @@ -131,6 +134,11 @@
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group prefix=" " delimiter=" " suffix="."> <group prefix=" " delimiter=" " suffix=".">
<text macro="title"/> <text macro="title"/>
<choose>
<if match="any" variable="URL">
<text term="online" prefix="[" suffix="]"/>
</if>
</choose>
<text macro="edition"/> <text macro="edition"/>
<text macro="editor" prefix="(" suffix=")"/> <text macro="editor" prefix="(" suffix=")"/>
</group> </group>
Expand All @@ -139,17 +147,26 @@
<else-if type="chapter paper-conference" match="any"> <else-if type="chapter paper-conference" match="any">
<text macro="title" prefix=" "/> <text macro="title" prefix=" "/>
<group prefix=" "> <group prefix=" ">
<text term="in" text-case="lowercase"/> <text term="in" text-case="capitalize-first" font-style="italic" suffix=":"/>
<names variable="editor" prefix=" " suffix="," delimiter=", "> <names variable="editor" delimiter=", " prefix=" " suffix=".">
<name and="symbol" sort-separator=", " initialize-with=". "/> <name and="text" delimiter-precedes-last="never" initialize-with=". ">
<label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/> <name-part name="family" text-case="uppercase"/>
</name>
<label form="short" text-case="lowercase" strip-periods="false" prefix=", "/>
</names> </names>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/> <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="]"/>
</if>
</choose>
</group>
<text variable="collection-title" prefix=" " suffix="."/> <text variable="collection-title" prefix=" " suffix="."/>
<group suffix="."> <group suffix=".">
<text macro="publisher" prefix=" "/> <text macro="publisher" prefix=" "/>
<group prefix=", "> <group prefix=", ">
<label variable="page" form="short" suffix=". " strip-periods="true"/> <label variable="page" form="short" suffix=" "/>
<text variable="page"/> <text variable="page"/>
</group> </group>
</group> </group>
Expand All @@ -161,13 +178,20 @@
<text macro="editor" prefix=" "/> <text macro="editor" prefix=" "/>
</group> </group>
<group prefix=" " suffix="."> <group prefix=" " suffix=".">
<text variable="container-title" font-style="italic"/> <group delimiter=" ">
<group prefix=", "> <text variable="container-title" font-style="italic"/>
<choose>
<if match="any" variable="URL">
<text term="online" form="long" plural="false" prefix="[" suffix="]"/>
</if>
</choose>
</group>
<group prefix=". ">
<text variable="volume" font-weight="bold"/> <text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/> <text variable="issue" prefix="(" suffix=")"/>
</group> </group>
<group prefix=", "> <group prefix=",">
<label variable="page" form="short" suffix="." strip-periods="true"/> <label variable="page" form="short"/>
<text variable="page"/> <text variable="page"/>
</group> </group>
</group> </group>
Expand Down

0 comments on commit cdc1b25

Please sign in to comment.