Skip to content

Commit 199c9ce

Browse files
authored
Add chicago page range variants (#380)
Based on discussion re: citation-style-language/documentation#115, add chicago-15 and chicago-16 page range formats. Chicago changed its page range collapse rules in 16th edition. CSL currently follows 15th edition rules. This PR adds specific formats for the two versions. For 1.0.2, chicago will keep its current meaning and be an alias for chicago-15. In 1.1 and later, it will change to be an alias for chicago-16.
1 parent 472bdf1 commit 199c9ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Checkout Repository
3535
uses: actions/checkout@v2
3636
- name: Install dependencies
37-
run: sudo apt-get install --yes trang
37+
run: sudo apt-get update && sudo apt-get install --yes trang
3838
- name: Check schema validity
3939
run: trang schemas/styles/csl.rnc csl.rng && trang csl.rng csl.rnc
4040
- name: Check schema formatting

schemas/styles/csl.rnc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,8 @@ div {
765765
| "minimal-two"
766766
| "minimal-oup"
767767
| "chicago"
768+
| "chicago-15"
769+
| "chicago-16"
768770
| "mhra"
769771
}?
770772
citation.cite-group-delimiter =

0 commit comments

Comments
 (0)