Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 195 lines (194 sloc) 6.91 kb
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
1 <?xml version="1.0" encoding="utf-8"?>
415a890 @rmzelle Rename some harvard styles.
rmzelle authored
2 <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
61a6f0f @rmzelle Small touch ups.
rmzelle authored
3 <info>
4 <title>Harvard - Cardiff University</title>
415a890 @rmzelle Rename some harvard styles.
rmzelle authored
5 <id>http://www.zotero.org/styles/harvard-cardiff-university</id>
6 <link href="http://www.zotero.org/styles/harvard-cardiff-university" rel="self"/>
27041e5 @rmzelle Reorder elements in cs:info section, using csl-reorder-info2.py from …
rmzelle authored
7 <link href="http://www.cardiff.ac.uk/insrv/resources/guides/inf057.pdf" rel="documentation"/>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
8 <author>
9 <name>Zoe Young</name>
10 </author>
5902b30 @rmzelle Update harvard-cardiff-university.csl
rmzelle authored
11 <author>
12 <name>Lewys Peters</name>
13 </author>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
14 <category citation-format="author-date"/>
15 <category field="generic-base"/>
16 <summary>The Harvard author-date style - adapted for Cardiff University</summary>
27041e5 @rmzelle Reorder elements in cs:info section, using csl-reorder-info2.py from …
rmzelle authored
17 <updated>2012-02-07T01:46:04+00:00</updated>
becab91 @rmzelle Update to use "license" attribute on cs:rights.
rmzelle authored
18 <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
19 </info>
20 <macro name="editor">
21 <names variable="editor" delimiter=", ">
22 <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", "/>
23 <label form="short" prefix=" " text-case="lowercase" suffix="." strip-periods="true"/>
24 </names>
25 </macro>
26 <macro name="anon">
27 <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
28 </macro>
29 <macro name="author">
30 <names variable="author">
31 <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
32 <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
33 <substitute>
34 <names variable="editor"/>
35 <text macro="anon"/>
36 </substitute>
37 </names>
38 </macro>
39 <macro name="author-short">
40 <names variable="author">
41 <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
42 <substitute>
43 <names variable="editor"/>
44 <names variable="translator"/>
45 <text macro="anon"/>
46 </substitute>
47 </names>
48 </macro>
49 <macro name="access">
50 <choose>
51 <if variable="URL">
52 <text value="Available at: "/>
53 <text variable="URL" prefix="" suffix=""/>
54 <group prefix=" [" suffix="]">
55 <text value="Accessed:" text-case="capitalize-first" suffix=" "/>
56 <date variable="accessed">
57 <date-part name="day" suffix=" "/>
58 <date-part name="month" suffix=" "/>
59 <date-part name="year"/>
60 </date>
61 </group>
62 </if>
63 </choose>
64 </macro>
65 <macro name="title">
66 <choose>
b0256fd @fbennett Sort modified attribute value lists alphabetically.
fbennett authored
67 <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
61a6f0f @rmzelle Small touch ups.
rmzelle authored
68 <text variable="title" font-style="italic"/>
69 </if>
70 <else>
71 <text variable="title"/>
72 </else>
73 </choose>
74 </macro>
75 <macro name="publisher">
76 <group delimiter=": ">
77 <text variable="publisher-place"/>
78 <text variable="publisher"/>
79 </group>
80 </macro>
81 <macro name="year-date">
82 <choose>
83 <if variable="issued">
84 <date variable="issued">
85 <date-part name="year"/>
86 </date>
87 </if>
88 <else>
89 <text term="no date" form="short"/>
90 </else>
91 </choose>
92 </macro>
93 <macro name="edition">
94 <choose>
95 <if is-numeric="edition">
96 <group delimiter=" ">
97 <number variable="edition" form="ordinal"/>
98 <text term="edition" form="short" suffix="." strip-periods="true"/>
99 </group>
100 </if>
101 <else>
102 <text variable="edition" suffix="."/>
103 </else>
104 </choose>
105 </macro>
106 <macro name="pages">
107 <group>
108 <label variable="page" form="short" suffix=" "/>
109 <text variable="page"/>
110 </group>
111 </macro>
112 <citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
113 <layout prefix="(" suffix=")" delimiter="; ">
114 <group delimiter=" ">
115 <text macro="author-short"/>
116 <text macro="year-date"/>
117 <group>
118 <label variable="locator" suffix="." form="short" strip-periods="true"/>
119 <text variable="locator"/>
120 </group>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
121 </group>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
122 </layout>
123 </citation>
5902b30 @rmzelle Update harvard-cardiff-university.csl
rmzelle authored
124 <bibliography et-al-min="3" et-al-use-first="7" hanging-indent="false">
61a6f0f @rmzelle Small touch ups.
rmzelle authored
125 <sort>
126 <key macro="author"/>
127 <key variable="title"/>
128 </sort>
129 <layout>
130 <text macro="author"/>
131 <date variable="issued" prefix=" " suffix=".">
132 <date-part name="year"/>
133 </date>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
134 <choose>
b0256fd @fbennett Sort modified attribute value lists alphabetically.
fbennett authored
135 <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
61a6f0f @rmzelle Small touch ups.
rmzelle authored
136 <group prefix=" " delimiter=". " suffix=".">
137 <text macro="title"/>
138 <text macro="edition"/>
139 <text macro="editor"/>
140 <text macro="publisher"/>
141 </group>
142 </if>
143 <else-if type="chapter paper-conference" match="any">
144 <text macro="title" prefix=" " suffix="."/>
03a0be7 @rmzelle Restore spaces that were erroneously deleted by jEdit's XML Indent fu…
rmzelle authored
145 <group prefix=" " delimiter=" ">
61a6f0f @rmzelle Small touch ups.
rmzelle authored
146 <text term="in" text-case="capitalize-first" suffix=":"/>
147 <text macro="editor"/>
148 <text variable="container-title" font-style="italic" suffix="."/>
149 <text variable="collection-title" suffix="."/>
150 <text macro="edition"/>
151 <group suffix="." delimiter=", ">
152 <text macro="publisher"/>
153 <text macro="pages"/>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
154 </group>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
155 </group>
156 </else-if>
157 <else-if type="thesis">
158 <group prefix=" " delimiter=". " suffix=".">
159 <text macro="title"/>
160 <text macro="edition"/>
161 <text variable="genre"/>
162 <text macro="publisher"/>
163 </group>
164 </else-if>
165 <else-if type="webpage">
166 <group prefix=" " suffix=".">
167 <text macro="title" suffix=" [Online]."/>
168 <text macro="edition"/>
169 <text prefix=" " macro="access" suffix="."/>
170 </group>
171 </else-if>
172 <else>
173 <group suffix=".">
174 <text macro="title" prefix=" "/>
175 <text macro="editor" prefix=" "/>
176 </group>
177 <group prefix=" " suffix=".">
178 <text variable="container-title" font-style="italic"/>
179 <group prefix=" ">
180 <text variable="volume"/>
181 <text variable="issue" prefix="(" suffix=")"/>
923b7d8 @bdarcus bulk add, update of styles from upgrade script
bdarcus authored
182 </group>
61a6f0f @rmzelle Small touch ups.
rmzelle authored
183 <group prefix=", ">
184 <text macro="pages"/>
185 </group>
186 <group prefix=". ">
187 <text prefix=" " macro="access" suffix="."/>
188 </group>
189 </group>
190 </else>
191 </choose>
192 </layout>
193 </bibliography>
3c0a845 @rmzelle Reindenting.
rmzelle authored
194 </style>
Something went wrong with that request. Please try again.