summaryrefslogtreecommitdiff
path: root/biblio/citation-style-language/chicago-author-date.csl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-06-10 03:02:03 +0000
committerNorbert Preining <norbert@preining.info>2024-06-10 03:02:03 +0000
commitbfc721e3f53794233ef294d666fa1965254c6b8c (patch)
tree9b139947b8f9afeb3ff12f652fa8e87eea5caa2b /biblio/citation-style-language/chicago-author-date.csl
parent5fe2699eacde8c11786d08009ae7122a698ff6ed (diff)
CTAN sync 202406100302
Diffstat (limited to 'biblio/citation-style-language/chicago-author-date.csl')
-rw-r--r--biblio/citation-style-language/chicago-author-date.csl28
1 files changed, 24 insertions, 4 deletions
diff --git a/biblio/citation-style-language/chicago-author-date.csl b/biblio/citation-style-language/chicago-author-date.csl
index ae60f7e679..e759c377e2 100644
--- a/biblio/citation-style-language/chicago-author-date.csl
+++ b/biblio/citation-style-language/chicago-author-date.csl
@@ -29,10 +29,14 @@
<contributor>
<name>Brenton M. Wiernik</name>
</contributor>
+ <contributor>
+ <name>Zeping Lee</name>
+ <email>zepinglee@gmail.com</email>
+ </contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The author-date variant of the Chicago style</summary>
- <updated>2023-12-25T13:06:05-05:00</updated>
+ <updated>2024-05-12T12:13:15-04: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">
@@ -385,8 +389,19 @@
</if>
<else-if type="article-journal">
<choose>
- <if variable="volume issue" match="any">
- <text variable="page" prefix=": "/>
+ <if variable="volume">
+ <choose>
+ <if variable="issue">
+ <text variable="page" prefix=": "/>
+ </if>
+ <else>
+ <!-- CMoS 15.48: If the month or season is included, it is
+ enclosed in parentheses, and a space follows the colon.
+ Unfortunately we can't check the month in CSL v1.0.2.
+ -->
+ <text variable="page" prefix=":"/>
+ </else>
+ </choose>
</if>
<else>
<text variable="page" prefix=", "/>
@@ -501,6 +516,11 @@
</else>
</choose>
</macro>
+ <macro name="date-sort">
+ <date variable="issued">
+ <date-part name="year"/>
+ </date>
+ </macro>
<macro name="day-month">
<date variable="issued">
<date-part name="month"/>
@@ -658,7 +678,7 @@
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0">
<sort>
<key macro="contributors"/>
- <key variable="issued"/>
+ <key macro="date-sort"/>
<key variable="title"/>
</sort>
<layout suffix=".">