Skip to content

Commit abbac8a

Browse files
committed
CMOS: number of volumes in notes (14.20); website abbreviations (14.104)
Remove the override to display the number of volumes in notes-only styles: the CMOS team confirmed via email that the example of this in sec. 14.20 is meant to be permissive rather than normative. Support website title abbreviations in author–date styles using `container-title-short`; see <https://www.zotero.org/groups/2205533/items/HN7AMYZ9> for an encoded version of the example from CMOS 14.104.
1 parent 76e6bef commit abbac8a

File tree

75 files changed

+1058
-1033
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1058
-1033
lines changed

chicago-author-date-17th-edition.csl

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- This file was generated by the Style Variant Builder <https://github.com/citation-style-language/style-variant-builder>. To contribute changes, modify the template and regenerate variants. -->
44
<info>
55
<title>Chicago Manual of Style 17th edition (author-date)</title>
6-
<title-short>CMOS 17e with Bluebook (author-date/AD [15.5])</title-short>
6+
<title-short>CMOS/CMS 17e with Bluebook (author-date/AD [15.5])</title-short>
77
<id>http://www.zotero.org/styles/chicago-author-date-17th-edition</id>
88
<link href="http://www.zotero.org/styles/chicago-author-date-17th-edition" rel="self"/>
99
<link href="http://www.zotero.org/styles/chicago-notes-bibliography" rel="template"/>
@@ -85,7 +85,7 @@
8585
</terms>
8686
</locale>
8787
<!-- Contents:
88-
88+
8989
This file interprets Chicago using APA's four basic reference elements
9090
(cf. CMOS18 14.2, 14.64, 14.161):
9191
@@ -106,11 +106,11 @@
106106
4.8. Medium
107107
4.9. Archival location
108108
4.10. URL or persistent identifier
109-
110-
Freeform annotations to bibliography entries:
111-
109+
110+
Freeform annotations to bibliography entries:
111+
112112
5. Notes
113-
113+
114114
Chicago also provides parallel rules for legal references following
115115
The Bluebook: A Uniform System of Citation (code shared with APA):
116116
@@ -400,8 +400,6 @@
400400
</if>
401401
</choose>
402402
<text variable="volume"/>
403-
<!-- always display number of volumes in notes without bibliography (CMOS18 14.20): -->
404-
<!-- <choose><if is-numeric="number-of-volumes" variable="volume"><text value="of"/><text variable="number-of-volumes"/></if></choose>-->
405403
</group>
406404
</macro>
407405
<macro name="label-volume-capitalized">
@@ -732,7 +730,14 @@
732730
</else-if>
733731
<else-if type="webpage">
734732
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
735-
<text text-case="title" variable="container-title"/>
733+
<choose>
734+
<if variable="container-title-short">
735+
<text text-case="title" variable="container-title-short"/>
736+
</if>
737+
<else>
738+
<text text-case="title" variable="container-title"/>
739+
</else>
740+
</choose>
736741
</else-if>
737742
</choose>
738743
</macro>
@@ -3230,7 +3235,13 @@
32303235
<choose>
32313236
<if match="any" type="post webpage">
32323237
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
3233-
<text text-case="title" variable="container-title"/>
3238+
<!-- avoid possible repetition of `container-title` with author-date: -->
3239+
<choose>
3240+
<if type="webpage" variable="container-title container-title-short"/>
3241+
<else>
3242+
<text text-case="title" variable="container-title"/>
3243+
</else>
3244+
</choose>
32343245
</if>
32353246
</choose>
32363247
<choose>
@@ -4175,7 +4186,16 @@
41754186
<text variable="references"/>
41764187
</if>
41774188
<else>
4178-
<text macro="author-bib"/>
4189+
<group delimiter=" ">
4190+
<text macro="author-bib"/>
4191+
<choose>
4192+
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
4193+
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
4194+
<if type="webpage" variable="container-title container-title-short">
4195+
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
4196+
</if>
4197+
</choose>
4198+
</group>
41794199
<text macro="date"/>
41804200
<text macro="title-and-source-bib"/>
41814201
<text variable="references"/>

