So this is supposedly the last day before we freeze the schema.
Unfortunately, I have to bring up a potentially big/complex issue:
reference list configuration and grouping. That does not show up in the
branch schema.
Is there any reason I can’t just copy over the old definitions below
(with the exception of the type pattern)?
Configures the formatting for headings, and optional sectioning.
div {
cs-list =
element cs:list {
element cs:heading {
element cs:text {
attribute term-name {
“references” | “works cited” | “bibliography”
}
}?
},
Section*
}
## Handles grouping in reference lists.
Section =
element section {
Section-group-options,
cs-list.heading,
(cs-list.type*
> element subsection {
Section-group-options, cs-list.heading, cs-list.type*
}+)
}
## Section-group-options
div {
## The grouping logic is such that if a reference is not included
## in a specified group, then it is understood to be a part of a
## default group. If, for example, one configures a "not cited"
## section, then all cited references are part of a default group.
Section-group-options =
## Criterion to use for grouping. The "named group" option
## is a user or application selectable category that is not
## covered by the other options.
attribute group-by {
"author" | "type" | "notcited" | "year" | "named group"
},
## Where named group is used, the name to group on.
(attribute group-name { text }
>
## Where type group is used, the type to group on.
attribute group-type { cs-types.optional_list })?
}
cs-list.type =
element cs:type {
attribute name { text }
}
cs-list.heading =
element heading {
attribute type { "author" | "year" }
}
}