Skip to content

Commit 79a5d9c

Browse files
authored
Switch MLA to 9th edition (#5561)
Currently only changes DOI format. Looking at changes, the other thing might be about adding format/medium, but that can wait * remove MLA 8 from renamed-styles
1 parent 011fef3 commit 79a5d9c

3 files changed

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

modern-language-association.csl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" page-range-format="minimal-two">
33
<info>
4-
<title>Modern Language Association 8th edition</title>
4+
<title>Modern Language Association 9th edition</title>
55
<title-short>MLA</title-short>
66
<id>http://www.zotero.org/styles/modern-language-association</id>
77
<link href="http://www.zotero.org/styles/modern-language-association" rel="self"/>
@@ -11,8 +11,8 @@
1111
</author>
1212
<category citation-format="author"/>
1313
<category field="generic-base"/>
14-
<summary>This style adheres to the MLA 8th edition handbook. Follows the structure of references as outlined in the MLA Manual closely</summary>
15-
<updated>2018-12-13T20:05:10+00:00</updated>
14+
<summary>This style adheres to the MLA 9th edition handbook. Follows the structure of references as outlined in the MLA Manual closely</summary>
15+
<updated>2021-07-13T20:05:10+00:00</updated>
1616
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
1717
</info>
1818
<locale xml:lang="en">
@@ -252,7 +252,7 @@
252252
<macro name="URI">
253253
<choose>
254254
<if variable="DOI">
255-
<text variable="DOI" prefix="doi:"/>
255+
<text variable="DOI" prefix="https://doi.org/"/>
256256
</if>
257257
<else>
258258
<text variable="URL"/>

renamed-styles.json

-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@
409409
"mla-notes": "modern-language-association-6th-edition-note",
410410
"mla-underline": "modern-language-association-7th-edition-underline",
411411
"mla-url": "modern-language-association-7th-edition-with-url",
412-
"modern-language-association-8th-edition": "modern-language-association",
413412
"modern-language-association-note": "modern-language-association-6th-edition-note",
414413
"modern-language-association-underline": "modern-language-association-7th-edition-underline",
415414
"modern-language-association-with-url": "modern-language-association-7th-edition-with-url",

0 commit comments

Comments
 (0)