Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 41 additions & 14 deletions chicago-author-date-17th-edition.csl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- 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 17th edition (author-date)</title>
<title-short>CMOS 17e with Bluebook (author-date/AD [15.5])</title-short>
<title-short>CMOS/CMS 17e with Bluebook (author-date/AD [15.5])</title-short>
<id>http://www.zotero.org/styles/chicago-author-date-17th-edition</id>
<link href="http://www.zotero.org/styles/chicago-author-date-17th-edition" rel="self"/>
<link href="http://www.zotero.org/styles/chicago-notes-bibliography" rel="template"/>
Expand Down Expand Up @@ -85,7 +85,7 @@
</terms>
</locale>
<!-- Contents:

This file interprets Chicago using APA's four basic reference elements
(cf. CMOS18 14.2, 14.64, 14.161):

Expand All @@ -106,11 +106,11 @@
4.8. Medium
4.9. Archival location
4.10. URL or persistent identifier
Freeform annotations to bibliography entries:

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):

Expand Down Expand Up @@ -400,8 +400,6 @@
</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">
Expand Down Expand Up @@ -732,7 +730,14 @@
</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"/>
<choose>
<if variable="container-title-short">
<text text-case="title" variable="container-title-short"/>
</if>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</else-if>
</choose>
</macro>
Expand Down Expand Up @@ -2424,7 +2429,8 @@
<text macro="source-serial-name"/>
<choose>
<!-- 'ahead of print' is placed akin to a series (CMOS18 14.75) -->
<if match="any" variable="available-date collection-title issue number page status supplement-number volume volume-title"/>
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if match="any" variable="available-date status"/>
<else-if type="article-journal" variable="DOI issued">
<text term="advance-online-publication"/>
</else-if>
Expand Down Expand Up @@ -2571,14 +2577,16 @@
<macro name="source-serial-volume-status-bib">
<group delimiter=", ">
<choose>
<if match="none" variable="collection-title issue number page supplement-number volume">
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if variable="issued"/>
<else-if variable="available-date">
<group delimiter=" ">
<!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->
<!-- TODO: use CSL term for `available-date` when available -->
<text value="accepted"/>
<date form="text" variable="available-date"/>
</group>
</if>
</else-if>
</choose>
<group delimiter=" ">
<text macro="source-date-status-bib"/>
Expand Down Expand Up @@ -3230,7 +3238,16 @@
<choose>
<if match="any" type="post webpage">
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
<text text-case="title" variable="container-title"/>
<!-- avoid possible repetition of `container-title` with author-date: -->
<choose>
<if variable="publisher">
<text text-case="title" variable="container-title"/>
</if>
<else-if type="webpage" variable="container-title container-title-short"/>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</if>
</choose>
<choose>
Expand Down Expand Up @@ -4175,7 +4192,17 @@
<text variable="references"/>
</if>
<else>
<text macro="author-bib"/>
<group delimiter=" ">
<text macro="author-bib"/>
<choose>
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
<if type="webpage" variable="publisher"/>
<else-if type="webpage" variable="container-title container-title-short">
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
</else-if>
</choose>
</group>
<text macro="date"/>
<text macro="title-and-source-bib"/>
<text variable="references"/>
Expand Down
53 changes: 40 additions & 13 deletions chicago-author-date-access-dates.csl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</terms>
</locale>
<!-- Contents:

This file interprets Chicago using APA's four basic reference elements
(cf. CMOS18 14.2, 14.64, 14.161):

Expand All @@ -109,11 +109,11 @@
4.8. Medium
4.9. Archival location
4.10. URL or persistent identifier
Freeform annotations to bibliography entries:

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):

