Skip to content

Commit 0aa837e

Browse files
authored
Update unified-style-sheet-for-linguistics.csl for "in" in chapters (JabRef#4632)
as per https://forums.zotero.org/discussion/75241/missing-in-if-no-editors-unified-style-sheet-for-linguistics#latest Please double check thoroughly. :)
1 parent db8bd33 commit 0aa837e

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

Diff for: unified-style-sheet-for-linguistics.csl

+14-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</contributor>
2727
<category citation-format="author-date"/>
2828
<category field="linguistics"/>
29-
<updated>2018-12-19T23:42:01+00:00</updated>
29+
<updated>2020-03-19T16:21:55+00:00</updated>
3030
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
3131
</info>
3232
<locale>
@@ -69,7 +69,6 @@
6969
<macro name="container-contributors">
7070
<choose>
7171
<if type="chapter paper-conference" match="any">
72-
<text term="in" text-case="capitalize-first" suffix=" "/>
7372
<group delimiter=", ">
7473
<choose>
7574
<if variable="author">
@@ -164,7 +163,7 @@
164163
<text macro="archive"/>
165164
</else-if>
166165
</choose>
167-
<text variable="DOI" prefix="doi:"/>
166+
<text variable="DOI" prefix="https://doi.org"/>
168167
<text variable="URL"/>
169168
</group>
170169
<group prefix=" (" suffix=")">
@@ -372,6 +371,13 @@
372371
</else>
373372
</choose>
374373
</macro>
374+
<macro name="chapter-prefix">
375+
<choose>
376+
<if type="chapter paper-conference" match="any">
377+
<text term="in" text-case="capitalize-first"/>
378+
</if>
379+
</choose>
380+
</macro>
375381
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
376382
<layout prefix="(" suffix=")" delimiter="; ">
377383
<group delimiter=": ">
@@ -399,8 +405,11 @@
399405
<group delimiter=". ">
400406
<group delimiter=". ">
401407
<group delimiter=", ">
402-
<text macro="container-contributors"/>
403-
<text macro="container-title"/>
408+
<group delimiter=" ">
409+
<text macro="chapter-prefix"/>
410+
<text macro="container-contributors" suffix=","/>
411+
<text macro="container-title"/>
412+
</group>
404413
<text macro="locators-chapter"/>
405414
</group>
406415
<text macro="edition"/>

0 commit comments

Comments
 (0)