Skip to content

Commit

Permalink
Merge pull request #393 from denismaier/fix-form-again
Browse files Browse the repository at this point in the history
Bugfixes for 1.0.2
  • Loading branch information
bwiernik authored Jun 18, 2021
2 parents c4445ab + 10dec41 commit ea19f7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions schemas/styles/csl-variables.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ div {
| "reviewed-title"
| "title"
| "volume-title"
| # Short title forms. Will be removed in CSL 1.1
"title-short"
| "container-title-short"

## String variables
variables.strings =
Expand Down
6 changes: 4 additions & 2 deletions schemas/styles/csl.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,10 @@ div {
|
## Specify verbatim text.
attribute value { text }
| (attribute variable { variables.standard },
[ a:defaultValue = "long" ] attribute form { "short" | "long" })?
| (
## Select a variable.
attribute variable { variables.standard },
[ a:defaultValue = "long" ] attribute form { "short" | "long" }?)
}
# ==============================================================================

Expand Down

0 comments on commit ea19f7a

Please sign in to comment.