Skip to content

Commit 0709b73

Browse files
authored
Update informal-logic.csl (JabRef#4831)
1 parent d18d133 commit 0709b73

File tree

1 file changed

+121
-82
lines changed

1 file changed

+121
-82
lines changed

informal-logic.csl

+121-82
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
<name>Waleed Mebane</name>
1111
</author>
1212
<category citation-format="author-date"/>
13-
<category field="humanities"/>
13+
<category field="communications"/>
14+
<category field="philosophy"/>
1415
<issn>0824-2577</issn>
1516
<eissn>2293-734X</eissn>
1617
<summary>Please note, this journal's style requires sentence case for all titles, but not for names of journals.
1718
But titles are not automatically converted to sentence case for the reason given at:
1819
https://citationstyles.org/authors/#titles-in-sentence-and-title-case
1920
"Automatic conversion of titles from title case to sentence case is much more error prone than the reverse. For example, conversion code would have to recognize that the word “Beagle” in the title-cased “The Voyage of the Beagle” is a proper noun, and leave it capitalized when converting the title to sentence case. ... For this reason, we recommend that you store all titles in your reference database in sentence case. Our repository CSL styles that need sentence case will generally just print titles as is, whereas styles that need title case will use an automatic title-case conversion."</summary>
20-
<updated>2019-12-30T00:33:00+00:00</updated>
21+
<updated>2020-05-18T21:45:00+00:00</updated>
2122
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
2223
</info>
2324
<locale xml:lang="en">
@@ -76,12 +77,19 @@
7677
</macro>
7778
<macro name="date-original">
7879
<group delimiter=" ">
79-
<date variable="issued">
80-
<date-part name="year"/>
81-
</date>
82-
<date variable="original-date" prefix="(" suffix=")">
83-
<date-part name="year"/>
84-
</date>
80+
<choose>
81+
<if variable="issued">
82+
<date variable="issued">
83+
<date-part name="year"/>
84+
</date>
85+
</if>
86+
<else>
87+
<group>
88+
<text term="no date" form="short"/>
89+
<text variable="year-suffix" prefix="-"/>
90+
</group>
91+
</else>
92+
</choose>
8593
</group>
8694
</macro>
8795
<macro name="date-m-d">
@@ -90,10 +98,18 @@
9098
<date-part name="day"/>
9199
</date>
92100
</macro>
101+
<macro name="url-accessed">
102+
<date variable="accessed" delimiter=" " prefix="URL accessed " suffix=": ">
103+
<date-part name="day"/>
104+
<date-part name="month"/>
105+
<date-part name="year"/>
106+
</date>
107+
<text variable="URL" form="short" prefix="&lt;" suffix="&gt;"/>
108+
</macro>
93109
<macro name="title">
94110
<choose>
95-
<if type="bill graphic legal_case legislation motion_picture song thesis webpage manuscript" match="any">
96-
<text variable="title" font-style="italic"/>
111+
<if type="bill graphic legal_case legislation motion_picture song thesis manuscript" match="any">
112+
<text variable="title" font-style="italic" text-case="capitalize-first"/>
97113
</if>
98114
<else-if type="book" match="any">
99115
<group delimiter=", ">
@@ -105,14 +121,23 @@
105121
</group>
106122
</else-if>
107123
<else>
108-
<text variable="title"/>
124+
<text variable="title" text-case="capitalize-first"/>
109125
</else>
110126
</choose>
111127
</macro>
112128
<macro name="container-title">
113129
<choose>
114130
<if type="paper-conference" match="any">
115-
<text variable="container-title" font-style="italic" text-case="capitalize-first" form="short"/>
131+
<choose>
132+
<if variable="volume">
133+
<!-- treat this case like journal article -->
134+
<text variable="container-title" font-style="italic" text-case="title" form="short"/>
135+
</if>
136+
<else>
137+
<text term="in" text-case="capitalize-first" suffix=" "/>
138+
<text variable="container-title" font-style="italic" text-case="capitalize-first" form="short"/>
139+
</else>
140+
</choose>
116141
</if>
117142
<else-if type="chapter" match="any">
118143
<text term="in" text-case="capitalize-first" suffix=" "/>
@@ -130,6 +155,9 @@
130155
<else-if type="report">
131156
<text variable="collection-title" font-style="italic" form="short"/>
132157
</else-if>
158+
<else>
159+
<text variable="container-title" font-style="italic" form="short"/>
160+
</else>
133161
</choose>
134162
</macro>
135163
<macro name="publisher">
@@ -159,43 +187,28 @@
159187
</group>
160188
<group delimiter=". ">
161189
<text variable="page"/>
162-
<text macro="status"/>
163190
</group>
164191
</group>
165192
</if>
166193
<else-if type="paper-conference" match="any">
167194
<choose>
168195
<if variable="volume">
196+
<!-- treat this case like journal article -->
169197
<group prefix=". ">
170198
<group suffix=":">
171199
<text variable="volume"/>
172200
<text variable="issue" prefix="(" suffix=")"/>
173201
</group>
174-
<choose>
175-
<if variable="page" match="any">
176-
<group delimiter=". ">
177-
<text variable="page"/>
178-
<text macro="status"/>
179-
</group>
180-
</if>
181-
<else>
182-
<text variable="URL" prefix=". "/>
183-
</else>
184-
</choose>
202+
<group delimiter=". ">
203+
<text variable="page"/>
204+
</group>
185205
</group>
186206
</if>
187-
<else>
188-
<choose>
189-
<if is-numeric="page" match="all">
190-
<group prefix=", ">
191-
<text variable="locator"/>
192-
</group>
193-
</if>
194-
<else>
195-
<text variable="page" prefix=". "/>
196-
</else>
197-
</choose>
198-
</else>
207+
<else-if variable="page">
208+
<group prefix=", ">
209+
<text variable="page"/>
210+
</group>
211+
</else-if>
199212
</choose>
200213
</else-if>
201214
<else-if type="chapter" match="any">
@@ -206,27 +219,37 @@
206219
<else-if type="article-magazine article-newspaper" match="any">
207220
<group delimiter=", ">
208221
<text macro="date-m-d"/>
209-
<choose>
210-
<if variable="page" match="any">
211-
<choose>
212-
<if is-numeric="page" match="all">
213-
<group prefix=", ">
214-
<text variable="page"/>
215-
</group>
216-
</if>
217-
<else>
218-
<text variable="page" prefix=". "/>
219-
</else>
220-
</choose>
221-
</if>
222-
<else>
223-
<text variable="URL" prefix=". "/>
224-
</else>
225-
</choose>
222+
<group prefix=", ">
223+
<text variable="page"/>
224+
</group>
226225
</group>
227226
</else-if>
227+
<else-if type="webpage" match="any">
228+
<text macro="url-accessed"/>
229+
</else-if>
228230
<else>
229-
<text variable="page"/>
231+
<choose>
232+
<if variable="volume">
233+
<!-- treat this case like journal article -->
234+
<group prefix=". ">
235+
<group suffix=":">
236+
<text variable="volume"/>
237+
<text variable="issue" prefix="(" suffix=")"/>
238+
</group>
239+
<group delimiter=". ">
240+
<text variable="page"/>
241+
</group>
242+
</group>
243+
</if>
244+
<else-if variable="page">
245+
<group delimiter=". ">
246+
<group prefix=", ">
247+
<text variable="page"/>
248+
</group>
249+
<text macro="publisher"/>
250+
</group>
251+
</else-if>
252+
</choose>
230253
</else>
231254
</choose>
232255
</macro>
@@ -239,7 +262,6 @@
239262
<number variable="edition" form="ordinal"/>
240263
<label variable="edition" form="short"/>
241264
</group>
242-
<text macro="status"/>
243265
</group>
244266
</if>
245267
<else-if type="chapter" match="any">
@@ -254,12 +276,16 @@
254276
<number variable="edition" form="ordinal"/>
255277
<label variable="edition" form="short"/>
256278
</group>
257-
<text macro="status"/>
258279
</group>
259280
</else-if>
260281
<else-if type="article-journal" match="any">
261-
<text macro="container-title"/>
262-
<text macro="locator"/>
282+
<group delimiter=". ">
283+
<group>
284+
<text macro="container-title"/>
285+
<text macro="locator"/>
286+
</group>
287+
<text variable="URL"/>
288+
</group>
263289
</else-if>
264290
<else-if type="paper-conference" match="any">
265291
<choose>
@@ -268,37 +294,36 @@
268294
<text macro="locator"/>
269295
</if>
270296
<else>
271-
<text macro="container-title"/>
272-
<text macro="locator"/>
273-
<choose>
274-
<if variable="publisher" match="any">
275-
<group delimiter=". " prefix=". ">
276-
<text macro="publisher"/>
277-
<text macro="status"/>
278-
</group>
279-
</if>
280-
<else>
281-
<text variable="URL" prefix=". "/>
282-
</else>
283-
</choose>
297+
<group delimiter=". ">
298+
<group>
299+
<text macro="container-title"/>
300+
<text macro="editor" prefix=", "/>
301+
<text macro="locator"/>
302+
</group>
303+
<text macro="publisher"/>
304+
</group>
284305
</else>
285306
</choose>
307+
<text variable="URL"/>
286308
</else-if>
287309
<else-if type="article-magazine article-newspaper" match="any">
288310
<group delimiter=". ">
289311
<group delimiter=", ">
290312
<text macro="container-title"/>
291313
<text macro="locator"/>
292314
</group>
293-
<text macro="status"/>
315+
<text variable="URL"/>
294316
</group>
295317
</else-if>
296318
<else-if type="broadcast" match="any">
297-
<group delimiter=", ">
298-
<text variable="publisher-place"/>
299-
<group delimiter=" " font-style="italic">
300-
<text variable="publisher"/>
301-
<text value="Broadcast"/>
319+
<group delimiter=". ">
320+
<text macro="container-title"/>
321+
<group delimiter=", ">
322+
<text variable="publisher-place"/>
323+
<group delimiter=" " font-style="italic">
324+
<text variable="publisher"/>
325+
<text value="Broadcast"/>
326+
</group>
302327
</group>
303328
<text macro="date-m-d"/>
304329
</group>
@@ -317,20 +342,21 @@
317342
<text variable="publisher"/>
318343
<text variable="publisher-place"/>
319344
</group>
320-
<text macro="status"/>
345+
<text variable="URL"/>
321346
</group>
322347
</group>
323348
</else-if>
324349
<else-if type="thesis" match="any">
325350
<group delimiter=". ">
326351
<text variable="genre" suffix=" thesis"/>
327352
<text variable="publisher" form="short"/>
353+
<text variable="URL"/>
328354
</group>
329355
</else-if>
330356
<else-if type="webpage" match="any">
331357
<group delimiter=". ">
332358
<text variable="container-title"/>
333-
<text variable="URL" form="short"/>
359+
<text macro="locator"/>
334360
</group>
335361
</else-if>
336362
<else-if type="manuscript">
@@ -339,11 +365,24 @@
339365
</group>
340366
<text variable="publisher-place" prefix=", "/>
341367
</else-if>
368+
<else>
369+
<choose>
370+
<if variable="volume" match="any">
371+
<text macro="container-title"/>
372+
<text macro="locator"/>
373+
</if>
374+
<else>
375+
<group delimiter=". ">
376+
<text macro="container-title"/>
377+
<text macro="editor" prefix=", "/>
378+
<text macro="locator"/>
379+
<text macro="url-accessed"/>
380+
</group>
381+
</else>
382+
</choose>
383+
</else>
342384
</choose>
343385
</macro>
344-
<macro name="status">
345-
<text variable="status" text-case="capitalize-first"/>
346-
</macro>
347386
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix-ranged" year-suffix-delimiter="," after-collapse-delimiter="; ">
348387
<sort>
349388
<key macro="author-short" names-min="2" names-use-first="1"/>

0 commit comments

Comments
 (0)