Skip to content

Commit 3d00903

Browse files
denismaierbdarcus
authored andcommitted
Add locator term sub-verbo, remove legacy workaround (#292)
This changes sub verbo to sub-verbo so this will be testable as is.
1 parent c993500 commit 3d00903

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

schemas/styles/csl-choose.rnc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ div {
4040
|
4141
## Tests whether the locator matches the given locator types.
4242
attribute locator {
43-
list { (terms.locator.testable | "sub-verbo")+ }
43+
list { (terms.locator)+ }
4444
}
4545
|
4646
## Tests whether the cite position matches the given positions.

schemas/styles/csl-terms.rnc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,6 @@ div {
125125

126126
## Locators
127127
terms.locator =
128-
terms.locator.testable
129-
|
130-
## "sub verbo" is recognized as "sub" & "verbo" in attribute lists; term
131-
## should be renamed to "sub-verbo"
132-
"sub verbo"
133-
134-
## Locator terms that can be tested with the "locator" conditional
135-
## ("sub verbo" can be tested with "sub-verbo")
136-
terms.locator.testable =
137128
"act"
138129
| "appendix"
139130
| "article-locator"
@@ -151,6 +142,7 @@ div {
151142
| "paragraph"
152143
| "rule"
153144
| "scene"
145+
| "sub-verbo"
154146
| "table"
155147
| "timestamp"
156148
| "title"

0 commit comments

Comments
 (0)