Skip to content

Commit e0de897

Browse files
committed
Merge branch 'bwiernik-bugfixes' into v1.0
2 parents 199c9ce + b738095 commit e0de897

File tree

1 file changed

+11
-73
lines changed

1 file changed

+11
-73
lines changed

schemas/styles/csl.rnc

Lines changed: 11 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ div {
4444
(style.locale*
4545
& style.macro*
4646
& style.citation
47-
& style.intext?
4847
& style.bibliography?)
4948
}
5049
dependent-style.style =
@@ -58,7 +57,7 @@ div {
5857
version =
5958

6059
## Indicate CSL version compatibility.
61-
[ a:defaultValue = "1.1" ] attribute version { "1.1" }
60+
[ a:defaultValue = "1.0" ] attribute version { "1.0" }
6261
}
6362
# ==============================================================================
6463

@@ -343,13 +342,6 @@ div {
343342

344343
## Use to describe the formatting of citations.
345344
element cs:citation { citation.options, sort?, citation.layout }
346-
style.intext =
347-
348-
## Defines the author-only rendering for assembly of a textual citations
349-
## (for example, "Doe [3]" or "Doe (2018)"), where the output expectations
350-
## for in-text authors are different than the default citation rendering;
351-
## for example, in APA, or numeric styles.
352-
element cs:intext { citation.options, sort?, citation.layout }
353345
style.bibliography =
354346

355347
## Use to describe the formatting of the bibliography.
@@ -405,18 +397,14 @@ div {
405397
name.attributes =
406398

407399
## Use to separate the second-to-last and last name of a name list by
408-
## the "and" term.
400+
## the "and" term or ampersand.
409401
attribute and {
410402

411-
## Use the "and" term "long" form (e.g., "Doe, Johnson and Smith").
412-
"long"
403+
## Use the "and" term (e.g., "Doe, Johnson and Smith").
404+
"text"
413405
|
414-
## Use the "and" term "symbol" form (e.g., "Doe, Johnson & Smith").
406+
## Use the "ampersand" (e.g., "Doe, Johnson & Smith").
415407
"symbol"
416-
|
417-
## Use the "and" term "short" form. Not common in English, but is seen in other languages.
418-
## In German, for example: "Doe, Johnson u. Smith, where "u." is short for "und."
419-
"short"
420408
}?,
421409

422410
## Specify when the name delimiter is used between a truncated name list
@@ -646,11 +634,8 @@ div {
646634
|
647635
## Specify verbatim text.
648636
attribute value { text }
649-
| ((attribute variable { variables.numbers | variables.strings },
650-
[ a:defaultValue = "long" ] attribute form { "short" | "long" })
651-
| (attribute variable { variables.titles },
652-
[ a:defaultValue = "long" ]
653-
attribute form { "short" | "long" | "sub" | "main" })?)
637+
| ((attribute variable { variables.standard },
638+
[ a:defaultValue = "long" ] attribute form { "short" | "long" })?)
654639
}
655640
# ==============================================================================
656641

@@ -723,23 +708,20 @@ div {
723708
style.demote-non-dropping-particle,
724709
style.initialize-with-hyphen,
725710
style.page-range-format,
726-
title-inheritable-options,
727711
names-inheritable-options,
728712
name-inheritable-options
729713
citation.options =
730714
citation.cite-group-delimiter,
731715
citation.collapse-options,
732716
citation.disambiguate-options,
733717
citation.near-note-distance,
734-
title-inheritable-options,
735718
names-inheritable-options,
736719
name-inheritable-options
737720
bibliography.options =
738721
bibliography.hanging-indent,
739722
bibliography.line-formatting-options,
740723
bibliography.second-field-align,
741724
bibliography.subsequent-author-substitute-options,
742-
title-inheritable-options,
743725
names-inheritable-options,
744726
name-inheritable-options
745727
style.demote-non-dropping-particle =
@@ -763,11 +745,9 @@ div {
763745
"expanded"
764746
| "minimal"
765747
| "minimal-two"
766-
| "minimal-oup"
767748
| "chicago"
768749
| "chicago-15"
769750
| "chicago-16"
770-
| "mhra"
771751
}?
772752
citation.cite-group-delimiter =
773753

@@ -908,48 +888,6 @@ div {
908888
"partial-first"
909889
}?
910890

911-
## Options affecting rendering of title variables, for cs:style, cs:citation and cs:bibliography
912-
title-inheritable-options =
913-
914-
## Inheritable title option, specify the delimiter between "title-main" and "title-sub".
915-
attribute title-delimiter { text }?,
916-
917-
## Inheritable title option, specify the delimiter between multiple subtitles.
918-
## The same as "title-delimiter" if not specified.
919-
attribute title-sub-delimiter { text }?,
920-
921-
## Inheritable title option, specify how titles are split into "title-main" and "title-sub".
922-
[ a:defaultValue = "simple" ]
923-
attribute title-split {
924-
925-
## Matches "."", ":", "::", "!", "?"
926-
"simple"
927-
|
928-
## Matches the values for "simple" plus ";"
929-
"extended"
930-
|
931-
## Matches the values for "simple" plus "—" and ";"
932-
"full"
933-
|
934-
## Matches the values for "simple" plus ";""
935-
## and "[;,] or[,:]" (see CMoS 14.91), e.g. "Moby-Dick; or, The Whale"
936-
"chicago"
937-
}?,
938-
939-
## Inheritable title option, specify which delimiters are normalized.
940-
[ a:defaultValue = "simple" ]
941-
attribute normalize-title-delimiters {
942-
943-
## Normalize "."", ":", "::"
944-
"simple"
945-
|
946-
## Normalize the values for "simple" plus ";"
947-
"extended"
948-
|
949-
## Normalize the values for "simple" plus "—" and ";"
950-
"full"
951-
}?
952-
953891
## Options affecting cs:names, for cs:style, cs:citation and cs:bibliography.
954892
names-inheritable-options =
955893

@@ -1062,16 +1000,16 @@ div {
10621000
## Capitalizes the first character (other characters remain in
10631001
## their original case).
10641002
"capitalize-first"
1065-
|
1066-
## Capitalizes the first character and the first character of a subtitle
1067-
## (other characters remain in their original case).
1068-
"capitalize-subtitle"
10691003
|
10701004
## Capitalizes the first character of every word (other characters
10711005
## remain in their original case).
10721006
"capitalize-all"
10731007
|
10741008
## Renders text in title case.
10751009
"title"
1010+
|
1011+
## Renders text in sentence case.
1012+
## Deprecated. Will be removed in CSL 1.1
1013+
"sentence"
10761014
}?
10771015
}

0 commit comments

Comments
 (0)