Skip to content

Commit

Permalink
Update harvard-imperial-college-london.csl (#5643)
Browse files Browse the repository at this point in the history
  • Loading branch information
simomac committed Nov 8, 2021
1 parent 2d4db76 commit ebe0787
Showing 1 changed file with 28 additions and 31 deletions.
59 changes: 28 additions & 31 deletions harvard-imperial-college-london.csl
@@ -1,5 +1,5 @@
<?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">
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" demote-non-dropping-particle="sort-only" page-range-format="expanded" default-locale="en-GB">
<info>
<title>Imperial College London - Harvard</title>
<id>http://www.zotero.org/styles/harvard-imperial-college-london</id>
Expand All @@ -8,15 +8,18 @@
<author>
<name>Lawrence Greenfield</name>
</author>
<contributor>
<name>S. Mackenzie</name>
</contributor>
<category citation-format="author-date"/>
<category field="medicine"/>
<summary>Harvard author-date style edited for Imperial College London</summary>
<updated>2017-04-27T21:09:20+00:00</updated>
<summary>Harvard style from Imperial College London Library - 2021</summary>
<updated>2021-09-28T14:37:15+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=", "/>
<name and="symbol" initialize-with="."/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</macro>
Expand All @@ -25,7 +28,6 @@
</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"/>
Expand All @@ -36,7 +38,6 @@
<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"/>
Expand All @@ -47,7 +48,6 @@
<choose>
<if variable="URL DOI" match="any">
<group>
<text value="Available from: "/>
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
Expand All @@ -57,12 +57,16 @@
</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>
<choose>
<if type="webpage" match="any">
<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>
</if>
</choose>
</group>
</group>
</if>
Expand All @@ -83,8 +87,11 @@
</macro>
<macro name="publisher">
<group delimiter=", " suffix=".">
<text variable="publisher-place"/>
<text variable="publisher"/>
<choose>
<if type="report" match="none">
<text variable="publisher"/>
</if>
</choose>
</group>
</macro>
<macro name="year-date">
Expand Down Expand Up @@ -114,16 +121,13 @@
</macro>
<macro name="pages">
<group>
<text variable="page"/>
<choose>
<if type="book" match="none">
<text variable="page"/>
</if>
</choose>
</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">
Expand Down Expand Up @@ -155,7 +159,7 @@
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="5" et-al-use-first="4">
<bibliography et-al-min="19" et-al-use-first="5">
<sort>
<key macro="author"/>
<key variable="title"/>
Expand All @@ -169,15 +173,13 @@
<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"/>
<text macro="edition"/>
<text macro="online"/>
</group>
<group prefix=" " delimiter=". " suffix=".">
<date variable="issued">
Expand All @@ -198,7 +200,6 @@
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
</if>
</choose>
<text macro="online" prefix=" "/>
<group prefix=" " suffix="." delimiter=", ">
<group delimiter=" ">
<text variable="volume"/>
Expand All @@ -217,8 +218,6 @@
<text variable="collection-number"/>
</group>
<text macro="edition"/>
<text macro="editor"/>
<text macro="online"/>
<text macro="publisher"/>
</group>
</else-if>
Expand All @@ -230,7 +229,6 @@
<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"/>
Expand All @@ -243,7 +241,6 @@
<text macro="editor"/>
</group>
<text variable="container-title" font-style="italic" prefix=" " suffix="."/>
<text macro="online" prefix=" " suffix=". "/>
<group suffix="." delimiter=" ">
<group>
<text variable="volume"/>
Expand Down

0 comments on commit ebe0787

Please sign in to comment.