git.iko.soy/typeable/pandoc
on rc/2.11.3.1 help sign in
typeable/pandoc/test/command/sage-harvard.csl
202 lines 6.6 kB history raw
1<?xml version="1.0" encoding="utf-8"?>
2<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" default-locale="en-GB">
3 <info>
4 <title>SAGE - Harvard</title>
5 <id>http://www.zotero.org/styles/sage-harvard</id>
6 <link href="http://www.zotero.org/styles/sage-harvard" rel="self"/>
7 <link href="http://www.zotero.org/styles/the-open-university-harvard" rel="template"/>
8 <link href="http://www.uk.sagepub.com/repository/binaries/pdf/SAGE_Harvard_reference_style.pdf" rel="documentation"/>
9 <author>
10 <name>Joseph Reagle</name>
11 </author>
12 <category citation-format="author-date"/>
13 <category field="generic-base"/>
14 <summary>The SAGE Harvard author-date style</summary>
15 <updated>2012-09-27T22:06:38+00:00</updated>
16 <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
17 </info>
18 <locale xml:lang="en-GB">
19 <terms>
20 <term name="editor" form="short">
21 <single>ed.</single>
22 <multiple>eds</multiple>
23 </term>
24 </terms>
25 </locale>
26 <macro name="editor">
27 <names variable="editor" delimiter=", ">
28 <name and="text" initialize-with="" delimiter=", " sort-separator=" " name-as-sort-order="all"/>
29 <label form="short" prefix=" (" suffix=")"/>
30 </names>
31 </macro>
32 <macro name="author">
33 <names variable="author">
34 <name initialize-with="" name-as-sort-order="all" and="text" sort-separator=" " delimiter=", " delimiter-precedes-last="never" form="long"/>
35 <label form="short" prefix=" (" suffix=")"/>
36 <substitute>
37 <names variable="editor"/>
38 <names variable="translator"/>
39 <text variable="container-title" font-style="italic"/>
40 <text macro="title"/>
41 </substitute>
42 </names>
43 </macro>
44 <macro name="author-count">
45 <names variable="author">
46 <name form="count"/>
47 <substitute>
48 <names variable="editor"/>
49 </substitute>
50 </names>
51 </macro>
52 <macro name="author-short">
53 <names variable="author">
54 <name form="short" and="text" delimiter=", " delimiter-precedes-last="never" initialize-with=""/>
55 <substitute>
56 <names variable="editor"/>
57 <names variable="translator"/>
58 <text variable="container-title" font-style="italic"/>
59 <text macro="title"/>
60 </substitute>
61 </names>
62 </macro>
63 <macro name="access">
64 <choose>
65 <if variable="URL">
66 <text value="Available from: "/>
67 <text variable="URL"/>
68 <group prefix=" (" delimiter=" " suffix=")">
69 <text term="accessed"/>
70 <date variable="accessed">
71 <date-part name="day" suffix=" "/>
72 <date-part name="month" suffix=" "/>
73 <date-part name="year"/>
74 </date>
75 </group>
76 </if>
77 </choose>
78 </macro>
79 <macro name="title">
80 <choose>
81 <if type="bill book graphic legal_case motion_picture report song" match="any">
82 <text variable="title" font-style="italic"/>
83 </if>
84 <else>
85 <text variable="title"/>
86 </else>
87 </choose>
88 </macro>
89 <macro name="publisher">
90 <group delimiter=": ">
91 <text variable="publisher-place"/>
92 <text variable="publisher"/>
93 </group>
94 </macro>
95 <macro name="year-date">
96 <choose>
97 <if variable="issued">
98 <date variable="issued">
99 <date-part name="year"/>
100 </date>
101 </if>
102 <else>
103 <text term="no date" form="short"/>
104 </else>
105 </choose>
106 </macro>
107 <macro name="locator">
108 <choose>
109 <if type="article-journal">
110 <text variable="volume"/>
111 <text variable="issue" prefix="(" suffix=")"/>
112 </if>
113 </choose>
114 </macro>
115 <macro name="published-date">
116 <choose>
117 <if type="article-newspaper">
118 <date variable="issued">
119 <date-part name="day" form="ordinal" suffix=" "/>
120 <date-part name="month" form="long"/>
121 </date>
122 </if>
123 </choose>
124 </macro>
125 <macro name="pages">
126 <choose>
127 <if type="chapter paper-conference" match="any">
128 <group delimiter=" " prefix=", ">
129 <label variable="page" form="short" suffix=" "/>
130 <text variable="page"/>
131 </group>
132 </if>
133 <else-if type="article-journal">
134 <text variable="page" prefix=": "/>
135 </else-if>
136 </choose>
137 </macro>
138 <macro name="edition">
139 <choose>
140 <if is-numeric="edition">
141 <group delimiter=" ">
142 <number variable="edition" form="ordinal"/>
143 <text term="edition" form="short"/>
144 </group>
145 </if>
146 <else>
147 <text variable="edition" suffix="."/>
148 </else>
149 </choose>
150 </macro>
151 <macro name="container-prefix">
152 <choose>
153 <if type="chapter paper-conference" match="any">
154 <text term="in" text-case="capitalize-first" suffix=": "/>
155 </if>
156 </choose>
157 </macro>
158 <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" collapse="year">
159 <sort>
160 <key macro="author-short"/>
161 <key macro="year-date"/>
162 </sort>
163 <layout prefix="(" suffix=")" delimiter="; ">
164 <group delimiter=": ">
165 <group delimiter=", ">
166 <text macro="author-short"/>
167 <text macro="year-date"/>
168 </group>
169 <text variable="locator"/>
170 </group>
171 </layout>
172 </citation>
173 <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="3">
174 <sort>
175 <key macro="author" names-min="1" names-use-first="1"/>
176 <key macro="author-count" names-min="3" names-use-first="3"/>
177 <key macro="author" names-min="3" names-use-first="1"/>
178 <key macro="year-date"/>
179 <key variable="title"/>
180 </sort>
181 <layout suffix=".">
182 <group delimiter=" ">
183 <text macro="author"/>
184 <text macro="year-date" prefix="(" suffix=")"/>
185 <text macro="title" suffix="."/>
186 <text macro="edition"/>
187 <text macro="container-prefix"/>
188 <group delimiter=", ">
189 <text macro="editor"/>
190 <text variable="container-title" font-style="italic"/>
191 <text variable="collection-title"/>
192 <text variable="genre"/>
193 <text macro="publisher"/>
194 <text macro="published-date"/>
195 </group>
196 <text macro="locator"/>
197 </group>
198 <text macro="pages"/>
199 <text macro="access" prefix=". "/>
200 </layout>
201 </bibliography>
202</style>