chicago-author-date-access-dates.csl

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</terms>
8989
</locale>
9090
<!-- Contents:
91-
91+
9292
This file interprets Chicago using APA's four basic reference elements
9393
(cf. CMOS18 14.2, 14.64, 14.161):
9494
@@ -109,11 +109,11 @@
109109
4.8. Medium
110110
4.9. Archival location
111111
4.10. URL or persistent identifier
112-
113-
Freeform annotations to bibliography entries:
114-
112+
113+
Freeform annotations to bibliography entries:
114+
115115
5. Notes
116-
116+
117117
Chicago also provides parallel rules for legal references following
118118
The Bluebook: A Uniform System of Citation (code shared with APA):
119119
@@ -403,8 +403,6 @@
403403
</if>
404404
</choose>
405405
<text variable="volume"/>
406-
<!-- always display number of volumes in notes without bibliography (CMOS18 14.20): -->
407-
<!-- <choose><if is-numeric="number-of-volumes" variable="volume"><text value="of"/><text variable="number-of-volumes"/></if></choose>-->
408406
</group>
409407
</macro>
410408
<macro name="label-volume-capitalized">
@@ -735,7 +733,14 @@
735733
</else-if>
736734
<else-if type="webpage">
737735
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
738-
<text text-case="title" variable="container-title"/>
736+
<choose>
737+
<if variable="container-title-short">
738+
<text text-case="title" variable="container-title-short"/>
739+
</if>
740+
<else>
741+
<text text-case="title" variable="container-title"/>
742+
</else>
743+
</choose>
739744
</else-if>
740745
</choose>
741746
</macro>
@@ -3219,7 +3224,13 @@
32193224
<choose>
32203225
<if match="any" type="post webpage">
32213226
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
3222-
<text text-case="title" variable="container-title"/>
3227+
<!-- avoid possible repetition of `container-title` with author-date: -->
3228+
<choose>
3229+
<if type="webpage" variable="container-title container-title-short"/>
3230+
<else>
3231+
<text text-case="title" variable="container-title"/>
3232+
</else>
3233+
</choose>
32233234
</if>
32243235
</choose>
32253236
<choose>
@@ -4131,7 +4142,16 @@
41314142
<text variable="references"/>
41324143
</if>
41334144
<else>
4134-
<text macro="author-bib"/>
4145+
<group delimiter=" ">
4146+
<text macro="author-bib"/>
4147+
<choose>
4148+
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
4149+
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
4150+
<if type="webpage" variable="container-title container-title-short">
4151+
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
4152+
</if>
4153+
</choose>
4154+
</group>
41354155
<text macro="date"/>
41364156
<text macro="title-and-source-bib"/>
41374157
<text variable="references"/>

chicago-author-date-archive-place-first-no-url.csl

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</terms>
8989
</locale>
9090
<!-- Contents:
91-
91+
9292
This file interprets Chicago using APA's four basic reference elements
9393
(cf. CMOS18 14.2, 14.64, 14.161):
9494
@@ -109,11 +109,11 @@
109109
4.8. Medium
110110
4.9. Archival location
111111
4.10. URL or persistent identifier
112-
113-
Freeform annotations to bibliography entries:
114-
112+
113+
Freeform annotations to bibliography entries:
114+
115115
5. Notes
116-
116+
117117
Chicago also provides parallel rules for legal references following
118118
The Bluebook: A Uniform System of Citation (code shared with APA):
119119
@@ -403,8 +403,6 @@
403403
</if>
404404
</choose>
405405
<text variable="volume"/>
406-
<!-- always display number of volumes in notes without bibliography (CMOS18 14.20): -->
407-
<!-- <choose><if is-numeric="number-of-volumes" variable="volume"><text value="of"/><text variable="number-of-volumes"/></if></choose>-->
408406
</group>
409407
</macro>
410408
<macro name="label-volume-capitalized">
@@ -735,7 +733,14 @@
735733
</else-if>
736734
<else-if type="webpage">
737735
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
738-
<text text-case="title" variable="container-title"/>
736+
<choose>
737+
<if variable="container-title-short">
738+
<text text-case="title" variable="container-title-short"/>
739+
</if>
740+
<else>
741+
<text text-case="title" variable="container-title"/>
742+
</else>
743+
</choose>
739744
</else-if>
740745
</choose>
741746
</macro>
@@ -3219,7 +3224,13 @@
32193224
<choose>
32203225
<if match="any" type="post webpage">
32213226
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
3222-
<text text-case="title" variable="container-title"/>
3227+
<!-- avoid possible repetition of `container-title` with author-date: -->
3228+
<choose>
3229+
<if type="webpage" variable="container-title container-title-short"/>
3230+
<else>
3231+
<text text-case="title" variable="container-title"/>
3232+
</else>
3233+
</choose>
32233234
</if>
32243235
</choose>
32253236
<choose>
@@ -4108,7 +4119,16 @@
41084119
<text variable="references"/>
41094120
</if>
41104121
<else>
4111-
<text macro="author-bib"/>
4122+
<group delimiter=" ">
4123+
<text macro="author-bib"/>
4124+
<choose>
4125+
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
4126+
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
4127+
<if type="webpage" variable="container-title container-title-short">
4128+
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
4129+
</if>
4130+
</choose>
4131+
</group>
41124132
<text macro="date"/>
41134133
<text macro="title-and-source-bib"/>
41144134
<text variable="references"/>

