metanorma-bipm 2.1.9 → 2.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,19 +19,7 @@
19
19
  -->
20
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
- <!-- include "biblio.rnc" { } -->
23
22
  <include href="basicdoc.rng">
24
- <start>
25
- <ref name="standard-document"/>
26
- </start>
27
- <define name="doctype">
28
- <element name="doctype">
29
- <optional>
30
- <attribute name="abbreviation"/>
31
- </optional>
32
- <ref name="DocumentType"/>
33
- </element>
34
- </define>
35
23
  <define name="admonition">
36
24
  <element name="admonition">
37
25
  <attribute name="type">
@@ -117,24 +105,6 @@
117
105
  </optional>
118
106
  </element>
119
107
  </define>
120
- <define name="bibitem">
121
- <element name="bibitem">
122
- <attribute name="id">
123
- <data type="ID"/>
124
- </attribute>
125
- <optional>
126
- <attribute name="hidden">
127
- <data type="boolean"/>
128
- </attribute>
129
- </optional>
130
- <optional>
131
- <attribute name="suppress_identifier">
132
- <data type="boolean"/>
133
- </attribute>
134
- </optional>
135
- <ref name="BibliographicItem"/>
136
- </element>
137
- </define>
138
108
  <define name="section-title">
139
109
  <element name="title">
140
110
  <zeroOrMore>
@@ -205,6 +175,15 @@
205
175
  <data type="boolean"/>
206
176
  </attribute>
207
177
  </optional>
178
+ <optional>
179
+ <attribute name="style">
180
+ <choice>
181
+ <value>basic</value>
182
+ <value>full</value>
183
+ <value>short</value>
184
+ </choice>
185
+ </attribute>
186
+ </optional>
208
187
  <ref name="XrefBody"/>
209
188
  </element>
210
189
  </define>
@@ -239,42 +218,6 @@
239
218
  <ref name="PureTextElement"/>
240
219
  </oneOrMore>
241
220
  </define>
242
- <define name="localityStack">
243
- <element name="localityStack">
244
- <optional>
245
- <attribute name="connective">
246
- <choice>
247
- <value>and</value>
248
- <value>or</value>
249
- <value>from</value>
250
- <value>to</value>
251
- <value/>
252
- </choice>
253
- </attribute>
254
- </optional>
255
- <zeroOrMore>
256
- <ref name="locality"/>
257
- </zeroOrMore>
258
- </element>
259
- </define>
260
- <define name="sourceLocalityStack">
261
- <element name="sourceLocalityStack">
262
- <optional>
263
- <attribute name="connective">
264
- <choice>
265
- <value>and</value>
266
- <value>or</value>
267
- <value>from</value>
268
- <value>to</value>
269
- <value/>
270
- </choice>
271
- </attribute>
272
- </optional>
273
- <zeroOrMore>
274
- <ref name="sourceLocality"/>
275
- </zeroOrMore>
276
- </element>
277
- </define>
278
221
  <define name="ul">
279
222
  <element name="ul">
280
223
  <attribute name="id">
@@ -818,21 +761,6 @@
818
761
  </zeroOrMore>
819
762
  </element>
820
763
  </define>
821
- <define name="BibDataExtensionType">
822
- <ref name="doctype"/>
823
- <optional>
824
- <ref name="docsubtype"/>
825
- </optional>
826
- <optional>
827
- <ref name="editorialgroup"/>
828
- </optional>
829
- <zeroOrMore>
830
- <ref name="ics"/>
831
- </zeroOrMore>
832
- <zeroOrMore>
833
- <ref name="structuredidentifier"/>
834
- </zeroOrMore>
835
- </define>
836
764
  <!-- TitleType = text -->
837
765
  <define name="sections">
838
766
  <element name="sections">
@@ -872,7 +800,7 @@
872
800
  <ref name="BasicBlock"/>
873
801
  </zeroOrMore>
874
802
  <zeroOrMore>
875
- <ref name="bibitem"/>
803
+ <ref name="doc_bibitem"/>
876
804
  <zeroOrMore>
877
805
  <ref name="note"/>
878
806
  </zeroOrMore>
@@ -1210,6 +1138,24 @@
1210
1138
  </define>
1211
1139
  </include>
1212
1140
  <!-- end overrides -->
1141
+ <define name="doc_bibitem">
1142
+ <element name="bibitem">
1143
+ <attribute name="id">
1144
+ <data type="ID"/>
1145
+ </attribute>
1146
+ <optional>
1147
+ <attribute name="hidden">
1148
+ <data type="boolean"/>
1149
+ </attribute>
1150
+ </optional>
1151
+ <optional>
1152
+ <attribute name="suppress_identifier">
1153
+ <data type="boolean"/>
1154
+ </attribute>
1155
+ </optional>
1156
+ <ref name="BibliographicItem"/>
1157
+ </element>
1158
+ </define>
1213
1159
  <define name="image" combine="choice">
1214
1160
  <element name="svg">
1215
1161
  <oneOrMore>
