Skip to content

Commit

Permalink
Schema: add in double brackets (PR #2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-fitzpatrick authored and rbeezer committed Jul 17, 2024
1 parent 8e7fa98 commit ba2ee89
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
3 changes: 3 additions & 0 deletions schema/pretext.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,7 @@
Group |=
element q {TextLong} |
element sq {TextLong} |
element dblbrackets {TextLong} |
element angles {TextLong} |
element dblbrackets {TextLong}

Expand Down Expand Up @@ -1566,6 +1567,8 @@
element rsq {empty} |
element rq {empty} |
element lq {empty} |
element ldblbracket {empty} |
element rdblbracket {empty} |
element langle {empty}|
element rangle {empty}

Expand Down
9 changes: 9 additions & 0 deletions schema/pretext.rng
Original file line number Diff line number Diff line change
Expand Up @@ -3753,6 +3753,9 @@
<element name="sq">
<ref name="TextLong"/>
</element>
<element name="dblbrackets">
<ref name="TextLong"/>
</element>
<element name="angles">
<ref name="TextLong"/>
</element>
Expand Down Expand Up @@ -3983,6 +3986,12 @@
<element name="lq">
<empty/>
</element>
<element name="ldblbracket">
<empty/>
</element>
<element name="rdblbracket">
<empty/>
</element>
<element name="langle">
<empty/>
</element>
Expand Down
3 changes: 3 additions & 0 deletions schema/pretext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@
element rsq {empty} |
element rq {empty} |
element lq {empty} |
element ldblbracket {empty} |
element rdblbracket {empty} |
element langle {empty}|
element rangle {empty}
</code>
Expand Down Expand Up @@ -944,6 +946,7 @@
Group |=
element q {TextLong} |
element sq {TextLong} |
element dblbrackets {TextLong} |
element angles {TextLong} |
element dblbrackets {TextLong}
</code>
Expand Down
13 changes: 11 additions & 2 deletions schema/pretext.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3200,6 +3200,7 @@
<xs:choice>
<xs:element ref="q"/>
<xs:element ref="sq"/>
<xs:element ref="dblbrackets"/>
<xs:element ref="angles"/>
<xs:element ref="dblbrackets"/>
</xs:choice>
Expand Down Expand Up @@ -3249,12 +3250,12 @@
<xs:group ref="TextLong"/>
</xs:complexType>
</xs:element>
<xs:element name="angles">
<xs:element name="dblbrackets">
<xs:complexType mixed="true">
<xs:group ref="TextLong"/>
</xs:complexType>
</xs:element>
<xs:element name="dblbrackets">
<xs:element name="angles">
<xs:complexType mixed="true">
<xs:group ref="TextLong"/>
</xs:complexType>
Expand Down Expand Up @@ -3457,6 +3458,8 @@
<xs:element ref="rsq"/>
<xs:element ref="rq"/>
<xs:element ref="lq"/>
<xs:element ref="ldblbracket"/>
<xs:element ref="rdblbracket"/>
<xs:element ref="langle"/>
<xs:element ref="rangle"/>
</xs:choice>
Expand Down Expand Up @@ -3509,6 +3512,12 @@
<xs:element name="lq">
<xs:complexType/>
</xs:element>
<xs:element name="ldblbracket">
<xs:complexType/>
</xs:element>
<xs:element name="rdblbracket">
<xs:complexType/>
</xs:element>
<xs:element name="langle">
<xs:complexType/>
</xs:element>
Expand Down

0 comments on commit ba2ee89

Please sign in to comment.