chicago-author-date-archive-place-first.csl

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</terms>
8989
</locale>
9090
<!-- Contents:
91-
91+
9292
This file interprets Chicago using APA's four basic reference elements
9393
(cf. CMOS18 14.2, 14.64, 14.161):
9494
@@ -109,11 +109,11 @@
109109
4.8. Medium
110110
4.9. Archival location
111111
4.10. URL or persistent identifier
112-
113-
Freeform annotations to bibliography entries:
114-
112+
113+
Freeform annotations to bibliography entries:
114+
115115
5. Notes
116-
116+
117117
Chicago also provides parallel rules for legal references following
118118
The Bluebook: A Uniform System of Citation (code shared with APA):
119119
@@ -403,8 +403,6 @@
403403
</if>
404404
</choose>
405405
<text variable="volume"/>
406-
<!-- always display number of volumes in notes without bibliography (CMOS18 14.20): -->
407-
<!-- <choose><if is-numeric="number-of-volumes" variable="volume"><text value="of"/><text variable="number-of-volumes"/></if></choose>-->
408406
</group>
409407
</macro>
410408
<macro name="label-volume-capitalized">
@@ -735,7 +733,14 @@
735733
</else-if>
736734
<else-if type="webpage">
737735
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
738-
<text text-case="title" variable="container-title"/>
736+
<choose>
737+
<if variable="container-title-short">
738+
<text text-case="title" variable="container-title-short"/>
739+
</if>
740+
<else>
741+
<text text-case="title" variable="container-title"/>
742+
</else>
743+
</choose>
739744
</else-if>
740745
</choose>
741746
</macro>
@@ -3219,7 +3224,13 @@
32193224
<choose>
32203225
<if match="any" type="post webpage">
32213226
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
3222-
<text text-case="title" variable="container-title"/>
3227+
<!-- avoid possible repetition of `container-title` with author-date: -->
3228+
<choose>
3229+
<if type="webpage" variable="container-title container-title-short"/>
3230+
<else>
3231+
<text text-case="title" variable="container-title"/>
3232+
</else>
3233+
</choose>
32233234
</if>
32243235
</choose>
32253236
<choose>
@@ -4118,7 +4129,16 @@
41184129
<text variable="references"/>
41194130
</if>
41204131
<else>
4121-
<text macro="author-bib"/>
4132+
<group delimiter=" ">
4133+
<text macro="author-bib"/>
4134+
<choose>
4135+
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
4136+
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
4137+
<if type="webpage" variable="container-title container-title-short">
4138+
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
4139+
</if>
4140+
</choose>
4141+
</group>
41224142
<text macro="date"/>
41234143
<text macro="title-and-source-bib"/>
41244144
<text variable="references"/>

0 commit comments

Comments
 (0)