metanorma-un 0.12.9 → 0.12.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/html/htmlstyle.css +10 -1
- data/lib/isodoc/un/un.plenary-attachment.xsl +1262 -878
- data/lib/isodoc/un/un.plenary.xsl +1262 -878
- data/lib/isodoc/un/un.recommendation.xsl +1262 -878
- data/lib/metanorma/un/basicdoc.rng +840 -419
- data/lib/metanorma/un/biblio.rng +26 -27
- data/lib/metanorma/un/converter.rb +7 -2
- data/lib/metanorma/un/isodoc.rng +351 -510
- data/lib/metanorma/un/un.rng +38 -92
- data/lib/metanorma/un/version.rb +1 -1
- metadata +2 -2
data/lib/metanorma/un/un.rng
CHANGED
@@ -30,57 +30,44 @@
|
|
30
30
|
<ref name="bookmark"/>
|
31
31
|
</choice>
|
32
32
|
</define>
|
33
|
-
<define name="
|
34
|
-
<
|
35
|
-
<attribute name="
|
36
|
-
<data type="
|
37
|
-
</attribute>
|
38
|
-
<optional>
|
39
|
-
<attribute name="unnumbered">
|
40
|
-
<data type="boolean"/>
|
41
|
-
</attribute>
|
42
|
-
</optional>
|
43
|
-
<attribute name="type">
|
44
|
-
<choice>
|
45
|
-
<value>danger</value>
|
46
|
-
<value>caution</value>
|
47
|
-
<value>warning</value>
|
48
|
-
<value>important</value>
|
49
|
-
<value>safety precautions</value>
|
50
|
-
</choice>
|
33
|
+
<define name="AdmonitionAttr" combine="interleave">
|
34
|
+
<optional>
|
35
|
+
<attribute name="unnumbered">
|
36
|
+
<data type="boolean"/>
|
51
37
|
</attribute>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
</
|
57
|
-
<
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
38
|
+
</optional>
|
39
|
+
</define>
|
40
|
+
<define name="AdmonitionType">
|
41
|
+
<choice>
|
42
|
+
<value>danger</value>
|
43
|
+
<value>caution</value>
|
44
|
+
<value>warning</value>
|
45
|
+
<value>important</value>
|
46
|
+
<value>safety precautions</value>
|
47
|
+
</choice>
|
48
|
+
</define>
|
49
|
+
<define name="AdmonitionBody">
|
50
|
+
<optional>
|
51
|
+
<ref name="tname"/>
|
52
|
+
</optional>
|
53
|
+
<oneOrMore>
|
54
|
+
<choice>
|
55
|
+
<ref name="paragraph-with-footnote"/>
|
56
|
+
<ref name="table"/>
|
57
|
+
<ref name="formula"/>
|
58
|
+
<ref name="ol"/>
|
59
|
+
<ref name="ul"/>
|
60
|
+
<ref name="dl"/>
|
61
|
+
<ref name="figure"/>
|
62
|
+
<ref name="quote"/>
|
63
|
+
<ref name="sourcecode"/>
|
64
|
+
<ref name="example"/>
|
65
|
+
<ref name="review"/>
|
66
|
+
</choice>
|
67
|
+
</oneOrMore>
|
68
|
+
<zeroOrMore>
|
69
|
+
<ref name="note"/>
|
70
|
+
</zeroOrMore>
|
84
71
|
</define>
|
85
72
|
<define name="sections">
|
86
73
|
<element name="sections">
|
@@ -157,53 +144,12 @@
|
|
157
144
|
</zeroOrMore>
|
158
145
|
</group>
|
159
146
|
</define>
|
160
|
-
<define name="Annex-Section">
|
161
|
-
<optional>
|
162
|
-
<attribute name="id">
|
163
|
-
<data type="ID"/>
|
164
|
-
</attribute>
|
165
|
-
</optional>
|
166
|
-
<optional>
|
167
|
-
<attribute name="language"/>
|
168
|
-
</optional>
|
169
|
-
<optional>
|
170
|
-
<attribute name="script"/>
|
171
|
-
</optional>
|
172
|
-
<optional>
|
173
|
-
<attribute name="inline-header">
|
174
|
-
<data type="boolean"/>
|
175
|
-
</attribute>
|
176
|
-
</optional>
|
177
|
-
<optional>
|
178
|
-
<attribute name="obligation">
|
179
|
-
<choice>
|
180
|
-
<value>normative</value>
|
181
|
-
<value>informative</value>
|
182
|
-
</choice>
|
183
|
-
</attribute>
|
184
|
-
</optional>
|
147
|
+
<define name="Annex-Section" combine="interleave">
|
185
148
|
<optional>
|
186
149
|
<attribute name="unnumbered">
|
187
150
|
<data type="boolean"/>
|
188
151
|
</attribute>
|
189
152
|
</optional>
|
190
|
-
<optional>
|
191
|
-
<ref name="section-title"/>
|
192
|
-
</optional>
|
193
|
-
<group>
|
194
|
-
<zeroOrMore>
|
195
|
-
<ref name="BasicBlock"/>
|
196
|
-
</zeroOrMore>
|
197
|
-
<zeroOrMore>
|
198
|
-
<choice>
|
199
|
-
<ref name="annex-subsection"/>
|
200
|
-
<ref name="terms"/>
|
201
|
-
<ref name="definitions"/>
|
202
|
-
<ref name="references"/>
|
203
|
-
<ref name="floating-title"/>
|
204
|
-
</choice>
|
205
|
-
</zeroOrMore>
|
206
|
-
</group>
|
207
153
|
</define>
|
208
154
|
</include>
|
209
155
|
<define name="un-standard">
|
data/lib/metanorma/un/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|