Permalink
Browse files

Merge pull request #463 from robash/master

Updates to harvard-university-of-the-west-of-england.csl
  • Loading branch information...
2 parents 8a6a2d4 + 32d1d78 commit e8c576172ba0f05fe60f82cc57f402760e4756a6 @adam3smith adam3smith committed Apr 7, 2013
Showing with 28 additions and 14 deletions.
  1. +28 −14 harvard-university-of-the-west-of-england.csl
@@ -45,18 +45,32 @@
</names>
</macro>
<macro name="access">
- <group>
- <text variable="URL" prefix="Available from: "/>
- <text variable="DOI" prefix="doi:" 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="year"/>
- </date>
- </group>
- </group>
+ <choose>
+ <if type="article-journal book" match="none">
+ <group>
+ <text variable="URL" prefix="Available from: "/>
+ <text variable="DOI" prefix="doi:"/>
+ <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>
+ <else>
+ <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>
+ </else>
+ </choose>
</macro>
<macro name="title">
<choose>
@@ -101,7 +115,7 @@
</choose>
</macro>
<macro name="pages">
- <group>
+ <group prefix="pp. ">
<text variable="page"/>
</group>
</macro>
@@ -173,7 +187,7 @@
<group suffix=".">
<text macro="title" prefix=" "/>
<text macro="editor" prefix=" "/>
- <text macro="online" prefix=" "/>
+ <text macro="online" prefix=" "/>
</group>
<choose>
<if variable="author" match="any">

0 comments on commit e8c5761

Please sign in to comment.