metanorma-cc 2.8.10 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,6 +130,10 @@ dl dd {
130
130
  grid-column-start: 2;
131
131
  }
132
132
 
133
+ dl:has(dt .stem) {
134
+ grid-template-columns: fit-content(8em) auto;
135
+ }
136
+
133
137
  b, strong {
134
138
  font-weight: bold;
135
139
  }
@@ -130,6 +130,10 @@ dl dd {
130
130
  grid-column-start: 2;
131
131
  }
132
132
 
133
+ dl:has(dt .stem) {
134
+ grid-template-columns: fit-content(8em) auto;
135
+ }
136
+
133
137
  b, strong {
134
138
  font-weight: bold;
135
139
  }
@@ -954,30 +954,36 @@ in case the table cannot be rendered accessibly (HTML 5)</a:documentation>
954
954
  <define name="TdBody">
955
955
  <choice>
956
956
  <zeroOrMore>
957
- <group>
958
- <a:documentation>Table cell is a block</a:documentation>
957
+ <choice>
958
+ <a:documentation>Table cell is a block; footnotes admitted inline (metanorma-model-iso#154)</a:documentation>
959
959
  <ref name="TextElement"/>
960
- </group>
960
+ <ref name="fn"/>
961
+ </choice>
961
962
  </zeroOrMore>
962
963
  <oneOrMore>
963
- <ref name="paragraph-with-footnote">
964
- <a:documentation>Table cell contains a block</a:documentation>
965
- </ref>
964
+ <choice>
965
+ <a:documentation>Table cell contains a block; notes admitted alongside paragraphs (metanorma-model-iso#157)</a:documentation>
966
+ <ref name="paragraph-with-footnote"/>
967
+ <ref name="note"/>
968
+ </choice>
966
969
  </oneOrMore>
967
970
  </choice>
968
971
  </define>
969
972
  <define name="TdNoIdBody">
970
973
  <choice>
971
974
  <zeroOrMore>
972
- <group>
973
- <a:documentation>Table cell is a block</a:documentation>
975
+ <choice>
976
+ <a:documentation>Table cell is a block; footnotes admitted inline (metanorma-model-iso#154)</a:documentation>
974
977
  <ref name="TextElement"/>
975
- </group>
978
+ <ref name="fn"/>
979
+ </choice>
976
980
  </zeroOrMore>
977
981
  <oneOrMore>
978
- <ref name="paragraph-with-footnote-no-id">
979
- <a:documentation>Table cell contains a block</a:documentation>
980
- </ref>
982
+ <choice>
983
+ <a:documentation>Table cell contains a block; notes admitted alongside paragraphs (metanorma-model-iso#157)</a:documentation>
984
+ <ref name="paragraph-with-footnote-no-id"/>
985
+ <ref name="note-no-id"/>
986
+ </choice>
981
987
  </oneOrMore>
982
988
  </choice>
983
989
  </define>
@@ -1030,16 +1036,9 @@ in case the table cannot be rendered accessibly (HTML 5)</a:documentation>
1030
1036
  </ref>
1031
1037
  </optional>
1032
1038
  <oneOrMore>
1033
- <choice>
1039
+ <ref name="ExampleBodyContent">
1034
1040
  <a:documentation>Content of the example</a:documentation>
1035
- <ref name="formula"/>
1036
- <ref name="ul"/>
1037
- <ref name="ol"/>
1038
- <ref name="dl"/>
1039
- <ref name="quote"/>
1040
- <ref name="sourcecode"/>
1041
- <ref name="paragraph-with-footnote"/>
1042
- </choice>
1041
+ </ref>
1043
1042
  </oneOrMore>
1044
1043
  <zeroOrMore>
1045
1044
  <ref name="note">
@@ -1047,6 +1046,23 @@ in case the table cannot be rendered accessibly (HTML 5)</a:documentation>
1047
1046
  </ref>
1048
1047
  </zeroOrMore>
1049
1048
  </define>
1049
+ <define name="ExampleBodyContent">
1050
+ <a:documentation>Content alternatives of an example. Named as an extension hook: higher
1051
+ layers may admit further alternatives additively (|=) without copying the
1052
+ example model (metanorma-model-iso#160). note is admitted interleaved as
1053
+ attested authoring practice (metanorma-model-iso#157, maintainer hierarchy
1054
+ reservation recorded there)</a:documentation>
1055
+ <choice>
1056
+ <ref name="formula"/>
1057
+ <ref name="ul"/>
1058
+ <ref name="ol"/>
1059
+ <ref name="dl"/>
1060
+ <ref name="quote"/>
1061
+ <ref name="sourcecode"/>
1062
+ <ref name="paragraph-with-footnote"/>
1063
+ <ref name="note"/>
1064
+ </choice>
1065
+ </define>
1050
1066
  <define name="ExampleNoIdBody">
1051
1067
  <optional>
1052
1068
  <ref name="tname">
@@ -1054,16 +1070,9 @@ in case the table cannot be rendered accessibly (HTML 5)</a:documentation>
1054
1070
  </ref>
1055
1071
  </optional>
1056
1072
  <oneOrMore>
1057
- <choice>
1073
+ <ref name="ExampleNoIdBodyContent">
1058
1074
  <a:documentation>Content of the example</a:documentation>
1059
- <ref name="formula-no-id"/>
1060
- <ref name="ul-no-id"/>
1061
- <ref name="ol-no-id"/>
1062
- <ref name="dl-no-id"/>
1063
- <ref name="quote-no-id"/>
1064
- <ref name="sourcecode-no-id"/>
1065
- <ref name="paragraph-with-footnote-no-id"/>
1066
- </choice>
1075
+ </ref>
1067
1076
  </oneOrMore>
1068
1077
  <zeroOrMore>
1069
1078
  <ref name="note-no-id">
@@ -1071,6 +1080,20 @@ in case the table cannot be rendered accessibly (HTML 5)</a:documentation>
1071
1080
  </ref>
1072
1081
  </zeroOrMore>
1073
1082
  </define>
1083
+ <define name="ExampleNoIdBodyContent">
1084
+ <a:documentation>Content alternatives of the no-id example variant; extension hook as
1085
+ ExampleBodyContent (metanorma-model-iso#160)</a:documentation>
1086
+ <choice>
1087
+ <ref name="formula-no-id"/>
1088
+ <ref name="ul-no-id"/>
1089
+ <ref name="ol-no-id"/>
1090
+ <ref name="dl-no-id"/>
1091
+ <ref name="quote-no-id"/>
1092
+ <ref name="sourcecode-no-id"/>
1093
+ <ref name="paragraph-with-footnote-no-id"/>
1094
+ <ref name="note-no-id"/>
1095
+ </choice>
1096
+ </define>
1074
1097
  <define name="admonition">
1075
1098
  <a:documentation>A sidebar block outside of the main flow of text, conveying particular warnings or supplementary text to the reader</a:documentation>
1076
1099
  <element name="admonition">
@@ -1527,12 +1550,16 @@ to indicate that the index range covers a range of locations between the current
1527
1550
  <ref name="index-primary">
1528
1551
  <a:documentation>Primary index term to be recorded at the current location</a:documentation>
1529
1552
  </ref>
1530
- <ref name="index-secondary">
1531
- <a:documentation>Secondary index term to be recorded at the current location</a:documentation>
1532
- </ref>
1533
- <ref name="index-tertiary">
1534
- <a:documentation>Tertiary index term to be recorded at the current </a:documentation>
1535
- </ref>
1553
+ <optional>
1554
+ <ref name="index-secondary">
1555
+ <a:documentation>Secondary index term to be recorded at the current location</a:documentation>
1556
+ </ref>
1557
+ </optional>
1558
+ <optional>
1559
+ <ref name="index-tertiary">
1560
+ <a:documentation>Tertiary index term to be recorded at the current </a:documentation>
1561
+ </ref>
1562
+ </optional>
1536
1563
  </element>
1537
1564
  </define>
1538
1565
  <define name="index-xref">
@@ -1547,12 +1574,16 @@ The text in the inline element is the primary index term to be be cross-referenc
1547
1574
  <ref name="index-primary">
1548
1575
  <a:documentation>The primary index term to be cross-referenced</a:documentation>
1549
1576
  </ref>
1550
- <ref name="index-secondary">
1551
- <a:documentation>The secondary index term to be cross-referenced</a:documentation>
1552
- </ref>
1553
- <ref name="index-tertiary">
1554
- <a:documentation>The tertiary index term to be cross-referenced</a:documentation>
1555
- </ref>
1577
+ <optional>
1578
+ <ref name="index-secondary">
1579
+ <a:documentation>The secondary index term to be cross-referenced</a:documentation>
1580
+ </ref>
1581
+ </optional>
1582
+ <optional>
1583
+ <ref name="index-tertiary">
1584
+ <a:documentation>The tertiary index term to be cross-referenced</a:documentation>
1585
+ </ref>
1586
+ </optional>
1556
1587
  <element name="target">
1557
1588
  <a:documentation>The index term to be cross-referenced to</a:documentation>
1558
1589
  <oneOrMore>
@@ -1933,7 +1964,8 @@ or as the string "auto"</a:documentation>
1933
1964
  <define name="mathml">
1934
1965
  <a:documentation>Encoding of MathML: the official W3C MathML 4 grammar (namespace
1935
1966
  http://www.w3.org/1998/Math/MathML), via the metanorma wrapper in
1936
- grammars/mathml/. See grammars/mathml/README.adoc and basicdoc-models#35.</a:documentation>
1967
+ grammars/mathml/. See grammars/mathml/README.adoc, basicdoc-models#35,
1968
+ and the MathML 3 -&gt; 4 migration: basicdoc-models#39 / metanorma#585.</a:documentation>
1937
1969
  <externalRef href="metanorma-mathml.rng"/>
1938
1970
  </define>
1939
1971
  <define name="StemAttributes">
@@ -50,6 +50,24 @@
50
50
  </choice>
51
51
  </element>
52
52
  </define>
53
+ <define name="formattedref">
54
+ <a:documentation>Footnotes are admitted in formatted references in the standoc context:
55
+ free-form bibliography entries may carry authored footnotes
56
+ (metanorma-model-iso#154)</a:documentation>
57
+ <element name="formattedref">
58
+ <optional>
59
+ <attribute name="format">
60
+ <a:documentation>format of formatted reference; Metanorma assumes references are formatted as Metanorma XML</a:documentation>
61
+ </attribute>
62
+ </optional>
63
+ <oneOrMore>
64
+ <choice>
65
+ <ref name="TextElement"/>
66
+ <ref name="fn"/>
67
+ </choice>
68
+ </oneOrMore>
69
+ </element>
70
+ </define>
53
71
  </include>
54
72
  <define name="ext">
55
73
  <a:documentation>The extension point of the bibliographic description of a standardisation document</a:documentation>