metanorma-generic 1.10.4 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/generic/basicdoc.rng +21 -4
- data/lib/asciidoctor/generic/isodoc.rng +419 -77
- data/lib/asciidoctor/generic/reqt.rng +23 -2
- data/lib/metanorma/generic/version.rb +1 -1
- data/metanorma-generic.gemspec +1 -2
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0f723b5f6592e4b954120f9dfbd3da6853cdf357a9361bb4e3514fc2a76a0e7
|
4
|
+
data.tar.gz: f4fa24394f18ed2826e038a83b90d9c67684c005e7be75eb9a35cd0b49a349bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f3a5df30ebbd0bc6de1a4099d8fe4cc2c90c8ddfed32d171ce2ad2de2ce8e0f37d23bc1d689519a6d791914e281d0c6de81b7d48c43e2870a68a49f0aaccf37
|
7
|
+
data.tar.gz: 7e4cb9673702cb3a1da9cbb4bd6f7acf6827cac3889f0a0fc2477ed6c35cd78ed4a4bfcd4aebf1d2138781898eba3b7a6d4b80affc1639ccb1b46699f214e9ba
|
@@ -624,6 +624,9 @@
|
|
624
624
|
<choice>
|
625
625
|
<ref name="PureTextElement"/>
|
626
626
|
<ref name="stem"/>
|
627
|
+
<ref name="eref"/>
|
628
|
+
<ref name="xref"/>
|
629
|
+
<ref name="hyperlink"/>
|
627
630
|
</choice>
|
628
631
|
</zeroOrMore>
|
629
632
|
</element>
|
@@ -634,6 +637,9 @@
|
|
634
637
|
<choice>
|
635
638
|
<ref name="PureTextElement"/>
|
636
639
|
<ref name="stem"/>
|
640
|
+
<ref name="eref"/>
|
641
|
+
<ref name="xref"/>
|
642
|
+
<ref name="hyperlink"/>
|
637
643
|
</choice>
|
638
644
|
</zeroOrMore>
|
639
645
|
</element>
|
@@ -641,7 +647,12 @@
|
|
641
647
|
<define name="tt">
|
642
648
|
<element name="tt">
|
643
649
|
<zeroOrMore>
|
644
|
-
<
|
650
|
+
<choice>
|
651
|
+
<ref name="PureTextElement"/>
|
652
|
+
<ref name="eref"/>
|
653
|
+
<ref name="xref"/>
|
654
|
+
<ref name="hyperlink"/>
|
655
|
+
</choice>
|
645
656
|
</zeroOrMore>
|
646
657
|
</element>
|
647
658
|
</define>
|
@@ -822,7 +833,9 @@
|
|
822
833
|
<attribute name="alt"/>
|
823
834
|
</optional>
|
824
835
|
<ref name="CitationType"/>
|
825
|
-
<
|
836
|
+
<oneOrMore>
|
837
|
+
<ref name="PureTextElement"/>
|
838
|
+
</oneOrMore>
|
826
839
|
</define>
|
827
840
|
<define name="hyperlink">
|
828
841
|
<element name="link">
|
@@ -835,7 +848,9 @@
|
|
835
848
|
<optional>
|
836
849
|
<attribute name="alt"/>
|
837
850
|
</optional>
|
838
|
-
<
|
851
|
+
<oneOrMore>
|
852
|
+
<ref name="PureTextElement"/>
|
853
|
+
</oneOrMore>
|
839
854
|
</element>
|
840
855
|
</define>
|
841
856
|
<define name="xref">
|
@@ -849,7 +864,9 @@
|
|
849
864
|
<optional>
|
850
865
|
<attribute name="alt"/>
|
851
866
|
</optional>
|
852
|
-
<
|
867
|
+
<oneOrMore>
|
868
|
+
<ref name="PureTextElement"/>
|
869
|
+
</oneOrMore>
|
853
870
|
</element>
|
854
871
|
</define>
|
855
872
|
<define name="fn">
|
@@ -17,7 +17,7 @@
|
|
17
17
|
these elements; we just want one namespace for any child grammars
|
18
18
|
of this.
|
19
19
|
-->
|
20
|
-
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
20
|
+
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
21
21
|
<include href="reqt.rng"/>
|
22
22
|
<!-- include "biblio.rnc" { } -->
|
23
23
|
<include href="basicdoc.rng">
|
@@ -62,7 +62,9 @@
|
|
62
62
|
<data type="boolean"/>
|
63
63
|
</attribute>
|
64
64
|
</optional>
|
65
|
-
<
|
65
|
+
<oneOrMore>
|
66
|
+
<ref name="PureTextElement"/>
|
67
|
+
</oneOrMore>
|
66
68
|
</element>
|
67
69
|
</define>
|
68
70
|
<define name="xref">
|
@@ -100,7 +102,9 @@
|
|
100
102
|
<data type="boolean"/>
|
101
103
|
</attribute>
|
102
104
|
</optional>
|
103
|
-
<
|
105
|
+
<oneOrMore>
|
106
|
+
<ref name="PureTextElement"/>
|
107
|
+
</oneOrMore>
|
104
108
|
</element>
|
105
109
|
</define>
|
106
110
|
<define name="erefType">
|
@@ -130,7 +134,9 @@
|
|
130
134
|
</attribute>
|
131
135
|
</optional>
|
132
136
|
<ref name="CitationType"/>
|
133
|
-
<
|
137
|
+
<oneOrMore>
|
138
|
+
<ref name="PureTextElement"/>
|
139
|
+
</oneOrMore>
|
134
140
|
</define>
|
135
141
|
<define name="ul">
|
136
142
|
<element name="ul">
|
@@ -147,6 +153,14 @@
|
|
147
153
|
<data type="boolean"/>
|
148
154
|
</attribute>
|
149
155
|
</optional>
|
156
|
+
<optional>
|
157
|
+
<attribute name="tag"/>
|
158
|
+
</optional>
|
159
|
+
<optional>
|
160
|
+
<attribute name="multilingual-rendering">
|
161
|
+
<ref name="MultilingualRenderingType"/>
|
162
|
+
</attribute>
|
163
|
+
</optional>
|
150
164
|
<oneOrMore>
|
151
165
|
<ref name="ul_li"/>
|
152
166
|
</oneOrMore>
|
@@ -170,6 +184,14 @@
|
|
170
184
|
<data type="boolean"/>
|
171
185
|
</attribute>
|
172
186
|
</optional>
|
187
|
+
<optional>
|
188
|
+
<attribute name="tag"/>
|
189
|
+
</optional>
|
190
|
+
<optional>
|
191
|
+
<attribute name="multilingual-rendering">
|
192
|
+
<ref name="MultilingualRenderingType"/>
|
193
|
+
</attribute>
|
194
|
+
</optional>
|
173
195
|
<optional>
|
174
196
|
<attribute name="type">
|
175
197
|
<choice>
|
@@ -209,6 +231,14 @@
|
|
209
231
|
<data type="boolean"/>
|
210
232
|
</attribute>
|
211
233
|
</optional>
|
234
|
+
<optional>
|
235
|
+
<attribute name="tag"/>
|
236
|
+
</optional>
|
237
|
+
<optional>
|
238
|
+
<attribute name="multilingual-rendering">
|
239
|
+
<ref name="MultilingualRenderingType"/>
|
240
|
+
</attribute>
|
241
|
+
</optional>
|
212
242
|
<oneOrMore>
|
213
243
|
<ref name="dt"/>
|
214
244
|
<ref name="dd"/>
|
@@ -256,6 +286,14 @@
|
|
256
286
|
<data type="boolean"/>
|
257
287
|
</attribute>
|
258
288
|
</optional>
|
289
|
+
<optional>
|
290
|
+
<attribute name="tag"/>
|
291
|
+
</optional>
|
292
|
+
<optional>
|
293
|
+
<attribute name="multilingual-rendering">
|
294
|
+
<ref name="MultilingualRenderingType"/>
|
295
|
+
</attribute>
|
296
|
+
</optional>
|
259
297
|
<optional>
|
260
298
|
<ref name="tname"/>
|
261
299
|
</optional>
|
@@ -316,6 +354,14 @@
|
|
316
354
|
<optional>
|
317
355
|
<attribute name="width"/>
|
318
356
|
</optional>
|
357
|
+
<optional>
|
358
|
+
<attribute name="tag"/>
|
359
|
+
</optional>
|
360
|
+
<optional>
|
361
|
+
<attribute name="multilingual-rendering">
|
362
|
+
<ref name="MultilingualRenderingType"/>
|
363
|
+
</attribute>
|
364
|
+
</optional>
|
319
365
|
<optional>
|
320
366
|
<ref name="colgroup"/>
|
321
367
|
</optional>
|
@@ -366,6 +412,14 @@
|
|
366
412
|
<optional>
|
367
413
|
<attribute name="class"/>
|
368
414
|
</optional>
|
415
|
+
<optional>
|
416
|
+
<attribute name="tag"/>
|
417
|
+
</optional>
|
418
|
+
<optional>
|
419
|
+
<attribute name="multilingual-rendering">
|
420
|
+
<ref name="MultilingualRenderingType"/>
|
421
|
+
</attribute>
|
422
|
+
</optional>
|
369
423
|
<optional>
|
370
424
|
<ref name="source"/>
|
371
425
|
</optional>
|
@@ -424,6 +478,14 @@
|
|
424
478
|
<optional>
|
425
479
|
<attribute name="lang"/>
|
426
480
|
</optional>
|
481
|
+
<optional>
|
482
|
+
<attribute name="tag"/>
|
483
|
+
</optional>
|
484
|
+
<optional>
|
485
|
+
<attribute name="multilingual-rendering">
|
486
|
+
<ref name="MultilingualRenderingType"/>
|
487
|
+
</attribute>
|
488
|
+
</optional>
|
427
489
|
<optional>
|
428
490
|
<ref name="tname"/>
|
429
491
|
</optional>
|
@@ -472,6 +534,14 @@
|
|
472
534
|
<data type="boolean"/>
|
473
535
|
</attribute>
|
474
536
|
</optional>
|
537
|
+
<optional>
|
538
|
+
<attribute name="tag"/>
|
539
|
+
</optional>
|
540
|
+
<optional>
|
541
|
+
<attribute name="multilingual-rendering">
|
542
|
+
<ref name="MultilingualRenderingType"/>
|
543
|
+
</attribute>
|
544
|
+
</optional>
|
475
545
|
<ref name="stem"/>
|
476
546
|
<optional>
|
477
547
|
<ref name="dl"/>
|
@@ -500,6 +570,14 @@
|
|
500
570
|
<data type="boolean"/>
|
501
571
|
</attribute>
|
502
572
|
</optional>
|
573
|
+
<optional>
|
574
|
+
<attribute name="tag"/>
|
575
|
+
</optional>
|
576
|
+
<optional>
|
577
|
+
<attribute name="multilingual-rendering">
|
578
|
+
<ref name="MultilingualRenderingType"/>
|
579
|
+
</attribute>
|
580
|
+
</optional>
|
503
581
|
<zeroOrMore>
|
504
582
|
<ref name="TextElement"/>
|
505
583
|
</zeroOrMore>
|
@@ -527,6 +605,14 @@
|
|
527
605
|
<data type="boolean"/>
|
528
606
|
</attribute>
|
529
607
|
</optional>
|
608
|
+
<optional>
|
609
|
+
<attribute name="tag"/>
|
610
|
+
</optional>
|
611
|
+
<optional>
|
612
|
+
<attribute name="multilingual-rendering">
|
613
|
+
<ref name="MultilingualRenderingType"/>
|
614
|
+
</attribute>
|
615
|
+
</optional>
|
530
616
|
<zeroOrMore>
|
531
617
|
<choice>
|
532
618
|
<ref name="TextElement"/>
|
@@ -558,6 +644,14 @@
|
|
558
644
|
<data type="boolean"/>
|
559
645
|
</attribute>
|
560
646
|
</optional>
|
647
|
+
<optional>
|
648
|
+
<attribute name="tag"/>
|
649
|
+
</optional>
|
650
|
+
<optional>
|
651
|
+
<attribute name="multilingual-rendering">
|
652
|
+
<ref name="MultilingualRenderingType"/>
|
653
|
+
</attribute>
|
654
|
+
</optional>
|
561
655
|
<optional>
|
562
656
|
<ref name="quote-source"/>
|
563
657
|
</optional>
|
@@ -624,9 +718,6 @@
|
|
624
718
|
<zeroOrMore>
|
625
719
|
<ref name="BasicBlock"/>
|
626
720
|
</zeroOrMore>
|
627
|
-
<zeroOrMore>
|
628
|
-
<ref name="note"/>
|
629
|
-
</zeroOrMore>
|
630
721
|
<zeroOrMore>
|
631
722
|
<ref name="bibitem"/>
|
632
723
|
<zeroOrMore>
|
@@ -667,6 +758,14 @@
|
|
667
758
|
<optional>
|
668
759
|
<attribute name="type"/>
|
669
760
|
</optional>
|
761
|
+
<optional>
|
762
|
+
<attribute name="tag"/>
|
763
|
+
</optional>
|
764
|
+
<optional>
|
765
|
+
<attribute name="multilingual-rendering">
|
766
|
+
<ref name="MultilingualRenderingType"/>
|
767
|
+
</attribute>
|
768
|
+
</optional>
|
670
769
|
<oneOrMore>
|
671
770
|
<choice>
|
672
771
|
<ref name="paragraph"/>
|
@@ -703,14 +802,9 @@
|
|
703
802
|
<optional>
|
704
803
|
<ref name="section-title"/>
|
705
804
|
</optional>
|
706
|
-
<
|
707
|
-
<
|
708
|
-
|
709
|
-
</oneOrMore>
|
710
|
-
<zeroOrMore>
|
711
|
-
<ref name="note"/>
|
712
|
-
</zeroOrMore>
|
713
|
-
</group>
|
805
|
+
<oneOrMore>
|
806
|
+
<ref name="BasicBlock"/>
|
807
|
+
</oneOrMore>
|
714
808
|
</define>
|
715
809
|
<define name="li">
|
716
810
|
<element name="li">
|
@@ -845,6 +939,9 @@
|
|
845
939
|
<ref name="PureTextElement"/>
|
846
940
|
<ref name="stem"/>
|
847
941
|
<ref name="index"/>
|
942
|
+
<ref name="eref"/>
|
943
|
+
<ref name="xref"/>
|
944
|
+
<ref name="hyperlink"/>
|
848
945
|
</choice>
|
849
946
|
</zeroOrMore>
|
850
947
|
</element>
|
@@ -856,6 +953,9 @@
|
|
856
953
|
<ref name="PureTextElement"/>
|
857
954
|
<ref name="stem"/>
|
858
955
|
<ref name="index"/>
|
956
|
+
<ref name="eref"/>
|
957
|
+
<ref name="xref"/>
|
958
|
+
<ref name="hyperlink"/>
|
859
959
|
</choice>
|
860
960
|
</zeroOrMore>
|
861
961
|
</element>
|
@@ -866,6 +966,9 @@
|
|
866
966
|
<choice>
|
867
967
|
<ref name="PureTextElement"/>
|
868
968
|
<ref name="index"/>
|
969
|
+
<ref name="eref"/>
|
970
|
+
<ref name="xref"/>
|
971
|
+
<ref name="hyperlink"/>
|
869
972
|
</choice>
|
870
973
|
</zeroOrMore>
|
871
974
|
</element>
|
@@ -924,6 +1027,14 @@
|
|
924
1027
|
</define>
|
925
1028
|
</include>
|
926
1029
|
<!-- end overrides -->
|
1030
|
+
<define name="MultilingualRenderingType">
|
1031
|
+
<choice>
|
1032
|
+
<value>common</value>
|
1033
|
+
<value>all-columns</value>
|
1034
|
+
<value>parallel</value>
|
1035
|
+
<value>tag</value>
|
1036
|
+
</choice>
|
1037
|
+
</define>
|
927
1038
|
<define name="docsubtype">
|
928
1039
|
<element name="subdoctype">
|
929
1040
|
<ref name="DocumentSubtype"/>
|
@@ -1036,6 +1147,7 @@
|
|
1036
1147
|
<ref name="svgmap"/>
|
1037
1148
|
<ref name="inputform"/>
|
1038
1149
|
<ref name="toc"/>
|
1150
|
+
<ref name="passthrough"/>
|
1039
1151
|
</choice>
|
1040
1152
|
</define>
|
1041
1153
|
<define name="toc">
|
@@ -1043,6 +1155,14 @@
|
|
1043
1155
|
<ref name="ul"/>
|
1044
1156
|
</element>
|
1045
1157
|
</define>
|
1158
|
+
<define name="passthrough">
|
1159
|
+
<element name="passthrough">
|
1160
|
+
<optional>
|
1161
|
+
<attribute name="formats"/>
|
1162
|
+
</optional>
|
1163
|
+
<text/>
|
1164
|
+
</element>
|
1165
|
+
</define>
|
1046
1166
|
<define name="inputform">
|
1047
1167
|
<element name="form">
|
1048
1168
|
<attribute name="id">
|
@@ -1053,6 +1173,14 @@
|
|
1053
1173
|
<optional>
|
1054
1174
|
<attribute name="class"/>
|
1055
1175
|
</optional>
|
1176
|
+
<optional>
|
1177
|
+
<attribute name="tag"/>
|
1178
|
+
</optional>
|
1179
|
+
<optional>
|
1180
|
+
<attribute name="multilingual-rendering">
|
1181
|
+
<ref name="MultilingualRenderingType"/>
|
1182
|
+
</attribute>
|
1183
|
+
</optional>
|
1056
1184
|
<zeroOrMore>
|
1057
1185
|
<choice>
|
1058
1186
|
<ref name="TextElement"/>
|
@@ -1252,9 +1380,6 @@
|
|
1252
1380
|
<zeroOrMore>
|
1253
1381
|
<ref name="BasicBlock"/>
|
1254
1382
|
</zeroOrMore>
|
1255
|
-
<zeroOrMore>
|
1256
|
-
<ref name="note"/>
|
1257
|
-
</zeroOrMore>
|
1258
1383
|
<choice>
|
1259
1384
|
<oneOrMore>
|
1260
1385
|
<ref name="reference-clause"/>
|
@@ -1437,9 +1562,6 @@
|
|
1437
1562
|
<zeroOrMore>
|
1438
1563
|
<ref name="BasicBlock"/>
|
1439
1564
|
</zeroOrMore>
|
1440
|
-
<zeroOrMore>
|
1441
|
-
<ref name="note"/>
|
1442
|
-
</zeroOrMore>
|
1443
1565
|
<ref name="dl"/>
|
1444
1566
|
</oneOrMore>
|
1445
1567
|
</element>
|
@@ -1499,14 +1621,9 @@
|
|
1499
1621
|
<ref name="section-title"/>
|
1500
1622
|
</optional>
|
1501
1623
|
<group>
|
1502
|
-
<
|
1503
|
-
<
|
1504
|
-
|
1505
|
-
</zeroOrMore>
|
1506
|
-
<zeroOrMore>
|
1507
|
-
<ref name="note"/>
|
1508
|
-
</zeroOrMore>
|
1509
|
-
</group>
|
1624
|
+
<zeroOrMore>
|
1625
|
+
<ref name="BasicBlock"/>
|
1626
|
+
</zeroOrMore>
|
1510
1627
|
<zeroOrMore>
|
1511
1628
|
<ref name="content-subsection"/>
|
1512
1629
|
</zeroOrMore>
|
@@ -1553,14 +1670,9 @@
|
|
1553
1670
|
</optional>
|
1554
1671
|
<choice>
|
1555
1672
|
<choice>
|
1556
|
-
<
|
1557
|
-
<
|
1558
|
-
|
1559
|
-
</oneOrMore>
|
1560
|
-
<zeroOrMore>
|
1561
|
-
<ref name="note"/>
|
1562
|
-
</zeroOrMore>
|
1563
|
-
</group>
|
1673
|
+
<oneOrMore>
|
1674
|
+
<ref name="BasicBlock"/>
|
1675
|
+
</oneOrMore>
|
1564
1676
|
<ref name="amend"/>
|
1565
1677
|
</choice>
|
1566
1678
|
<oneOrMore>
|
@@ -1601,14 +1713,9 @@
|
|
1601
1713
|
<ref name="section-title"/>
|
1602
1714
|
</optional>
|
1603
1715
|
<group>
|
1604
|
-
<
|
1605
|
-
<
|
1606
|
-
|
1607
|
-
</zeroOrMore>
|
1608
|
-
<zeroOrMore>
|
1609
|
-
<ref name="note"/>
|
1610
|
-
</zeroOrMore>
|
1611
|
-
</group>
|
1716
|
+
<zeroOrMore>
|
1717
|
+
<ref name="BasicBlock"/>
|
1718
|
+
</zeroOrMore>
|
1612
1719
|
<zeroOrMore>
|
1613
1720
|
<choice>
|
1614
1721
|
<ref name="annex-subsection"/>
|
@@ -1667,9 +1774,6 @@
|
|
1667
1774
|
<zeroOrMore>
|
1668
1775
|
<ref name="BasicBlock"/>
|
1669
1776
|
</zeroOrMore>
|
1670
|
-
<zeroOrMore>
|
1671
|
-
<ref name="note"/>
|
1672
|
-
</zeroOrMore>
|
1673
1777
|
<choice>
|
1674
1778
|
<oneOrMore>
|
1675
1779
|
<ref name="term"/>
|
@@ -1699,17 +1803,20 @@
|
|
1699
1803
|
<ref name="admitted"/>
|
1700
1804
|
</zeroOrMore>
|
1701
1805
|
<zeroOrMore>
|
1702
|
-
<ref name="
|
1806
|
+
<ref name="deprecates"/>
|
1703
1807
|
</zeroOrMore>
|
1704
1808
|
<zeroOrMore>
|
1705
|
-
<ref name="
|
1809
|
+
<ref name="related"/>
|
1706
1810
|
</zeroOrMore>
|
1707
1811
|
<optional>
|
1708
1812
|
<ref name="termdomain"/>
|
1709
1813
|
</optional>
|
1710
|
-
<
|
1711
|
-
<ref name="
|
1712
|
-
</
|
1814
|
+
<optional>
|
1815
|
+
<ref name="termsubject"/>
|
1816
|
+
</optional>
|
1817
|
+
<optional>
|
1818
|
+
<ref name="termusage"/>
|
1819
|
+
</optional>
|
1713
1820
|
<oneOrMore>
|
1714
1821
|
<ref name="termdefinition"/>
|
1715
1822
|
</oneOrMore>
|
@@ -1726,41 +1833,200 @@
|
|
1726
1833
|
</define>
|
1727
1834
|
<define name="preferred">
|
1728
1835
|
<element name="preferred">
|
1729
|
-
<
|
1730
|
-
<ref name="TextElement"/>
|
1731
|
-
</oneOrMore>
|
1836
|
+
<ref name="Designation"/>
|
1732
1837
|
</element>
|
1733
1838
|
</define>
|
1734
1839
|
<define name="admitted">
|
1735
1840
|
<element name="admitted">
|
1736
|
-
<
|
1737
|
-
<ref name="TextElement"/>
|
1738
|
-
</oneOrMore>
|
1841
|
+
<ref name="Designation"/>
|
1739
1842
|
</element>
|
1740
1843
|
</define>
|
1741
1844
|
<define name="related">
|
1742
1845
|
<element name="related">
|
1846
|
+
<attribute name="type">
|
1847
|
+
<ref name="RelatedTermType"/>
|
1848
|
+
</attribute>
|
1849
|
+
<element name="preferred">
|
1850
|
+
<ref name="Designation"/>
|
1851
|
+
</element>
|
1852
|
+
<choice>
|
1853
|
+
<ref name="eref"/>
|
1854
|
+
<ref name="xref"/>
|
1855
|
+
<ref name="termref"/>
|
1856
|
+
</choice>
|
1857
|
+
</element>
|
1858
|
+
</define>
|
1859
|
+
<define name="RelatedTermType">
|
1860
|
+
<choice>
|
1861
|
+
<value>deprecates</value>
|
1862
|
+
<value>supersedes</value>
|
1863
|
+
<value>narrower</value>
|
1864
|
+
<value>broader</value>
|
1865
|
+
<value>equivalent</value>
|
1866
|
+
<value>compare</value>
|
1867
|
+
<value>contrast</value>
|
1868
|
+
<value>see</value>
|
1869
|
+
</choice>
|
1870
|
+
</define>
|
1871
|
+
<define name="deprecates">
|
1872
|
+
<element name="deprecates">
|
1873
|
+
<ref name="Designation"/>
|
1874
|
+
</element>
|
1875
|
+
</define>
|
1876
|
+
<define name="Designation">
|
1877
|
+
<optional>
|
1878
|
+
<attribute name="absent">
|
1879
|
+
<data type="boolean"/>
|
1880
|
+
</attribute>
|
1881
|
+
</optional>
|
1882
|
+
<optional>
|
1883
|
+
<attribute name="geographicArea"/>
|
1884
|
+
</optional>
|
1885
|
+
<choice>
|
1886
|
+
<ref name="expression_designation"/>
|
1887
|
+
<ref name="letter_symbol_designation"/>
|
1888
|
+
<ref name="graphical_symbol_designation"/>
|
1889
|
+
</choice>
|
1890
|
+
<zeroOrMore>
|
1891
|
+
<ref name="termsource"/>
|
1892
|
+
</zeroOrMore>
|
1893
|
+
</define>
|
1894
|
+
<define name="letter_symbol_designation">
|
1895
|
+
<element name="letter-symbol">
|
1743
1896
|
<optional>
|
1744
|
-
<attribute name="
|
1897
|
+
<attribute name="isInternational">
|
1898
|
+
<data type="boolean"/>
|
1899
|
+
</attribute>
|
1900
|
+
</optional>
|
1901
|
+
<element name="name">
|
1902
|
+
<oneOrMore>
|
1745
1903
|
<choice>
|
1746
|
-
<
|
1747
|
-
<
|
1748
|
-
<value>see</value>
|
1904
|
+
<ref name="PureTextElement"/>
|
1905
|
+
<ref name="stem"/>
|
1749
1906
|
</choice>
|
1907
|
+
</oneOrMore>
|
1908
|
+
</element>
|
1909
|
+
</element>
|
1910
|
+
</define>
|
1911
|
+
<define name="graphical_symbol_designation">
|
1912
|
+
<element name="graphical-symbol">
|
1913
|
+
<optional>
|
1914
|
+
<attribute name="isInternational">
|
1915
|
+
<data type="boolean"/>
|
1750
1916
|
</attribute>
|
1751
1917
|
</optional>
|
1752
|
-
<
|
1753
|
-
<ref name="TextElement"/>
|
1754
|
-
</oneOrMore>
|
1918
|
+
<ref name="figure"/>
|
1755
1919
|
</element>
|
1756
1920
|
</define>
|
1757
|
-
<define name="
|
1758
|
-
<element name="
|
1759
|
-
<
|
1760
|
-
<
|
1761
|
-
|
1921
|
+
<define name="expression_designation">
|
1922
|
+
<element name="expression">
|
1923
|
+
<optional>
|
1924
|
+
<attribute name="language">
|
1925
|
+
<a:documentation>ISO-639</a:documentation>
|
1926
|
+
</attribute>
|
1927
|
+
</optional>
|
1928
|
+
<optional>
|
1929
|
+
<attribute name="script">
|
1930
|
+
<a:documentation>ISO-15924</a:documentation>
|
1931
|
+
</attribute>
|
1932
|
+
</optional>
|
1933
|
+
<optional>
|
1934
|
+
<attribute name="type">
|
1935
|
+
<ref name="ExpressionDesignationType"/>
|
1936
|
+
</attribute>
|
1937
|
+
</optional>
|
1938
|
+
<optional>
|
1939
|
+
<attribute name="isInternational">
|
1940
|
+
<data type="boolean"/>
|
1941
|
+
</attribute>
|
1942
|
+
</optional>
|
1943
|
+
<element name="name">
|
1944
|
+
<zeroOrMore>
|
1945
|
+
<ref name="PureTextElement"/>
|
1946
|
+
</zeroOrMore>
|
1947
|
+
</element>
|
1948
|
+
<optional>
|
1949
|
+
<element name="abbreviationType">
|
1950
|
+
<ref name="AbbreviationType"/>
|
1951
|
+
</element>
|
1952
|
+
</optional>
|
1953
|
+
<optional>
|
1954
|
+
<element name="pronunciation">
|
1955
|
+
<ref name="LocalizedString"/>
|
1956
|
+
</element>
|
1957
|
+
</optional>
|
1958
|
+
<optional>
|
1959
|
+
<element name="grammarInfo">
|
1960
|
+
<ref name="Grammar"/>
|
1961
|
+
</element>
|
1962
|
+
</optional>
|
1762
1963
|
</element>
|
1763
1964
|
</define>
|
1965
|
+
<define name="ExpressionDesignationType">
|
1966
|
+
<choice>
|
1967
|
+
<value>prefix</value>
|
1968
|
+
<value>suffix</value>
|
1969
|
+
<value>abbreviation</value>
|
1970
|
+
<value>full</value>
|
1971
|
+
</choice>
|
1972
|
+
</define>
|
1973
|
+
<define name="AbbreviationType">
|
1974
|
+
<choice>
|
1975
|
+
<value>truncation</value>
|
1976
|
+
<value>acronym</value>
|
1977
|
+
<value>initialism</value>
|
1978
|
+
</choice>
|
1979
|
+
</define>
|
1980
|
+
<define name="Grammar">
|
1981
|
+
<zeroOrMore>
|
1982
|
+
<element name="gender">
|
1983
|
+
<ref name="GrammarGender"/>
|
1984
|
+
</element>
|
1985
|
+
</zeroOrMore>
|
1986
|
+
<optional>
|
1987
|
+
<element name="isPreposition">
|
1988
|
+
<data type="boolean"/>
|
1989
|
+
</element>
|
1990
|
+
</optional>
|
1991
|
+
<optional>
|
1992
|
+
<element name="isParticiple">
|
1993
|
+
<data type="boolean"/>
|
1994
|
+
</element>
|
1995
|
+
</optional>
|
1996
|
+
<optional>
|
1997
|
+
<element name="isAdjective">
|
1998
|
+
<data type="boolean"/>
|
1999
|
+
</element>
|
2000
|
+
</optional>
|
2001
|
+
<optional>
|
2002
|
+
<element name="isVerb">
|
2003
|
+
<data type="boolean"/>
|
2004
|
+
</element>
|
2005
|
+
</optional>
|
2006
|
+
<optional>
|
2007
|
+
<element name="isAdverb">
|
2008
|
+
<data type="boolean"/>
|
2009
|
+
</element>
|
2010
|
+
</optional>
|
2011
|
+
<optional>
|
2012
|
+
<element name="isNoun">
|
2013
|
+
<data type="boolean"/>
|
2014
|
+
</element>
|
2015
|
+
</optional>
|
2016
|
+
<zeroOrMore>
|
2017
|
+
<element name="grammarvalue">
|
2018
|
+
<text/>
|
2019
|
+
</element>
|
2020
|
+
</zeroOrMore>
|
2021
|
+
</define>
|
2022
|
+
<define name="GrammarGender">
|
2023
|
+
<choice>
|
2024
|
+
<value>masculine</value>
|
2025
|
+
<value>feminine</value>
|
2026
|
+
<value>neuter</value>
|
2027
|
+
<value>common</value>
|
2028
|
+
</choice>
|
2029
|
+
</define>
|
1764
2030
|
<define name="termdomain">
|
1765
2031
|
<element name="domain">
|
1766
2032
|
<oneOrMore>
|
@@ -1768,18 +2034,47 @@
|
|
1768
2034
|
</oneOrMore>
|
1769
2035
|
</element>
|
1770
2036
|
</define>
|
1771
|
-
<define name="
|
1772
|
-
<element name="
|
2037
|
+
<define name="termsubject">
|
2038
|
+
<element name="subject">
|
1773
2039
|
<oneOrMore>
|
1774
2040
|
<ref name="TextElement"/>
|
1775
2041
|
</oneOrMore>
|
1776
2042
|
</element>
|
1777
2043
|
</define>
|
2044
|
+
<define name="termusage">
|
2045
|
+
<element name="usageinfo">
|
2046
|
+
<oneOrMore>
|
2047
|
+
<ref name="BasicBlock"/>
|
2048
|
+
</oneOrMore>
|
2049
|
+
</element>
|
2050
|
+
</define>
|
1778
2051
|
<define name="termdefinition">
|
1779
2052
|
<element name="definition">
|
2053
|
+
<choice>
|
2054
|
+
<ref name="verbaldefinition"/>
|
2055
|
+
<ref name="nonverbalrep"/>
|
2056
|
+
<group>
|
2057
|
+
<ref name="verbaldefinition"/>
|
2058
|
+
<ref name="nonverbalrep"/>
|
2059
|
+
</group>
|
2060
|
+
</choice>
|
2061
|
+
</element>
|
2062
|
+
</define>
|
2063
|
+
<define name="verbaldefinition">
|
2064
|
+
<element name="verbaldefinition">
|
2065
|
+
<oneOrMore>
|
2066
|
+
<ref name="paragraph"/>
|
2067
|
+
</oneOrMore>
|
2068
|
+
<zeroOrMore>
|
2069
|
+
<ref name="termsource"/>
|
2070
|
+
</zeroOrMore>
|
2071
|
+
</element>
|
2072
|
+
</define>
|
2073
|
+
<define name="nonverbalrep">
|
2074
|
+
<element name="nonverbalrepresentation">
|
1780
2075
|
<oneOrMore>
|
1781
2076
|
<choice>
|
1782
|
-
<ref name="
|
2077
|
+
<ref name="table"/>
|
1783
2078
|
<ref name="figure"/>
|
1784
2079
|
<ref name="formula"/>
|
1785
2080
|
</choice>
|
@@ -1815,6 +2110,14 @@
|
|
1815
2110
|
<data type="boolean"/>
|
1816
2111
|
</attribute>
|
1817
2112
|
</optional>
|
2113
|
+
<optional>
|
2114
|
+
<attribute name="tag"/>
|
2115
|
+
</optional>
|
2116
|
+
<optional>
|
2117
|
+
<attribute name="multilingual-rendering">
|
2118
|
+
<ref name="MultilingualRenderingType"/>
|
2119
|
+
</attribute>
|
2120
|
+
</optional>
|
1818
2121
|
<oneOrMore>
|
1819
2122
|
<choice>
|
1820
2123
|
<ref name="paragraph"/>
|
@@ -1831,6 +2134,24 @@
|
|
1831
2134
|
<attribute name="id">
|
1832
2135
|
<data type="ID"/>
|
1833
2136
|
</attribute>
|
2137
|
+
<optional>
|
2138
|
+
<attribute name="keep-with-next">
|
2139
|
+
<data type="boolean"/>
|
2140
|
+
</attribute>
|
2141
|
+
</optional>
|
2142
|
+
<optional>
|
2143
|
+
<attribute name="keep-lines-together">
|
2144
|
+
<data type="boolean"/>
|
2145
|
+
</attribute>
|
2146
|
+
</optional>
|
2147
|
+
<optional>
|
2148
|
+
<attribute name="tag"/>
|
2149
|
+
</optional>
|
2150
|
+
<optional>
|
2151
|
+
<attribute name="multilingual-rendering">
|
2152
|
+
<ref name="MultilingualRenderingType"/>
|
2153
|
+
</attribute>
|
2154
|
+
</optional>
|
1834
2155
|
<ref name="paragraph"/>
|
1835
2156
|
</element>
|
1836
2157
|
</define>
|
@@ -1957,9 +2278,6 @@
|
|
1957
2278
|
<zeroOrMore>
|
1958
2279
|
<ref name="BasicBlock"/>
|
1959
2280
|
</zeroOrMore>
|
1960
|
-
<zeroOrMore>
|
1961
|
-
<ref name="note"/>
|
1962
|
-
</zeroOrMore>
|
1963
2281
|
<zeroOrMore>
|
1964
2282
|
<choice>
|
1965
2283
|
<ref name="term-clause"/>
|
@@ -1998,6 +2316,14 @@
|
|
1998
2316
|
<optional>
|
1999
2317
|
<attribute name="title"/>
|
2000
2318
|
</optional>
|
2319
|
+
<optional>
|
2320
|
+
<attribute name="tag"/>
|
2321
|
+
</optional>
|
2322
|
+
<optional>
|
2323
|
+
<attribute name="multilingual-rendering">
|
2324
|
+
<ref name="MultilingualRenderingType"/>
|
2325
|
+
</attribute>
|
2326
|
+
</optional>
|
2001
2327
|
<optional>
|
2002
2328
|
<element name="location">
|
2003
2329
|
<zeroOrMore>
|
@@ -2057,6 +2383,14 @@
|
|
2057
2383
|
</define>
|
2058
2384
|
<define name="imagemap">
|
2059
2385
|
<element name="imagemap">
|
2386
|
+
<optional>
|
2387
|
+
<attribute name="tag"/>
|
2388
|
+
</optional>
|
2389
|
+
<optional>
|
2390
|
+
<attribute name="multilingual-rendering">
|
2391
|
+
<ref name="MultilingualRenderingType"/>
|
2392
|
+
</attribute>
|
2393
|
+
</optional>
|
2060
2394
|
<ref name="figure"/>
|
2061
2395
|
<zeroOrMore>
|
2062
2396
|
<element name="area">
|
@@ -2101,6 +2435,14 @@
|
|
2101
2435
|
</define>
|
2102
2436
|
<define name="svgmap">
|
2103
2437
|
<element name="svgmap">
|
2438
|
+
<optional>
|
2439
|
+
<attribute name="tag"/>
|
2440
|
+
</optional>
|
2441
|
+
<optional>
|
2442
|
+
<attribute name="multilingual-rendering">
|
2443
|
+
<ref name="MultilingualRenderingType"/>
|
2444
|
+
</attribute>
|
2445
|
+
</optional>
|
2104
2446
|
<ref name="figure"/>
|
2105
2447
|
<zeroOrMore>
|
2106
2448
|
<element name="target">
|
@@ -58,6 +58,14 @@
|
|
58
58
|
<optional>
|
59
59
|
<attribute name="type"/>
|
60
60
|
</optional>
|
61
|
+
<optional>
|
62
|
+
<attribute name="tag"/>
|
63
|
+
</optional>
|
64
|
+
<optional>
|
65
|
+
<attribute name="multilingual-rendering">
|
66
|
+
<ref name="MultilingualRenderingType"/>
|
67
|
+
</attribute>
|
68
|
+
</optional>
|
61
69
|
<optional>
|
62
70
|
<ref name="reqtitle"/>
|
63
71
|
</optional>
|
@@ -101,7 +109,9 @@
|
|
101
109
|
</define>
|
102
110
|
<define name="label">
|
103
111
|
<element name="label">
|
104
|
-
<
|
112
|
+
<oneOrMore>
|
113
|
+
<ref name="TextElement"/>
|
114
|
+
</oneOrMore>
|
105
115
|
</element>
|
106
116
|
</define>
|
107
117
|
<define name="subject">
|
@@ -175,8 +185,19 @@
|
|
175
185
|
<data type="boolean"/>
|
176
186
|
</attribute>
|
177
187
|
</optional>
|
188
|
+
<optional>
|
189
|
+
<attribute name="tag"/>
|
190
|
+
</optional>
|
191
|
+
<optional>
|
192
|
+
<attribute name="multilingual-rendering">
|
193
|
+
<ref name="MultilingualRenderingType"/>
|
194
|
+
</attribute>
|
195
|
+
</optional>
|
178
196
|
<oneOrMore>
|
179
|
-
<
|
197
|
+
<choice>
|
198
|
+
<ref name="BasicBlock"/>
|
199
|
+
<ref name="component"/>
|
200
|
+
</choice>
|
180
201
|
</oneOrMore>
|
181
202
|
</define>
|
182
203
|
<define name="ObligationType">
|
data/metanorma-generic.gemspec
CHANGED
@@ -27,8 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
28
28
|
|
29
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
|
-
spec.add_dependency "
|
31
|
-
spec.add_dependency "metanorma-standoc", "~> 1.10.0"
|
30
|
+
spec.add_dependency "metanorma-standoc", "~> 1.11.0"
|
32
31
|
spec.add_dependency "ruby-jing"
|
33
32
|
|
34
33
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-generic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -24,34 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.3.4
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: isodoc
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.7.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.7.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: metanorma-standoc
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
33
|
+
version: 1.11.0
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
40
|
+
version: 1.11.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: ruby-jing
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -281,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
267
|
- !ruby/object:Gem::Version
|
282
268
|
version: '0'
|
283
269
|
requirements: []
|
284
|
-
rubygems_version: 3.
|
270
|
+
rubygems_version: 3.2.22
|
285
271
|
signing_key:
|
286
272
|
specification_version: 4
|
287
273
|
summary: Metanorma template gem for customisation.
|