Skip to content

Commit

Permalink
CMoS: fix the delimiter before journal pages (discourse1846) (#7042)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 12, 2024
1 parent a056170 commit 434df0a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
21 changes: 18 additions & 3 deletions chicago-author-date-no-em-dash.csl
Original file line number Diff line number Diff line change
Expand Up @@ -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>2024-04-09T10:33:15+00:00</updated>
<updated>2024-05-09T13:08:52+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">
Expand Down Expand Up @@ -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=", "/>
Expand Down
21 changes: 18 additions & 3 deletions chicago-author-date.csl
Original file line number Diff line number Diff line change
Expand Up @@ -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>2024-04-09T10:33:14+00:00</updated>
<updated>2024-05-09T13:08:37+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">
Expand Down Expand Up @@ -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=", "/>
Expand Down

0 comments on commit 434df0a

Please sign in to comment.