Skip to content
This repository
Browse code

Updates to harvard-university-of-the-west-of-england.csl

- Changed the access macro so that the URL or DOI are not shown for
electronic articles or books.
- Prefixed page numbers with pp.
- Removed the online macro for webpages.
- Other punctuation tweaks.

For examples see
http://www2.uwe.ac.uk/services/library/help/printable%20library%20guides
/9-uwe-harvard.pdf
  • Loading branch information...
commit 32d1d78dba34544bd2065ad7f641e89864fd89fc 1 parent 7d4f539
Robin Ashford authored April 07, 2013
42  harvard-university-of-the-west-of-england.csl
@@ -45,18 +45,32 @@
45 45
     </names>
46 46
   </macro>
47 47
   <macro name="access">
48  
-    <group>
49  
-      <text variable="URL" prefix="Available from: "/>
50  
-      <text variable="DOI" prefix="doi:" suffix=""/>
51  
-      <group prefix=" [" suffix="]">
52  
-        <text term="accessed" text-case="capitalize-first" suffix=": "/>
53  
-        <date variable="accessed">
54  
-          <date-part name="day" suffix=" "/>
55  
-          <date-part name="month" suffix=" "/>
56  
-          <date-part name="year"/>
57  
-        </date>
58  
-      </group>
59  
-    </group>
  48
+    <choose>
  49
+      <if type="article-journal book" match="none">
  50
+        <group>
  51
+          <text variable="URL" prefix="Available from: "/>
  52
+          <text variable="DOI" prefix="doi:"/>
  53
+          <group prefix=" [" suffix="]">
  54
+            <text term="accessed" text-case="capitalize-first" suffix=" "/>
  55
+            <date variable="accessed">
  56
+              <date-part name="day" suffix=" "/>
  57
+              <date-part name="month" suffix=" "/>
  58
+              <date-part name="year"/>
  59
+            </date>
  60
+          </group>
  61
+        </group>
  62
+      </if>
  63
+      <else>
  64
+        <group prefix="[" suffix="]">
  65
+          <text term="accessed" text-case="capitalize-first" suffix=" "/>
  66
+          <date variable="accessed">
  67
+            <date-part name="day" suffix=" "/>
  68
+            <date-part name="month" suffix=" "/>
  69
+            <date-part name="year"/>
  70
+          </date>
  71
+        </group>
  72
+      </else>
  73
+    </choose>
60 74
   </macro>
61 75
   <macro name="title">
62 76
     <choose>
@@ -101,7 +115,7 @@
101 115
     </choose>
102 116
   </macro>
103 117
   <macro name="pages">
104  
-    <group>
  118
+    <group prefix="pp. ">
105 119
       <text variable="page"/>
106 120
     </group>
107 121
   </macro>
@@ -173,7 +187,7 @@
173 187
           <group suffix=".">
174 188
             <text macro="title" prefix=" "/>
175 189
             <text macro="editor" prefix=" "/>
176  
-            <text macro="online" prefix=" "/>
  190
+            <text macro="online" prefix=" "/>            
177 191
           </group>
178 192
           <choose>
179 193
             <if variable="author" match="any">

0 notes on commit 32d1d78

Please sign in to comment.
Something went wrong with that request. Please try again.