@@ -1228,14 +1174,6 @@
1228
1174
  <value>tag</value>
1229
1175
  </choice>
1230
1176
  </define>
1231
- <define name="docsubtype">
1232
- <element name="subdoctype">
1233
- <ref name="DocumentSubtype"/>
1234
- </element>
1235
- </define>
1236
- <define name="DocumentSubtype">
1237
- <text/>
1238
- </define>
1239
1177
  <define name="colgroup">
1240
1178
  <element name="colgroup">
1241
1179
  <oneOrMore>
@@ -1597,45 +1535,6 @@
1597
1535
  </choice>
1598
1536
  </element>
1599
1537
  </define>
1600
- <define name="editorialgroup">
1601
- <element name="editorialgroup">
1602
- <oneOrMore>
1603
- <ref name="technical-committee"/>
1604
- </oneOrMore>
1605
- </element>
1606
- </define>
1607
- <define name="technical-committee">
1608
- <element name="technical-committee">
1609
- <ref name="IsoWorkgroup"/>
1610
- </element>
1611
- </define>
1612
- <define name="IsoWorkgroup">
1613
- <optional>
1614
- <attribute name="number"/>
1615
- </optional>
1616
- <optional>
1617
- <attribute name="type"/>
1618
- </optional>
1619
- <optional>
1620
- <attribute name="identifier"/>
1621
- </optional>
1622
- <optional>
1623
- <attribute name="prefix"/>
1624
- </optional>
1625
- <text/>
1626
- </define>
1627
- <define name="ics">
1628
- <element name="ics">
1629
- <element name="code">
1630
- <text/>
1631
- </element>
1632
- <optional>
1633
- <element name="text">
1634
- <text/>
1635
- </element>
1636
- </optional>
1637
- </element>
1638
- </define>
1639
1538
  <define name="standard-document">
1640
1539
  <element name="standard-document">
1641
1540
  <attribute name="version"/>
@@ -2466,71 +2365,6 @@
2466
2365
  </optional>
2467
2366
  </element>
2468
2367
  </define>
2469
- <define name="structuredidentifier">
2470
- <element name="structuredidentifier">
2471
- <optional>
2472
- <attribute name="type"/>
2473
- </optional>
2474
- <oneOrMore>
2475
- <element name="agency">
2476
- <text/>
2477
- </element>
2478
- </oneOrMore>
2479
- <optional>
2480
- <element name="class">
2481
- <text/>
2482
- </element>
2483
- </optional>
2484
- <element name="docnumber">
2485
- <text/>
2486
- </element>
2487
- <optional>
2488
- <element name="partnumber">
2489
- <text/>
2490
- </element>
2491
- </optional>
2492
- <optional>
2493
- <element name="edition">
2494
- <text/>
2495
- </element>
2496
- </optional>
2497
- <optional>
2498
- <element name="version">
2499
- <text/>
2500
- </element>
2501
- </optional>
2502
- <optional>
2503
- <element name="supplementtype">
2504
- <text/>
2505
- </element>
2506
- </optional>
2507
- <optional>
2508
- <element name="supplementnumber">
2509
- <text/>
2510
- </element>
2511
- </optional>
2512
- <optional>
2513
- <element name="amendment">
2514
- <text/>
2515
- </element>
2516
- </optional>
2517
- <optional>
2518
- <element name="corrigendum">
2519
- <text/>
2520
- </element>
2521
- </optional>
2522
- <optional>
2523
- <element name="language">
2524
- <text/>
2525
- </element>
2526
- </optional>
2527
- <optional>
2528
- <element name="year">
2529
- <text/>
2530
- </element>
2531
- </optional>
2532
- </element>
2533
- </define>
2534
2368
  <define name="term-clause">
2535
2369
  <element name="clause">
2536
2370
  <optional>
@@ -2804,4 +2638,7 @@
2804
2638
  </attribute>
2805
2639
  </element>
2806
2640
  </define>
2641
+ <start>
2642
+ <ref name="standard-document"/>
2643
+ </start>
2807
2644
  </grammar>
