Skip to content

Commit

Permalink
Add locator term sub-verbo, remove legacy workaround (#292)
Browse files Browse the repository at this point in the history
This changes sub verbo to sub-verbo so this will be testable as is.
  • Loading branch information
denismaier authored and bwiernik committed Jul 8, 2020
1 parent 8fb2a98 commit 608d8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion schemas/styles/csl-choose.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ div {
|
## Tests whether the locator matches the given locator types.
attribute locator {
list { (terms.locator.testable | "sub-verbo")+ }
list { (terms.locator)+ }
}
|
## Tests whether the cite position matches the given positions.
Expand Down
10 changes: 1 addition & 9 deletions schemas/styles/csl-terms.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ div {

## Locators
terms.locator =
terms.locator.testable
|
## "sub verbo" is recognized as "sub" & "verbo" in attribute lists; term
## should be renamed to "sub-verbo"
"sub verbo"

## Locator terms that can be tested with the "locator" conditional
## ("sub verbo" can be tested with "sub-verbo")
terms.locator.testable =
"act"
| "appendix"
| "article-locator"
Expand All @@ -151,6 +142,7 @@ div {
| "paragraph"
| "rule"
| "scene"
| "sub-verbo"
| "table"
| "timestamp"
| "title"
Expand Down

0 comments on commit 608d8ac

Please sign in to comment.