-
Notifications
You must be signed in to change notification settings - Fork 0
/
mla.csl
280 lines (280 loc) · 9.21 KB
/
mla.csl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" page-range-format="minimal-two">
<info>
<title>Modern Language Association 8th edition</title>
<title-short>MLA</title-short>
<id>http://www.zotero.org/styles/modern-language-association</id>
<link href="http://www.zotero.org/styles/modern-language-association" rel="self"/>
<link href="http://style.mla.org" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>This style adheres to the MLA 8th edition handbook. Follows the structure of references as outlined in the MLA Manual closely</summary>
<updated>2018-12-13T20:05:10+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
<date form="text">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" " form="short"/>
<date-part name="year"/>
</date>
<terms>
<term name="month-01" form="short">Jan.</term>
<term name="month-02" form="short">Feb.</term>
<term name="month-03" form="short">Mar.</term>
<term name="month-04" form="short">Apr.</term>
<term name="month-05" form="short">May</term>
<term name="month-06" form="short">June</term>
<term name="month-07" form="short">July</term>
<term name="month-08" form="short">Aug.</term>
<term name="month-09" form="short">Sept.</term>
<term name="month-10" form="short">Oct.</term>
<term name="month-11" form="short">Nov.</term>
<term name="month-12" form="short">Dec.</term>
<term name="translator" form="short">trans.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" delimiter-precedes-last="always" delimiter-precedes-et-al="always" initialize="false" initialize-with=". "/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<group delimiter=", ">
<names variable="author">
<name form="short" initialize-with=". " and="text"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title-short"/>
</substitute>
</names>
<choose>
<if disambiguate="true">
<text macro="title-short"/>
</if>
</choose>
</group>
</macro>
<macro name="title">
<choose>
<if variable="container-title" match="any">
<text variable="title" quotes="true" text-case="title"/>
</if>
<else>
<text variable="title" font-style="italic" text-case="title"/>
</else>
</choose>
</macro>
<macro name="title-short">
<choose>
<if variable="container-title" match="any">
<text variable="title" form="short" quotes="true" text-case="title"/>
</if>
<else>
<text variable="title" form="short" font-style="italic" text-case="title"/>
</else>
</choose>
</macro>
<macro name="container-title">
<text variable="container-title" font-style="italic" text-case="title"/>
</macro>
<macro name="other-contributors">
<group delimiter=", ">
<choose>
<if variable="container-title" match="any">
<names variable="illustrator interviewer editor translator" delimiter=", ">
<label form="verb" suffix=" "/>
<name and="text"/>
</names>
</if>
<else>
<names variable="illustrator interviewer editor translator" delimiter=", ">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</else>
</choose>
<names variable="director">
<label form="verb" suffix=" " text-case="capitalize-first"/>
<name and="text"/>
</names>
</group>
</macro>
<macro name="version">
<group delimiter=", ">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" text-case="capitalize-first"/>
</else>
</choose>
<text variable="version"/>
</group>
</macro>
<macro name="number">
<group delimiter=", ">
<group>
<choose>
<!--lowercase if we have a preceding element-->
<if variable="edition container-title" match="any">
<group delimiter=" ">
<text term="volume" form="short"/>
<text variable="volume"/>
</group>
</if>
<!--other contributors preceding the volume-->
<else-if variable="author editor" match="all">
<group delimiter=" ">
<text term="volume" form="short"/>
<text variable="volume"/>
</group>
</else-if>
<else>
<group delimiter=" ">
<text term="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</else>
</choose>
</group>
<group delimiter=" ">
<text term="issue" form="short"/>
<text variable="issue"/>
</group>
<choose>
<if type="report">
<text variable="genre"/>
</if>
</choose>
<text variable="number"/>
</group>
</macro>
<macro name="publisher">
<text variable="publisher"/>
</macro>
<macro name="publication-date">
<choose>
<if type="book chapter paper-conference motion_picture" match="any">
<date variable="issued" form="numeric" date-parts="year"/>
</if>
<else-if type="article-journal article-magazine" match="any">
<date variable="issued" form="text" date-parts="year-month"/>
</else-if>
<else-if type="speech" match="none">
<date variable="issued" form="text"/>
</else-if>
</choose>
</macro>
<macro name="location">
<group delimiter=", ">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
<choose>
<if variable="source" match="none">
<text macro="URI"/>
</if>
</choose>
</group>
</macro>
<macro name="container2-title">
<group delimiter=", ">
<choose>
<if type="speech">
<text variable="event"/>
<date variable="event-date" form="text"/>
<text variable="event-place"/>
</if>
</choose>
<text variable="archive"/>
<text variable="archive-place"/>
<text variable="archive_location"/>
</group>
</macro>
<macro name="container2-location">
<choose>
<if variable="source">
<choose>
<if variable="DOI URL" match="any">
<group delimiter=", ">
<text variable="source" font-style="italic"/>
<text macro="URI"/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="URI">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
<else>
<text variable="URL"/>
</else>
</choose>
</macro>
<macro name="accessed">
<!--using accessed where we don't have an issued date; follows recommendation on p. 53 -->
<choose>
<if variable="issued" match="none">
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter=", ">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" second-field-align="flush" line-spacing="2" et-al-min="7" et-al-use-first="5">
<layout suffix=".">
<text variable="citation-number" font-weight="bold" suffix=". "/>
<group delimiter=". ">
<text macro="author"/>
<text macro="title"/>
<date variable="original-date" form="numeric" date-parts="year"/>
<group delimiter=", ">
<!---This group corresponds to MLA's "Container 1"-->
<text macro="container-title"/>
<text macro="other-contributors"/>
<text macro="version"/>
<text macro="number"/>
<text macro="publisher"/>
<text macro="publication-date"/>
<text macro="location"/>
</group>
<group delimiter=", ">
<!---This group corresponds to MLA's "Container 2"-->
<!--currently just using this one for archival info-->
<text macro="container2-title"/>
<text macro="container2-location"/>
</group>
<text macro="accessed"/>
</group>
</layout>
</bibliography>
</style>