Expand Down Expand Up @@ -403,8 +403,6 @@
</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">
Expand Down Expand Up @@ -735,7 +733,14 @@
</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"/>
<choose>
<if variable="container-title-short">
<text text-case="title" variable="container-title-short"/>
</if>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</else-if>
</choose>
</macro>
Expand Down Expand Up @@ -2407,7 +2412,8 @@
<text macro="source-serial-name"/>
<choose>
<!-- 'ahead of print' is placed akin to a series (CMOS18 14.75) -->
<if match="any" variable="available-date collection-title issue number page status supplement-number volume volume-title"/>
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if match="any" variable="available-date status"/>
<else-if type="article-journal" variable="DOI issued">
<text term="advance-online-publication"/>
</else-if>
Expand Down Expand Up @@ -2554,14 +2560,16 @@
<macro name="source-serial-volume-status-bib">
<group delimiter=", ">
<choose>
<if match="none" variable="collection-title issue number page supplement-number volume">
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if variable="issued"/>
<else-if variable="available-date">
<group delimiter=" ">
<!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->
<!-- TODO: use CSL term for `available-date` when available -->
<text value="accepted"/>
<date form="text" variable="available-date"/>
</group>
</if>
</else-if>
</choose>
<group delimiter=" ">
<text macro="source-date-status-bib"/>
Expand Down Expand Up @@ -3219,7 +3227,16 @@
<choose>
<if match="any" type="post webpage">
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
<text text-case="title" variable="container-title"/>
<!-- avoid possible repetition of `container-title` with author-date: -->
<choose>
<if variable="publisher">
<text text-case="title" variable="container-title"/>
</if>
<else-if type="webpage" variable="container-title container-title-short"/>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</if>
</choose>
<choose>
Expand Down Expand Up @@ -4131,7 +4148,17 @@
<text variable="references"/>
</if>
<else>
<text macro="author-bib"/>
<group delimiter=" ">
<text macro="author-bib"/>
<choose>
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
<if type="webpage" variable="publisher"/>
<else-if type="webpage" variable="container-title container-title-short">
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
</else-if>
</choose>
</group>
<text macro="date"/>
<text macro="title-and-source-bib"/>
<text variable="references"/>
Expand Down
53 changes: 40 additions & 13 deletions chicago-author-date-archive-place-first-no-url.csl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
</terms>
</locale>
<!-- Contents:

This file interprets Chicago using APA's four basic reference elements
(cf. CMOS18 14.2, 14.64, 14.161):

Expand All @@ -109,11 +109,11 @@
4.8. Medium
4.9. Archival location
4.10. URL or persistent identifier
Freeform annotations to bibliography entries:

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):

Expand Down Expand Up @@ -403,8 +403,6 @@
</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">
Expand Down Expand Up @@ -735,7 +733,14 @@
</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"/>
<choose>
<if variable="container-title-short">
<text text-case="title" variable="container-title-short"/>
</if>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</else-if>
</choose>
</macro>
Expand Down Expand Up @@ -2407,7 +2412,8 @@
<text macro="source-serial-name"/>
<choose>
<!-- 'ahead of print' is placed akin to a series (CMOS18 14.75) -->
<if match="any" variable="available-date collection-title issue number page status supplement-number volume volume-title"/>
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if match="any" variable="available-date status"/>
<else-if type="article-journal" variable="DOI issued">
<text term="advance-online-publication"/>
</else-if>
Expand Down Expand Up @@ -2554,14 +2560,16 @@
<macro name="source-serial-volume-status-bib">
<group delimiter=", ">
<choose>
<if match="none" variable="collection-title issue number page supplement-number volume">
<if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>
<else-if variable="issued"/>
<else-if variable="available-date">
<group delimiter=" ">
<!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->
<!-- TODO: use CSL term for `available-date` when available -->
<text value="accepted"/>
<date form="text" variable="available-date"/>
</group>
</if>
</else-if>
</choose>
<group delimiter=" ">
<text macro="source-date-status-bib"/>
Expand Down Expand Up @@ -3219,7 +3227,16 @@
<choose>
<if match="any" type="post webpage">
<!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->
<text text-case="title" variable="container-title"/>
<!-- avoid possible repetition of `container-title` with author-date: -->
<choose>
<if variable="publisher">
<text text-case="title" variable="container-title"/>
</if>
<else-if type="webpage" variable="container-title container-title-short"/>
<else>
<text text-case="title" variable="container-title"/>
</else>
</choose>
</if>
</choose>
<choose>
Expand Down Expand Up @@ -4108,7 +4125,17 @@
<text variable="references"/>
</if>
<else>
<text macro="author-bib"/>
<group delimiter=" ">
<text macro="author-bib"/>
<choose>
<!-- give key to abbreviations (CMOS18 13.127, 14.104) -->
<!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->
<if type="webpage" variable="publisher"/>
<else-if type="webpage" variable="container-title container-title-short">
<text prefix="(" suffix=")" text-case="title" variable="container-title"/>
</else-if>
</choose>
</group>
<text macro="date"/>
<text macro="title-and-source-bib"/>
<text variable="references"/>
Expand Down
Loading
Loading