-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Expand file tree
/
Copy pathchicago-author-date.csl
More file actions
4189 lines (4171 loc) · 163 KB
/
chicago-author-date.csl
File metadata and controls
4189 lines (4171 loc) · 163 KB
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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" demote-non-dropping-particle="display-and-sort" initialize-with=". " page-range-format="chicago-16" version="1.0">
<!-- 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. -->
<info>
<title>Chicago Manual of Style 18th edition (author-date)</title>
<title-short>CMOS/CMS with Bluebook (author-date/AD [13.102])</title-short>
<id>http://www.zotero.org/styles/chicago-author-date</id>
<link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>
<link href="http://www.zotero.org/styles/chicago-notes-bibliography" rel="template"/>
<link href="https://www.chicagomanualofstyle.org/" rel="documentation"/>
<link href="https://zotero.org/groups/2205533/collections/5V67EPX3" rel="documentation"/>
<author>
<name>Andrew Dunning</name>
<uri>https://orcid.org/0000-0003-0464-5036</uri>
</author>
<category citation-format="author-date"/>
<category field="anthropology"/>
<category field="communications"/>
<category field="generic-base"/>
<category field="geography"/>
<category field="history"/>
<category field="humanities"/>
<category field="law"/>
<category field="linguistics"/>
<category field="literature"/>
<category field="philosophy"/>
<category field="political_science"/>
<category field="science"/>
<category field="social_science"/>
<category field="sociology"/>
<category field="theology"/>
<summary>Chicago-style source citations (with Bluebook for legal citations), author-date system</summary>
<updated>2025-02-09T00:00:00+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">
<terms>
<!-- Chicago omits 'by' from `verb-short` forms; it abbreviates only the most common roles -->
<term name="advance-online-publication">ahead of print</term>
<term name="anonymous">unsigned</term>
<term form="verb-short" name="collection-editor">ed.</term>
<term form="short" name="collection-number">
<single>vol.</single>
<multiple>vols.</multiple>
</term>
<term form="verb-short" name="compiler">comp.</term>
<term form="verb-short" name="editor">ed.</term>
<term form="short" name="editor-translator">
<single>ed. and trans.</single>
<multiple>eds. and trans.</multiple>
</term>
<term form="short" name="editortranslator">
<single>ed. and trans.</single>
<multiple>eds. and trans.</multiple>
</term>
<term form="verb" name="editor-translator">edited and translated by</term>
<term form="verb" name="editortranslator">edited and translated by</term>
<term form="verb-short" name="editor-translator">ed. and trans.</term>
<term form="verb-short" name="editortranslator">ed. and trans.</term>
<term form="verb-short" name="illustrator">ill.</term>
<term form="short" name="legislation">Pub. L.</term>
<term name="manuscript">unpublished manuscript</term>
<term name="original-work-published">originally published as</term>
<term form="short" name="paper-conference">paper</term>
<!-- 'under' replaces 's.v.' from CMOS17 and earlier (CMOS18 14.130) -->
<term name="sub-verbo">under</term>
<term form="short" name="sub-verbo">under</term>
<term name="timestamp">at</term>
<term form="verb-short" name="translator">trans.</term>
</terms>
</locale>
<locale xml:lang="en-GB">
<terms>
<!-- the Bibliography of Additional Resources recommends the New Oxford Style Manual as a British English guide, which the `en-GB` locale follows -->
<term form="short" name="collection-number">
<single>vol.</single>
<multiple>vols</multiple>
</term>
<term form="short" name="editor-translator">
<single>ed. and trans.</single>
<multiple>eds and trans.</multiple>
</term>
<term form="short" name="editortranslator">
<single>ed. and trans.</single>
<multiple>eds and trans.</multiple>
</term>
<term form="verb-short" name="illustrator">illus.</term>
</terms>
</locale>
<!-- Contents:
This file interprets Chicago using APA's four basic reference elements
(cf. CMOS18 14.2, 14.64, 14.161):
1. Author (CMOS18 13.74-86)
2. Date (author-date system only, CMOS18 13.102)
3. Title and descriptions (CMOS18 13.87-101)
3.1. Title
3.2. Description
3.3. Identifiers (edition, contributors, volume)
4. Source
4.1. Serial sources
4.2. Monographic sources
4.3. Series
4.4. Event
4.5. Publisher
4.6. Date
4.7. Locator (including page references)
4.8. Medium
4.9. Archival location
4.10. URL or persistent identifier
Freeform annotations to bibliography entries:
5. Notes
Chicago also provides parallel rules for legal references following
The Bluebook: A Uniform System of Citation (code shared with APA):
6. Legal references
-->
<!-- In this file, macros suffixed `-bib` and `-note` are parallel versions
of the same features for the bibliography and notes, and all changes
must be applied to both. They should only contain differences of
punctuation (periods in bibliography, commas in notes) and capitalization,
except where the comments indicate structural changes. -->
<!-- Categories of CSL item types:
Serial
: article-journal article-magazine article-newspaper periodical post-weblog review review-book
Serial or Monographic
: interview paper-conference
Monographic with any of `collection-editor compiler editor editorial-director`.
A serial `paper-conference` is unpublished if it lacks any of `issue page supplement-number volume`.
Monographic
: article book broadcast chapter classic collection dataset document
entry entry-dictionary entry-encyclopedia event figure
graphic manuscript map motion_picture musical_score
pamphlet patent performance personal_communication post report
software song speech standard thesis webpage
Legal
: bill hearing legal_case legislation regulation treaty
-->
<!-- Variable labels -->
<macro name="label-chapter-number">
<group delimiter=" ">
<choose>
<if is-numeric="chapter-number" type="song">
<text value="track"/>
</if>
<else-if is-numeric="chapter-number">
<label form="short" variable="chapter-number"/>
</else-if>
</choose>
<text variable="chapter-number"/>
</group>
</macro>
<macro name="label-chapter-number-capitalized">
<group delimiter=" ">
<choose>
<if is-numeric="chapter-number" type="song">
<text text-case="capitalize-first" value="track"/>
</if>
<else-if is-numeric="chapter-number">
<label form="short" text-case="capitalize-first" variable="chapter-number"/>
</else-if>
</choose>
<text text-case="capitalize-first" variable="chapter-number"/>
</group>
</macro>
<macro name="label-collection-number">
<group delimiter=" ">
<choose>
<if is-numeric="collection-number">
<label form="short" variable="collection-number"/>
</if>
</choose>
<text variable="collection-number"/>
</group>
</macro>
<macro name="label-edition">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<number form="ordinal" variable="edition"/>
<label form="short" variable="edition"/>
</if>
<else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">
<!-- serial types: full label (CMOS18 14.89) -->
<text variable="edition"/>
<label variable="edition"/>
</else-if>
<else-if match="any" variable="collection-editor compiler editor editorial-director">
<!-- monographic types -->
<text variable="edition"/>
</else-if>
<else-if match="any" type="interview paper-conference">
<!-- serial types -->
<text variable="edition"/>
<label variable="edition"/>
</else-if>
<else>
<!-- monographic types -->
<text variable="edition"/>
</else>
</choose>
</group>
</macro>
<macro name="label-edition-capitalized">
<group delimiter=" ">
<choose>
<if is-numeric="edition">
<number form="ordinal" variable="edition"/>
<label form="short" variable="edition"/>
</if>
<else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">
<!-- serial types: full label (CMOS18 14.89) -->
<text text-case="title" variable="edition"/>
<label text-case="capitalize-first" variable="edition"/>
</else-if>
<else-if match="any" variable="collection-editor compiler editor editorial-director">
<!-- monographic types -->
<text text-case="capitalize-first" variable="edition"/>
</else-if>
<else-if match="any" type="interview paper-conference">
<!-- serial types -->
<text text-case="title" variable="edition"/>
<label text-case="capitalize-first" variable="edition"/>
</else-if>
<else>
<!-- monographic types -->
<text text-case="capitalize-first" variable="edition"/>
</else>
</choose>
</group>
</macro>
<macro name="label-issue">
<group delimiter=" ">
<label form="short" variable="issue"/>
<text variable="issue"/>
</group>
</macro>
<macro name="label-locator">
<group delimiter=" ">
<choose>
<if locator="page"/>
<else-if match="any" type="bill hearing legal_case legislation regulation treaty">
<!-- Bluebook-style labels for legal types (CMOS18 14.174) -->
<choose>
<if locator="chapter paragraph section" match="any">
<label form="symbol" variable="locator"/>
</if>
<else>
<label form="short" variable="locator"/>
</else>
</choose>
</else-if>
<else-if is-numeric="locator" locator="line">
<label variable="locator"/>
</else-if>
<else-if is-numeric="locator">
<label form="short" variable="locator"/>
</else-if>
<else-if locator="chapter line verse" match="any"/>
<!-- a non-numeric canonical reference is identified by its formatting and does not need a label (CMOS18 14.143-54) -->
<else>
<label form="short" variable="locator"/>
</else>
</choose>
<text variable="locator"/>
</group>
</macro>
<macro name="label-locator-all">
<group delimiter=" ">
<label form="short" variable="locator"/>
<text variable="locator"/>
</group>
</macro>
<macro name="label-number-capitalized">
<group delimiter=" ">
<choose>
<if type="standard"/>
<else-if is-numeric="number" match="any" type="legislation regulation">
<label form="short" text-case="capitalize-first" variable="number"/>
</else-if>
</choose>
<text text-case="capitalize-first" variable="number"/>
</group>
</macro>
<macro name="label-number-of-volumes">
<group delimiter=" ">
<text variable="number-of-volumes"/>
<choose>
<if is-numeric="number-of-volumes">
<label form="short" variable="number-of-volumes"/>
</if>
</choose>
</group>
</macro>
<macro name="label-page">
<group delimiter=" ">
<label form="short" variable="page"/>
<text variable="page"/>
</group>
</macro>
<macro name="label-part-number">
<group delimiter=" ">
<choose>
<if is-numeric="part-number">
<!-- TODO: Replace with `part-number` label when CSL provides one -->
<text form="short" term="part"/>
</if>
</choose>
<text variable="part-number"/>
</group>
</macro>
<macro name="label-part-number-capitalized">
<group delimiter=" ">
<choose>
<if is-numeric="part-number">
<!-- TODO: Replace with `part-number` label when CSL provides one -->
<text form="short" term="part" text-case="capitalize-first"/>
</if>
</choose>
<text text-case="capitalize-first" variable="part-number"/>
</group>
</macro>
<macro name="label-section-capitalized">
<group delimiter=" ">
<choose>
<if is-numeric="section">
<label form="short" text-case="capitalize-first" variable="section"/>
</if>
</choose>
<text text-case="title" variable="section"/>
</group>
</macro>
<macro name="label-section-symbol">
<group delimiter=" ">
<label form="symbol" variable="section"/>
<text variable="section"/>
</group>
</macro>
<macro name="label-supplement-number">
<group delimiter=" ">
<choose>
<!-- TODO: Replace with `supplement-number` label when CSL provides one -->
<if variable="issue supplement-number">
<!-- if there is both an issue and supplement number, do not label both as 'no.' -->
<text form="short" term="supplement"/>
</if>
<else-if is-numeric="supplement-number" variable="volume-title">
<!-- if there is a volume title, it is already described as a supplement -->
<text form="short" term="issue"/>
</else-if>
<else-if is-numeric="supplement-number" type="periodical" variable="title">
<text form="short" term="issue"/>
</else-if>
<else-if is-numeric="supplement-number">
<text form="short" term="supplement"/>
</else-if>
</choose>
<text variable="supplement-number"/>
</group>
</macro>
<macro name="label-version">
<group delimiter=" ">
<choose>
<if type="software">
<!-- short version label for software (CMOS18 14.169) -->
<label form="short" variable="version"/>
</if>
<else>
<label variable="version"/>
</else>
</choose>
<text variable="version"/>
</group>
</macro>
<macro name="label-version-capitalized">
<group delimiter=" ">
<choose>
<if type="software">
<!-- short version label for software (CMOS18 14.169) -->
<label form="short" text-case="capitalize-first" variable="version"/>
</if>
<else>
<label text-case="capitalize-first" variable="version"/>
</else>
</choose>
<text variable="version"/>
</group>
</macro>
<macro name="label-volume">
<group delimiter=" ">
<choose>
<if is-numeric="volume">
<label form="short" variable="volume"/>
</if>
</choose>
<text variable="volume"/>
<!-- always display number of volumes in notes without bibliography (CMOS18 14.20): -->
<!-- <choose><if is-numeric="number-of-volumes" variable="volume"><text value="of"/><text variable="number-of-volumes"/></if></choose>-->
</group>
</macro>
<macro name="label-volume-capitalized">
<group delimiter=" ">
<choose>
<if is-numeric="volume">
<label form="short" text-case="capitalize-first" variable="volume"/>
</if>
</choose>
<text text-case="capitalize-first" variable="volume"/>
</group>
</macro>
<!-- 1. Author (CMOS18 13.74-86) -->
<macro name="author-bib">
<names variable="composer">
<name and="text" delimiter-precedes-last="always" initialize="false" name-as-sort-order="first"/>
<label form="short" prefix=", "/>
<substitute>
<names variable="author"/>
<!-- cf. `interview` model (CMOS18 14.110); if it is desired to prioritize `host` over `guest`, the latter could be encoded as a `contributor` -->
<names variable="guest"/>
<names variable="host"/>
<choose>
<if type="song">
<names variable="performer"/>
</if>
</choose>
<choose>
<if type="classic">
<!-- contributors fall after the title of `classic` (CMOS18 14.147) -->
<text macro="author-title-substitute-bib"/>
</if>
<else-if type="entry-dictionary" variable="container-title">
<!-- contributors fall after the title of unsigned reference entries (CMOS18 14.130) -->
<text macro="author-title-substitute-container"/>
</else-if>
<else-if type="entry-encyclopedia" variable="container-title">
<text macro="author-title-substitute-container"/>
</else-if>
</choose>
<names variable="illustrator"/>
<choose>
<if match="none" type="standard">
<names variable="editor-translator"/>
<names variable="editor"/>
<names variable="translator"/>
<names variable="collection-editor"/>
</if>
</choose>
<names variable="director"/>
<choose>
<!-- serial `broadcast` prioritizes title (CMOS18 14.165, 14.168) -->
<if type="broadcast" variable="container-title number title"/>
<else>
<names variable="producer"/>
<names variable="executive-producer"/>
<names variable="series-creator"/>
<choose>
<if type="broadcast">
<names variable="contributor"/>
</if>
</choose>
</else>
</choose>
<names variable="editorial-director"/>
<names variable="compiler"/>
<choose>
<if match="any" type="event performance speech">
<names variable="chair"/>
<names variable="organizer"/>
</if>
</choose>
<names variable="curator"/>
<choose>
<if match="any" type="software webpage">
<!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->
<text variable="publisher"/>
</if>
<else-if type="standard">
<!-- `standard` listed in bibliography under organization, but note omits this (CMOS18 14.159) -->
<text variable="authority"/>
</else-if>
</choose>
<text macro="author-title-substitute-container"/>
<text macro="author-title-substitute-bib"/>
<choose>
<if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>
<else-if type="manuscript">
<text macro="source-archive-bib"/>
</else-if>
</choose>
</substitute>
</names>
</macro>
<macro name="author-inline">
<choose>
<if match="any" type="bill hearing legal_case legislation regulation treaty">
<text macro="title-and-descriptions-short"/>
</if>
<else-if match="any" type="interview personal_communication">
<text macro="author-inline-and-recipient"/>
</else-if>
<else>
<names variable="composer">
<name and="text" form="short" initialize="true"/>
<substitute>
<names variable="author"/>
<names variable="guest"/>
<names variable="host"/>
<choose>
<if type="song">
<names variable="performer"/>
</if>
</choose>
<choose>
<if match="any" type="classic performance">
<!-- contributors fall after the title of `classic` (CMOS18 14.147), `performance` (CMOS18 14.166) -->
<text macro="author-title-substitute-short"/>
</if>
<else-if match="any" type="entry entry-dictionary entry-encyclopedia">
<!-- contributors fall after the title of unsigned reference entries (CMOS18 14.130) -->
<text macro="author-title-substitute-container"/>
</else-if>
</choose>
<names variable="illustrator"/>
<choose>
<if match="none" type="standard">
<names variable="editor-translator"/>
<names variable="editor"/>
<names variable="translator"/>
<names variable="collection-editor"/>
</if>
</choose>
<choose>
<if type="broadcast" variable="container-title number title"/>
<else>
<names variable="director"/>
<names variable="producer"/>
<names variable="executive-producer"/>
<names variable="series-creator"/>
<choose>
<if type="broadcast">
<names variable="contributor"/>
</if>
</choose>
</else>
</choose>
<names variable="editorial-director"/>
<names variable="compiler"/>
<choose>
<if match="any" type="event performance speech">
<names variable="chair"/>
<names variable="organizer"/>
</if>
</choose>
<names variable="curator"/>
<choose>
<if match="any" type="software webpage">
<!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->
<text form="short" variable="publisher"/>
</if>
<else-if type="standard">
<!-- `standard` listed in bibliography under organization, but note omits this (CMOS18 14.159) -->
<text form="short" variable="authority"/>
</else-if>
</choose>
<text macro="author-title-substitute-container-short"/>
<text macro="author-title-substitute-short"/>
<choose>
<if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>
<else-if type="manuscript">
<text macro="source-archive-note"/>
</else-if>
</choose>
</substitute>
</names>
</else>
</choose>
</macro>
<macro name="author-sort">
<choose>
<if match="any" type="bill hearing legal_case legislation regulation treaty">
<text macro="legal-title"/>
</if>
<else>
<text macro="author-bib"/>
</else>
</choose>
</macro>
<!-- Author elements -->
<macro name="author-inline-and-recipient">
<!-- identical to `author-short-and-recipient` but with initialization -->
<group delimiter=" ">
<choose>
<!-- inaccessible `interview` or `personal_commmunication`: in-text citation (CMOS18 14.111) -->
<if match="none" variable="archive archive-place container-title DOI number publisher references URL">
<choose>
<if position="first">
<!-- do not shorten at first reference as there is no bibliography entry -->
<names variable="author">
<name and="text" initialize="false"/>
<!-- never initialize -->
<substitute>
<text macro="title-and-descriptions-short"/>
</substitute>
</names>
</if>
<else>
<names variable="author">
<name and="text" form="short" initialize="true"/>
<substitute>
<text macro="title-and-descriptions-short"/>
</substitute>
</names>
</else>
</choose>
<choose>
<if variable="genre"/>
<!-- recipient appears in the description if there is a `genre`; otherwise after `author` -->
<else-if position="first">
<names variable="recipient">
<label form="verb" suffix=" "/>
<name and="text" initialize="false"/>
</names>
</else-if>
<else>
<names variable="recipient">
<label form="verb" suffix=" "/>
<name and="text" form="short" initialize="true"/>
</names>
</else>
</choose>
</if>
<!-- accessible `interview` or `personal_communication`: standard citation -->
<else-if variable="author recipient">
<names variable="author">
<name and="text" form="short" initialize="true"/>
</names>
<choose>
<if match="none" variable="genre">
<names variable="recipient">
<label form="verb" suffix=" "/>
<name and="text" form="short" initialize="true"/>
</names>
</if>
</choose>
</else-if>
<else>
<names variable="author">
<name and="text" form="short" initialize="true"/>
<substitute>
<text macro="title-and-descriptions-short"/>
</substitute>
</names>
</else>
</choose>
</group>
</macro>
<macro name="author-title-substitute-bib">
<choose>
<if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">
<!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->
<choose>
<if variable="reviewed-genre title">
<text macro="title-bib"/>
</if>
<else-if variable="reviewed-genre reviewed-title title">
<text macro="title-bib"/>
</else-if>
<else>
<text macro="title-and-descriptions-bib"/>
</else>
</choose>
</if>
<else-if variable="title">
<text macro="title-bib"/>
</else-if>
<else>
<!-- If an item has no `title`, substitute with descriptions. -->
<text macro="title-and-descriptions-bib"/>
</else>
</choose>
</macro>
<macro name="author-title-substitute-short">
<choose>
<if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">
<!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->
<choose>
<if variable="reviewed-genre title">
<text macro="title-short"/>
</if>
<else-if variable="reviewed-genre reviewed-title title">
<text macro="title-short"/>
</else-if>
<else>
<text macro="title-and-descriptions-short"/>
</else>
</choose>
</if>
<else-if variable="title">
<text macro="title-short"/>
</else-if>
<else>
<!-- If an item has no `title`, substitute with descriptions and capitalize -->
<text macro="title-and-descriptions-bib"/>
</else>
</choose>
</macro>
<macro name="author-title-substitute-container">
<choose>
<!-- no Chicago model for citing an anonymous article with an issue title in `volume-title` -->
<if variable="volume-title"/>
<else-if match="any" type="article-magazine article-newspaper">
<!-- Anonymous magazine and newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->
<text macro="source-serial-name"/>
</else-if>
<else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">
<!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->
<text macro="source-serial-name"/>
</else-if>
<else-if match="any" type="entry entry-dictionary entry-encyclopedia">
<!-- Anonymous entries in reference works (CMOS18 14.130) -->
<text font-style="italic" text-case="title" variable="container-title"/>
</else-if>
<else-if type="broadcast">
<!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->
<text font-style="italic" text-case="title" variable="container-title"/>
</else-if>
<else-if type="webpage">
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
<text text-case="title" variable="container-title"/>
</else-if>
</choose>
</macro>
<macro name="author-title-substitute-container-short">
<choose>
<if match="any" type="article-magazine article-newspaper">
<!-- Anonymous magazine/newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->
<text font-style="italic" text-case="title" variable="container-title"/>
</if>
<else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">
<!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->
<text font-style="italic" text-case="title" variable="container-title"/>
</else-if>
<else-if match="any" type="entry entry-dictionary entry-encyclopedia">
<!-- Anonymous entries in reference works (CMOS18 14.130) -->
<text font-style="italic" form="short" text-case="title" variable="container-title"/>
</else-if>
<else-if type="broadcast">
<!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->
<text font-style="italic" form="short" text-case="title" variable="container-title"/>
</else-if>
<else-if type="webpage">
<!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->
<text form="short" text-case="title" variable="container-title"/>
</else-if>
</choose>
</macro>
<!-- 2. Date (CMOS18 13.102) -->
<macro name="date">
<group delimiter="-">
<choose>
<if variable="issued">
<group delimiter=" ">
<!-- reprints and earlier editions may give original year in brackets (CMOS18 14.16) -->
<text macro="date-original-year" prefix="(" suffix=")"/>
<group>
<text macro="date-issued-year"/>
<text variable="year-suffix"/>
</group>
</group>
</if>
<else-if variable="event-date">
<text macro="date-event-year"/>
</else-if>
<else-if variable="available-date">
<date date-parts="year" form="numeric" variable="available-date"/>
</else-if>
<else-if variable="status">
<!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->
<text text-case="capitalize-first" variable="status"/>
<text variable="year-suffix"/>
</else-if>
<else-if type="collection">
<!-- do not give n.d. for archival collections (CMOS18 14.128) -->
<text variable="year-suffix"/>
</else-if>
<else-if type="manuscript">
<!-- do not give n.d. with a bare shelfmark -->
<choose>
<if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">
<text form="short" term="no date"/>
<text variable="year-suffix"/>
</if>
</choose>
</else-if>
<else>
<text form="short" term="no date"/>
<text variable="year-suffix"/>
</else>
</choose>
</group>
</macro>
<macro name="date-short">
<group delimiter="-">
<choose>
<if variable="issued">
<group delimiter=" ">
<choose>
<if is-uncertain-date="original-date">
<!-- Uncertain date already has square brackets -->
<text macro="date-original-year"/>
</if>
<else>
<text macro="date-original-year" prefix="[" suffix="]"/>
</else>
</choose>
<group>
<choose>
<if match="none" type="interview personal_communication">
<text macro="date-issued-year"/>
</if>
<!-- accessible `interview` or `personal_communication` items appear in the bibliography; inaccessible items are in-text only -->
<else-if match="any" variable="archive archive-place container-title DOI number publisher references URL">
<text macro="date-issued-year"/>
</else-if>
<else>
<text macro="date-issued-full"/>
</else>
</choose>
<text variable="year-suffix"/>
</group>
</group>
</if>
<else-if variable="event-date">
<text macro="date-event-year"/>
</else-if>
<else-if variable="available-date">
<date date-parts="year" form="numeric" variable="available-date"/>
</else-if>
<else-if variable="status">
<!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->
<text text-case="lowercase" variable="status"/>
<text variable="year-suffix"/>
</else-if>
<else-if match="any" type="interview personal_communication">
<choose>
<if match="any" variable="archive archive-place container-title DOI number publisher references URL">
<!-- only give n.d. for accessible personal communication (CMOS18 14.111)-->
<text form="short" term="no date"/>
<text variable="year-suffix"/>
</if>
</choose>
</else-if>
<else-if match="any" type="classic collection entry entry-dictionary entry-encyclopedia">
<!-- do not give n.d. for archival collections (CMOS18 14.128), `classic` (CMOS18 14.143), or reference entries (CMOS18 14.131) -->
<text variable="year-suffix"/>
</else-if>
<else-if type="manuscript">
<!-- do not give n.d. with a bare shelfmark -->
<choose>
<if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">
<text form="short" term="no date"/>
<text variable="year-suffix"/>
</if>
</choose>
</else-if>
<else>
<text form="short" term="no date"/>
<text variable="year-suffix"/>
</else>
</choose>
</group>
</macro>
<macro name="date-sort-group">
<!-- Sort items with and without dates (CMOS18 14.44):
1. items with dates (= 0)
2. `no date` items (= 1)
3. items with `status` (forthcoming, in press, etc.) (= 2) -->
<choose>
<if variable="issued">
<text value="0"/>
</if>
<else-if variable="status">
<text value="2"/>
</else-if>
<else>
<!-- n.d. -->
<text value="1"/>
</else>
</choose>
</macro>
<macro name="date-sort-year">
<!-- while reference lists are to be sorted chronologically (CMOS18 13.112), it appears that only the year is to be taken into account (CMOS18 13.114) -->
<choose>
<if type="personal_communication" variable="event-date issued">
<date date-parts="year" form="numeric" variable="event-date"/>
</if>
<else>
<text macro="date-issued-year"/>
</else>
</choose>
</macro>
<!-- Date elements -->
<macro name="date-event-full">
<choose>
<if is-uncertain-date="issued">
<!-- guessed-at date (CMOS18 14.44) -->
<date form="text" prefix="[" suffix="?]" variable="event-date"/>
</if>
<else>
<date form="text" variable="event-date"/>
</else>
</choose>
</macro>
<macro name="date-event-year">
<choose>
<if is-uncertain-date="issued">
<!-- guessed-at date (CMOS18 14.44) -->
<date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="event-date"/>
</if>
<else>
<date date-parts="year" form="numeric" variable="event-date"/>
</else>
</choose>
</macro>
<macro name="date-issued-full">
<choose>
<if is-uncertain-date="issued">
<!-- guessed-at date (CMOS18 14.44) -->
<date form="text" prefix="[" suffix="?]" variable="issued"/>
</if>
<else>
<date form="text" variable="issued"/>
</else>
</choose>
</macro>
<macro name="date-issued-month">
<date variable="issued">
<date-part name="month"/>
</date>
</macro>
<macro name="date-issued-month-day">
<date variable="issued">
<date-part name="month"/>
<date-part name="day" prefix=" "/>
</date>
</macro>
<macro name="date-issued-year">
<choose>
<if is-uncertain-date="issued">
<!-- guessed-at date (CMOS18 14.44) -->
<date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="issued"/>
</if>
<else>
<date date-parts="year" form="numeric" variable="issued"/>
</else>
</choose>
</macro>
<macro name="date-original-month">
<date variable="original-date">
<date-part name="month"/>
</date>
</macro>
<macro name="date-original-month-day">
<date variable="original-date">
<date-part name="month"/>
<date-part name="day" prefix=" "/>
</date>
</macro>
<macro name="date-original-year">
<choose>
<if is-uncertain-date="original-date">
<date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="original-date"/>
</if>
<else>
<date date-parts="year" form="numeric" variable="original-date"/>
</else>
</choose>
</macro>
<!-- 3. Title and descriptions (CMOS18 13.87-101) -->
<macro name="title-and-descriptions-bib">
<group delimiter=". ">
<choose>
<if variable="title">
<text macro="title-bib"/>
<text macro="description-bib"/>
<text macro="identifier-bib"/>
</if>
<else-if match="any" type="bill report">
<!-- Bills, resolutions, and congressional reports substitute bill number if no title -->
<!-- Congressional reports are indistinguishable from other reports -->