lib/asciidoctor/csand/basicdoc.rng in metanorma-csand-1.3.7 vs lib/asciidoctor/csand/basicdoc.rng in metanorma-csand-1.3.8
- old
+ new
@@ -50,13 +50,13 @@
<attribute name="script"/>
</optional>
<optional>
<ref name="section-title"/>
</optional>
- <optional>
+ <zeroOrMore>
<ref name="BasicBlock"/>
- </optional>
+ </zeroOrMore>
<zeroOrMore>
<ref name="note"/>
</zeroOrMore>
</define>
<define name="references">
@@ -283,10 +283,13 @@
<element name="pre">
<attribute name="id">
<data type="ID"/>
</attribute>
<optional>
+ <attribute name="alt"/>
+ </optional>
+ <optional>
<ref name="tname"/>
</optional>
<text/>
<zeroOrMore>
<ref name="note"/>
@@ -562,10 +565,11 @@
<ref name="hyperlink"/>
<ref name="hr"/>
<ref name="pagebreak"/>
<ref name="bookmark"/>
<ref name="image"/>
+ <ref name="index"/>
</choice>
</define>
<define name="PureTextElement">
<choice>
<text/>
@@ -684,9 +688,20 @@
</element>
</define>
<define name="pagebreak">
<element name="pagebreak">
<empty/>
+ </element>
+ </define>
+ <define name="index">
+ <element name="index">
+ <attribute name="primary"/>
+ <optional>
+ <attribute name="secondary"/>
+ </optional>
+ <optional>
+ <attribute name="tertiary"/>
+ </optional>
</element>
</define>
<!-- bare ID element, used for referencing arbitrary spans of text -->
<define name="bookmark">
<element name="bookmark">