Skip to content

Commit 2d0de83

Browse files
fedormyskinadam3smith
authored andcommitted
Create dsh-harvard.csl (#4387)
1 parent 6324931 commit 2d0de83

File tree

1 file changed

+305
-0
lines changed

1 file changed

+305
-0
lines changed
Lines changed: 305 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,305 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" and="text" demote-non-dropping-particle="sort-only" default-locale="en-GB" page-range-format="minimal">
3+
<info>
4+
<title>Digital Scholarship in the Humanities</title>
5+
<id>http://www.zotero.org/styles/digital-scholarship-in-the-humanities</id>
6+
<link href="http://www.zotero.org/styles/digital-scholarship-in-the-humanities" rel="self"/>
7+
<link href="http://www.zotero.org/styles/griffith-college-harvard" rel="template"/>
8+
<link href="https://academic.oup.com/dsh/pages/general_instructions#Typescript%20Text" rel="documentation"/>
9+
<author>
10+
<name>Federico Pianzola</name>
11+
</author>
12+
<category citation-format="author-date"/>
13+
<category field="humanities"/>
14+
<issn>2055-7671</issn>
15+
<eissn>2055-768X</eissn>
16+
<summary>Harvard variant for the journal Digital Scholarship in the Humanities.</summary>
17+
<updated>2019-11-01T23:09:26+00:00</updated>
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>
19+
</info>
20+
<locale xml:lang="en">
21+
<terms>
22+
<term name="editor" form="short">
23+
<single>ed.</single>
24+
<multiple>eds</multiple>
25+
</term>
26+
<term name="available at">available from</term>
27+
<term name="director">directed by</term>
28+
</terms>
29+
</locale>
30+
<macro name="editor">
31+
<names variable="editor" delimiter=" ">
32+
<name font-variant="normal" delimiter="" and="text" initialize-with="." name-as-sort-order="all"/>
33+
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
34+
</names>
35+
</macro>
36+
<macro name="anon">
37+
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
38+
</macro>
39+
<macro name="author">
40+
<names variable="author" font-weight="bold">
41+
<name suffix="." and="text" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
42+
<label form="short" text-case="lowercase" prefix=" (" suffix=")"/>
43+
<substitute>
44+
<names variable="editor"/>
45+
<names variable="translator"/>
46+
<text variable="title" text-case="title" suffix="."/>
47+
<text macro="anon" font-variant="small-caps"/>
48+
</substitute>
49+
</names>
50+
</macro>
51+
<macro name="author-short">
52+
<names variable="author">
53+
<name form="short" delimiter-precedes-last="never" initialize-with=". "/>
54+
<substitute>
55+
<names variable="editor"/>
56+
<names variable="translator"/>
57+
<text macro="anon"/>
58+
</substitute>
59+
</names>
60+
</macro>
61+
<macro name="title">
62+
<choose>
63+
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
64+
<text variable="title" text-case="title" font-style="italic"/>
65+
</if>
66+
<else>
67+
<text variable="title" text-case="title"/>
68+
</else>
69+
</choose>
70+
</macro>
71+
<macro name="publisher">
72+
<group delimiter=": ">
73+
<text variable="publisher-place" text-case="title"/>
74+
<text variable="publisher" text-case="title"/>
75+
</group>
76+
</macro>
77+
<macro name="year-date">
78+
<choose>
79+
<if variable="issued">
80+
<date variable="issued">
81+
<date-part name="year"/>
82+
</date>
83+
</if>
84+
<else>
85+
<group>
86+
<text term="no date" form="short"/>
87+
</group>
88+
</else>
89+
</choose>
90+
</macro>
91+
<macro name="edition">
92+
<choose>
93+
<if is-numeric="edition">
94+
<group delimiter=" ">
95+
<number text-case="lowercase" font-variant="normal" vertical-align="baseline" variable="edition" form="ordinal"/>
96+
<text term="edition" text-case="title"/>
97+
</group>
98+
</if>
99+
<else>
100+
<text variable="edition" text-case="lowercase" suffix="."/>
101+
</else>
102+
</choose>
103+
</macro>
104+
<macro name="locator">
105+
<choose>
106+
<if type="article-newspaper article-magazine interview" match="any">
107+
<date delimiter="" variable="issued">
108+
<date-part name="day" suffix=" "/>
109+
<date-part name="month"/>
110+
</date>
111+
</if>
112+
<else-if type="article-magazine article-newspaper" match="any">
113+
<choose>
114+
<if match="any" variable="URL">
115+
<text variable="URL"/>
116+
<group>
117+
<text term="accessed"/>
118+
<date form="text" variable="accessed">
119+
<date-part name="day"/>
120+
<date-part name="month"/>
121+
<date-part name="year"/>
122+
</date>
123+
</group>
124+
</if>
125+
</choose>
126+
</else-if>
127+
</choose>
128+
</macro>
129+
<macro name="pages">
130+
<group>
131+
<label variable="page" form="short" suffix=" "/>
132+
<text variable="page"/>
133+
</group>
134+
</macro>
135+
<macro name="access">
136+
<choose>
137+
<if match="all" variable="DOI">
138+
<text variable="DOI"/>
139+
</if>
140+
<else-if match="all" variable="URL">
141+
<text variable="URL"/>
142+
<group delimiter=":" prefix=" (" suffix=")">
143+
<text term="accessed"/>
144+
<date form="text" variable="accessed">
145+
<date-part name="day"/>
146+
<date-part name="month"/>
147+
<date-part name="year"/>
148+
</date>
149+
</group>
150+
</else-if>
151+
</choose>
152+
</macro>
153+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
154+
<sort>
155+
<key variable="issued"/>
156+
</sort>
157+
<layout prefix="(" suffix=")" delimiter="; ">
158+
<choose>
159+
<if type="motion_picture broadcast" match="any">
160+
<group delimiter=", ">
161+
<text macro="title" strip-periods="true"/>
162+
<text macro="year-date"/>
163+
</group>
164+
</if>
165+
<else>
166+
<group delimiter=", ">
167+
<group delimiter=", ">
168+
<text macro="author-short" text-case="capitalize-first"/>
169+
<text macro="year-date"/>
170+
</group>
171+
<group>
172+
<label variable="locator" form="short"/>
173+
<text variable="locator"/>
174+
</group>
175+
</group>
176+
</else>
177+
</choose>
178+
</layout>
179+
</citation>
180+
<bibliography hanging-indent="false" et-al-min="4" et-al-use-first="1">
181+
<sort>
182+
<key macro="author"/>
183+
<key variable="title"/>
184+
</sort>
185+
<layout suffix=".">
186+
<choose>
187+
<if type="motion_picture" match="any">
188+
<group delimiter=" ">
189+
<text variable="title" text-case="title" font-style="italic"/>
190+
<group delimiter=" ">
191+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
192+
<text variable="genre" text-case="capitalize-first" prefix="[" suffix="]"/>
193+
<text term="director" text-case="capitalize-first"/>
194+
<text macro="author"/>
195+
<text variable="medium" text-case="title" prefix="[" suffix="]."/>
196+
<text macro="access"/>
197+
</group>
198+
<text macro="publisher"/>
199+
</group>
200+
</if>
201+
<else-if type="broadcast" match="any">
202+
<group delimiter=". ">
203+
<text variable="title" text-case="title" quotes="true"/>
204+
<group delimiter=" ">
205+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
206+
<text variable="container-title" text-case="title" font-style="italic" suffix="."/>
207+
<text variable="number" text-case="title" suffix="."/>
208+
<text variable="medium" text-case="title" prefix="[" suffix="]."/>
209+
<text variable="publisher-place" text-case="title" suffix=":"/>
210+
<text variable="publisher" text-case="title"/>
211+
</group>
212+
</group>
213+
</else-if>
214+
<else>
215+
<group delimiter=" ">
216+
<text macro="author"/>
217+
<date variable="issued" prefix="(" suffix=").">
218+
<date-part name="year"/>
219+
</date>
220+
<text variable="number" prefix="(" suffix=")"/>
221+
</group>
222+
<choose>
223+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
224+
<group delimiter=". " prefix=" " suffix=".">
225+
<text macro="title"/>
226+
<text macro="edition"/>
227+
<text macro="editor"/>
228+
<text variable="medium" text-case="title" prefix="[" suffix="]"/>
229+
<text variable="archive"/>
230+
<text macro="publisher"/>
231+
</group>
232+
</if>
233+
<else-if type="chapter paper-conference" match="any">
234+
<text macro="title" prefix=" " suffix="."/>
235+
<group prefix=" " delimiter=" ">
236+
<text term="in" text-case="capitalize-first"/>
237+
<text macro="editor" suffix=","/>
238+
<text variable="container-title" text-case="title" font-style="italic" suffix="."/>
239+
<text variable="collection-title" suffix="."/>
240+
<text variable="event" suffix="."/>
241+
<group suffix="." delimiter=", " prefix=" ">
242+
<text macro="publisher"/>
243+
<text macro="pages"/>
244+
</group>
245+
</group>
246+
</else-if>
247+
<else-if type="thesis">
248+
<group prefix=" " suffix="." delimiter=". ">
249+
<text macro="title"/>
250+
<text variable="genre" text-case="title" prefix="[" suffix=" Thesis]"/>
251+
<text macro="publisher"/>
252+
</group>
253+
</else-if>
254+
<else-if type="article" match="any"/>
255+
<else-if type="webpage post-weblog" match="any">
256+
<group delimiter=" ">
257+
<group delimiter=". " prefix=" ">
258+
<text variable="title" text-case="title" strip-periods="false" quotes="false" font-style="italic" suffix="."/>
259+
<text variable="container-title" strip-periods="false" quotes="false" font-style="italic" suffix=". "/>
260+
</group>
261+
</group>
262+
</else-if>
263+
<else>
264+
<group suffix=".">
265+
<text macro="title" prefix=" "/>
266+
<text macro="editor" prefix=" "/>
267+
</group>
268+
<group delimiter=", " prefix=" " suffix=".">
269+
<text variable="container-title" text-case="title" font-style="italic"/>
270+
<group>
271+
<text variable="volume" font-weight="bold"/>
272+
<text variable="issue" prefix="(" suffix=")"/>
273+
</group>
274+
<text macro="locator" prefix=" "/>
275+
<group delimiter=" " prefix=" ">
276+
<label variable="page" form="short"/>
277+
<text variable="page"/>
278+
</group>
279+
</group>
280+
<text variable="genre" prefix="[" suffix="]"/>
281+
</else>
282+
</choose>
283+
<group>
284+
<choose>
285+
<if match="all" variable="DOI">
286+
<text variable="DOI" prefix=" "/>
287+
</if>
288+
<else-if variable="URL">
289+
<text variable="URL"/>
290+
<group prefix=" (" suffix=")">
291+
<text term="accessed" suffix=" "/>
292+
<date form="text" variable="accessed">
293+
<date-part name="day"/>
294+
<date-part name="month"/>
295+
<date-part name="year"/>
296+
</date>
297+
</group>
298+
</else-if>
299+
</choose>
300+
</group>
301+
</else>
302+
</choose>
303+
</layout>
304+
</bibliography>
305+
</style>

0 commit comments

Comments
 (0)