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.
@@ -30,57 +30,44 @@
30
30
  <ref name="bookmark"/>
31
31
  </choice>
32
32
  </define>
33
- <define name="admonition">
34
- <element name="admonition">
35
- <attribute name="id">
36
- <data type="ID"/>
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
- <optional>
53
- <attribute name="coverpage">
54
- <data type="boolean"/>
55
- </attribute>
56
- </optional>
57
- <optional>
58
- <attribute name="notag">
59
- <data type="boolean"/>
60
- </attribute>
61
- </optional>
62
- <optional>
63
- <ref name="tname"/>
64
- </optional>
65
- <oneOrMore>
66
- <choice>
67
- <ref name="paragraph-with-footnote"/>
68
- <ref name="table"/>
69
- <ref name="formula"/>
70
- <ref name="ol"/>
71
- <ref name="ul"/>
72
- <ref name="dl"/>
73
- <ref name="figure"/>
74
- <ref name="quote"/>
75
- <ref name="sourcecode"/>
76
- <ref name="example"/>
77
- <ref name="review"/>
78
- </choice>
79
- </oneOrMore>
80
- <zeroOrMore>
81
- <ref name="note"/>
82
- </zeroOrMore>
83
- </element>
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">
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.12.9".freeze
3
+ VERSION = "0.12.10".freeze
4
4
  end
5
5
  end
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.9
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-05-06 00:00:00.000000000 Z
11
+ date: 2024-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639