@@ -0,0 +1,138 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0">
3
+ <include href="biblio-standoc.rng">
4
+ <define name="DocumentType">
5
+ <choice>
6
+ <value>brochure</value>
7
+ <value>mise-en-pratique</value>
8
+ <value>rapport</value>
9
+ <value>monographie</value>
10
+ <value>guide</value>
11
+ <value>meeting-report</value>
12
+ <value>technical-report</value>
13
+ <value>working-party-note</value>
14
+ <value>strategy</value>
15
+ <value>cipm-mra</value>
16
+ <value>resolution</value>
17
+ </choice>
18
+ </define>
19
+ <define name="editorialgroup">
20
+ <element name="editorialgroup">
21
+ <oneOrMore>
22
+ <ref name="committee"/>
23
+ </oneOrMore>
24
+ <zeroOrMore>
25
+ <ref name="workgroup"/>
26
+ </zeroOrMore>
27
+ </element>
28
+ </define>
29
+ <define name="structuredidentifier">
30
+ <element name="structuredidentifier">
31
+ <element name="docnumber">
32
+ <text/>
33
+ </element>
34
+ <optional>
35
+ <element name="part">
36
+ <text/>
37
+ </element>
38
+ </optional>
39
+ <optional>
40
+ <element name="appendix">
41
+ <text/>
42
+ </element>
43
+ </optional>
44
+ </element>
45
+ </define>
46
+ <define name="BibDataExtensionType">
47
+ <optional>
48
+ <attribute name="schema-version"/>
49
+ </optional>
50
+ <optional>
51
+ <ref name="doctype"/>
52
+ </optional>
53
+ <optional>
54
+ <ref name="docsubtype"/>
55
+ </optional>
56
+ <ref name="editorialgroup"/>
57
+ <optional>
58
+ <ref name="comment-period"/>
59
+ </optional>
60
+ <optional>
61
+ <ref name="si-aspect"/>
62
+ </optional>
63
+ <optional>
64
+ <ref name="meeting-note"/>
65
+ </optional>
66
+ <ref name="structuredidentifier"/>
67
+ </define>
68
+ </include>
69
+ <define name="comment-period">
70
+ <element name="comment-period">
71
+ <element name="from">
72
+ <ref name="ISO8601Date"/>
73
+ </element>
74
+ <element name="to">
75
+ <ref name="ISO8601Date"/>
76
+ </element>
77
+ </element>
78
+ </define>
79
+ <define name="si-aspect">
80
+ <element name="si-aspect">
81
+ <choice>
82
+ <value>A_e_deltanu</value>
83
+ <value>A_e</value>
84
+ <value>cd_Kcd_h_deltanu</value>
85
+ <value>cd_Kcd</value>
86
+ <value>full</value>
87
+ <value>K_k_deltanu</value>
88
+ <value>K_k</value>
89
+ <value>kg_h_c_deltanu</value>
90
+ <value>kg_h</value>
91
+ <value>m_c_deltanu</value>
92
+ <value>m_c</value>
93
+ <value>mol_NA</value>
94
+ <value>s_deltanu</value>
95
+ </choice>
96
+ </element>
97
+ </define>
98
+ <define name="committee">
99
+ <element name="committee">
100
+ <attribute name="acronym">
101
+ <choice>
102
+ <value>CGPM</value>
103
+ <value>CIPM</value>
104
+ <value>BIPM</value>
105
+ <value>CCAUV</value>
106
+ <value>CCEM</value>
107
+ <value>CCL</value>
108
+ <value>CCM</value>
109
+ <value>CCPR</value>
110
+ <value>CCQM</value>
111
+ <value>CCRI</value>
112
+ <value>CCT</value>
113
+ <value>CCTF</value>
114
+ <value>CCU</value>
115
+ <value>CCL-CCTF-WGFS</value>
116
+ <value>JCGM</value>
117
+ <value>JCRB</value>
118
+ <value>JCTLM</value>
119
+ <value>INetQI</value>
120
+ </choice>
121
+ </attribute>
122
+ <ref name="LocalizedString"/>
123
+ </element>
124
+ </define>
125
+ <define name="workgroup">
126
+ <element name="workgroup">
127
+ <optional>
128
+ <attribute name="acronym"/>
129
+ </optional>
130
+ <text/>
131
+ </element>
132
+ </define>
133
+ <define name="meeting-note">
134
+ <element name="meeting-note">
135
+ <text/>
136
+ </element>
137
+ </define>
138
+ </grammar>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module BIPM
3
- VERSION = "2.1.9".freeze
3
+ VERSION = "2.1.11".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.9
4
+ version: 2.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -216,6 +216,7 @@ executables: []
216
216
  extensions: []
217
217
  extra_rdoc_files: []
218
218
  files:
219
+ - ".github/workflows/automerge.yml"
219
220
  - ".github/workflows/rake.yml"
220
221
  - ".github/workflows/release.yml"
221
222
  - ".gitignore"
@@ -269,6 +270,7 @@ files:
269
270
  - lib/metanorma-bipm.rb
270
271
  - lib/metanorma/bipm.rb
271
272
  - lib/metanorma/bipm/basicdoc.rng
273
+ - lib/metanorma/bipm/biblio-standoc.rng
272
274
  - lib/metanorma/bipm/biblio.rng
273
275
  - lib/metanorma/bipm/bipm.rng
274
276
  - lib/metanorma/bipm/boilerplate-en.xml
@@ -278,6 +280,7 @@ files:
278
280
  - lib/metanorma/bipm/front.rb
279
281
  - lib/metanorma/bipm/isodoc.rng
280
282
  - lib/metanorma/bipm/processor.rb
283
+ - lib/metanorma/bipm/relaton-bipm.rng
281
284
  - lib/metanorma/bipm/reqt.rng
282
285
  - lib/metanorma/bipm/version.rb
283
286
  - metanorma-bipm.gemspec