metanorma-bipm 2.1.10 → 2.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/base_convert.rb +3 -2
- data/lib/isodoc/bipm/bipm.brochure.xsl +158 -28
- data/lib/isodoc/bipm/bipm.guide.xsl +158 -28
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +158 -28
- data/lib/isodoc/bipm/bipm.rapport.xsl +158 -28
- data/lib/isodoc/bipm/html/htmlstyle.css +1 -1
- data/lib/isodoc/bipm/i18n-fr.yaml +1 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +135 -18
- data/lib/metanorma/bipm/basicdoc.rng +0 -27
- data/lib/metanorma/bipm/biblio-standoc.rng +164 -0
- data/lib/metanorma/bipm/biblio.rng +50 -18
- data/lib/metanorma/bipm/bipm.rng +1 -130
- data/lib/metanorma/bipm/converter.rb +0 -23
- data/lib/metanorma/bipm/isodoc.rng +68 -206
- data/lib/metanorma/bipm/relaton-bipm.rng +138 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +3 -2
- metadata +6 -10
- data/.github/workflows/rake.yml +0 -15
- data/.github/workflows/release.yml +0 -24
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/rspec +0 -18
- data/bin/setup +0 -8
@@ -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>
|
@@ -207,11 +177,7 @@
|
|
207
177
|
</optional>
|
208
178
|
<optional>
|
209
179
|
<attribute name="style">
|
210
|
-
<
|
211
|
-
<value>basic</value>
|
212
|
-
<value>full</value>
|
213
|
-
<value>short</value>
|
214
|
-
</choice>
|
180
|
+
<ref name="XrefStyleType"/>
|
215
181
|
</attribute>
|
216
182
|
</optional>
|
217
183
|
<ref name="XrefBody"/>
|
@@ -248,42 +214,6 @@
|
|
248
214
|
<ref name="PureTextElement"/>
|
249
215
|
</oneOrMore>
|
250
216
|
</define>
|
251
|
-
<define name="localityStack">
|
252
|
-
<element name="localityStack">
|
253
|
-
<optional>
|
254
|
-
<attribute name="connective">
|
255
|
-
<choice>
|
256
|
-
<value>and</value>
|
257
|
-
<value>or</value>
|
258
|
-
<value>from</value>
|
259
|
-
<value>to</value>
|
260
|
-
<value/>
|
261
|
-
</choice>
|
262
|
-
</attribute>
|
263
|
-
</optional>
|
264
|
-
<zeroOrMore>
|
265
|
-
<ref name="locality"/>
|
266
|
-
</zeroOrMore>
|
267
|
-
</element>
|
268
|
-
</define>
|
269
|
-
<define name="sourceLocalityStack">
|
270
|
-
<element name="sourceLocalityStack">
|
271
|
-
<optional>
|
272
|
-
<attribute name="connective">
|
273
|
-
<choice>
|
274
|
-
<value>and</value>
|
275
|
-
<value>or</value>
|
276
|
-
<value>from</value>
|
277
|
-
<value>to</value>
|
278
|
-
<value/>
|
279
|
-
</choice>
|
280
|
-
</attribute>
|
281
|
-
</optional>
|
282
|
-
<zeroOrMore>
|
283
|
-
<ref name="sourceLocality"/>
|
284
|
-
</zeroOrMore>
|
285
|
-
</element>
|
286
|
-
</define>
|
287
217
|
<define name="ul">
|
288
218
|
<element name="ul">
|
289
219
|
<attribute name="id">
|
@@ -827,21 +757,6 @@
|
|
827
757
|
</zeroOrMore>
|
828
758
|
</element>
|
829
759
|
</define>
|
830
|
-
<define name="BibDataExtensionType">
|
831
|
-
<ref name="doctype"/>
|
832
|
-
<optional>
|
833
|
-
<ref name="docsubtype"/>
|
834
|
-
</optional>
|
835
|
-
<optional>
|
836
|
-
<ref name="editorialgroup"/>
|
837
|
-
</optional>
|
838
|
-
<zeroOrMore>
|
839
|
-
<ref name="ics"/>
|
840
|
-
</zeroOrMore>
|
841
|
-
<zeroOrMore>
|
842
|
-
<ref name="structuredidentifier"/>
|
843
|
-
</zeroOrMore>
|
844
|
-
</define>
|
845
760
|
<!-- TitleType = text -->
|
846
761
|
<define name="sections">
|
847
762
|
<element name="sections">
|
@@ -881,7 +796,7 @@
|
|
881
796
|
<ref name="BasicBlock"/>
|
882
797
|
</zeroOrMore>
|
883
798
|
<zeroOrMore>
|
884
|
-
<ref name="
|
799
|
+
<ref name="doc_bibitem"/>
|
885
800
|
<zeroOrMore>
|
886
801
|
<ref name="note"/>
|
887
802
|
</zeroOrMore>
|
@@ -1112,6 +1027,7 @@
|
|
1112
1027
|
<ref name="stem"/>
|
1113
1028
|
<ref name="index"/>
|
1114
1029
|
<ref name="eref"/>
|
1030
|
+
<ref name="erefstack"/>
|
1115
1031
|
<ref name="xref"/>
|
1116
1032
|
<ref name="hyperlink"/>
|
1117
1033
|
</choice>
|
@@ -1126,6 +1042,7 @@
|
|
1126
1042
|
<ref name="stem"/>
|
1127
1043
|
<ref name="index"/>
|
1128
1044
|
<ref name="eref"/>
|
1045
|
+
<ref name="erefstack"/>
|
1129
1046
|
<ref name="xref"/>
|
1130
1047
|
<ref name="hyperlink"/>
|
1131
1048
|
</choice>
|
@@ -1139,6 +1056,7 @@
|
|
1139
1056
|
<ref name="PureTextElement"/>
|
1140
1057
|
<ref name="index"/>
|
1141
1058
|
<ref name="eref"/>
|
1059
|
+
<ref name="erefstack"/>
|
1142
1060
|
<ref name="xref"/>
|
1143
1061
|
<ref name="hyperlink"/>
|
1144
1062
|
</choice>
|
@@ -1219,6 +1137,24 @@
|
|
1219
1137
|
</define>
|
1220
1138
|
</include>
|
1221
1139
|
<!-- end overrides -->
|
1140
|
+
<define name="doc_bibitem">
|
1141
|
+
<element name="bibitem">
|
1142
|
+
<attribute name="id">
|
1143
|
+
<data type="ID"/>
|
1144
|
+
</attribute>
|
1145
|
+
<optional>
|
1146
|
+
<attribute name="hidden">
|
1147
|
+
<data type="boolean"/>
|
1148
|
+
</attribute>
|
1149
|
+
</optional>
|
1150
|
+
<optional>
|
1151
|
+
<attribute name="suppress_identifier">
|
1152
|
+
<data type="boolean"/>
|
1153
|
+
</attribute>
|
1154
|
+
</optional>
|
1155
|
+
<ref name="BibliographicItem"/>
|
1156
|
+
</element>
|
1157
|
+
</define>
|
1222
1158
|
<define name="image" combine="choice">
|
1223
1159
|
<element name="svg">
|
1224
1160
|
<oneOrMore>
|
@@ -1237,14 +1173,6 @@
|
|
1237
1173
|
<value>tag</value>
|
1238
1174
|
</choice>
|
1239
1175
|
</define>
|
1240
|
-
<define name="docsubtype">
|
1241
|
-
<element name="subdoctype">
|
1242
|
-
<ref name="DocumentSubtype"/>
|
1243
|
-
</element>
|
1244
|
-
</define>
|
1245
|
-
<define name="DocumentSubtype">
|
1246
|
-
<text/>
|
1247
|
-
</define>
|
1248
1176
|
<define name="colgroup">
|
1249
1177
|
<element name="colgroup">
|
1250
1178
|
<oneOrMore>
|
@@ -1266,6 +1194,7 @@
|
|
1266
1194
|
<ref name="add"/>
|
1267
1195
|
<ref name="del"/>
|
1268
1196
|
<ref name="span"/>
|
1197
|
+
<ref name="erefstack"/>
|
1269
1198
|
</choice>
|
1270
1199
|
</define>
|
1271
1200
|
<define name="add">
|
@@ -1273,6 +1202,7 @@
|
|
1273
1202
|
<choice>
|
1274
1203
|
<ref name="PureTextElement"/>
|
1275
1204
|
<ref name="eref"/>
|
1205
|
+
<ref name="erefstack"/>
|
1276
1206
|
<ref name="stem"/>
|
1277
1207
|
<ref name="keyword"/>
|
1278
1208
|
<ref name="xref"/>
|
@@ -1285,6 +1215,7 @@
|
|
1285
1215
|
<choice>
|
1286
1216
|
<ref name="PureTextElement"/>
|
1287
1217
|
<ref name="eref"/>
|
1218
|
+
<ref name="erefstack"/>
|
1288
1219
|
<ref name="stem"/>
|
1289
1220
|
<ref name="keyword"/>
|
1290
1221
|
<ref name="xref"/>
|
@@ -1349,6 +1280,7 @@
|
|
1349
1280
|
</optional>
|
1350
1281
|
<choice>
|
1351
1282
|
<ref name="eref"/>
|
1283
|
+
<ref name="erefstack"/>
|
1352
1284
|
<ref name="xref"/>
|
1353
1285
|
<ref name="termref"/>
|
1354
1286
|
</choice>
|
@@ -1606,45 +1538,6 @@
|
|
1606
1538
|
</choice>
|
1607
1539
|
</element>
|
1608
1540
|
</define>
|
1609
|
-
<define name="editorialgroup">
|
1610
|
-
<element name="editorialgroup">
|
1611
|
-
<oneOrMore>
|
1612
|
-
<ref name="technical-committee"/>
|
1613
|
-
</oneOrMore>
|
1614
|
-
</element>
|
1615
|
-
</define>
|
1616
|
-
<define name="technical-committee">
|
1617
|
-
<element name="technical-committee">
|
1618
|
-
<ref name="IsoWorkgroup"/>
|
1619
|
-
</element>
|
1620
|
-
</define>
|
1621
|
-
<define name="IsoWorkgroup">
|
1622
|
-
<optional>
|
1623
|
-
<attribute name="number"/>
|
1624
|
-
</optional>
|
1625
|
-
<optional>
|
1626
|
-
<attribute name="type"/>
|
1627
|
-
</optional>
|
1628
|
-
<optional>
|
1629
|
-
<attribute name="identifier"/>
|
1630
|
-
</optional>
|
1631
|
-
<optional>
|
1632
|
-
<attribute name="prefix"/>
|
1633
|
-
</optional>
|
1634
|
-
<text/>
|
1635
|
-
</define>
|
1636
|
-
<define name="ics">
|
1637
|
-
<element name="ics">
|
1638
|
-
<element name="code">
|
1639
|
-
<text/>
|
1640
|
-
</element>
|
1641
|
-
<optional>
|
1642
|
-
<element name="text">
|
1643
|
-
<text/>
|
1644
|
-
</element>
|
1645
|
-
</optional>
|
1646
|
-
</element>
|
1647
|
-
</define>
|
1648
1541
|
<define name="standard-document">
|
1649
1542
|
<element name="standard-document">
|
1650
1543
|
<attribute name="version"/>
|
@@ -2080,6 +1973,7 @@
|
|
2080
1973
|
</element>
|
2081
1974
|
<choice>
|
2082
1975
|
<ref name="eref"/>
|
1976
|
+
<ref name="erefstack"/>
|
2083
1977
|
<ref name="xref"/>
|
2084
1978
|
<ref name="termref"/>
|
2085
1979
|
</choice>
|
@@ -2475,71 +2369,6 @@
|
|
2475
2369
|
</optional>
|
2476
2370
|
</element>
|
2477
2371
|
</define>
|
2478
|
-
<define name="structuredidentifier">
|
2479
|
-
<element name="structuredidentifier">
|
2480
|
-
<optional>
|
2481
|
-
<attribute name="type"/>
|
2482
|
-
</optional>
|
2483
|
-
<oneOrMore>
|
2484
|
-
<element name="agency">
|
2485
|
-
<text/>
|
2486
|
-
</element>
|
2487
|
-
</oneOrMore>
|
2488
|
-
<optional>
|
2489
|
-
<element name="class">
|
2490
|
-
<text/>
|
2491
|
-
</element>
|
2492
|
-
</optional>
|
2493
|
-
<element name="docnumber">
|
2494
|
-
<text/>
|
2495
|
-
</element>
|
2496
|
-
<optional>
|
2497
|
-
<element name="partnumber">
|
2498
|
-
<text/>
|
2499
|
-
</element>
|
2500
|
-
</optional>
|
2501
|
-
<optional>
|
2502
|
-
<element name="edition">
|
2503
|
-
<text/>
|
2504
|
-
</element>
|
2505
|
-
</optional>
|
2506
|
-
<optional>
|
2507
|
-
<element name="version">
|
2508
|
-
<text/>
|
2509
|
-
</element>
|
2510
|
-
</optional>
|
2511
|
-
<optional>
|
2512
|
-
<element name="supplementtype">
|
2513
|
-
<text/>
|
2514
|
-
</element>
|
2515
|
-
</optional>
|
2516
|
-
<optional>
|
2517
|
-
<element name="supplementnumber">
|
2518
|
-
<text/>
|
2519
|
-
</element>
|
2520
|
-
</optional>
|
2521
|
-
<optional>
|
2522
|
-
<element name="amendment">
|
2523
|
-
<text/>
|
2524
|
-
</element>
|
2525
|
-
</optional>
|
2526
|
-
<optional>
|
2527
|
-
<element name="corrigendum">
|
2528
|
-
<text/>
|
2529
|
-
</element>
|
2530
|
-
</optional>
|
2531
|
-
<optional>
|
2532
|
-
<element name="language">
|
2533
|
-
<text/>
|
2534
|
-
</element>
|
2535
|
-
</optional>
|
2536
|
-
<optional>
|
2537
|
-
<element name="year">
|
2538
|
-
<text/>
|
2539
|
-
</element>
|
2540
|
-
</optional>
|
2541
|
-
</element>
|
2542
|
-
</define>
|
2543
2372
|
<define name="term-clause">
|
2544
2373
|
<element name="clause">
|
2545
2374
|
<optional>
|
@@ -2700,6 +2529,7 @@
|
|
2700
2529
|
<ref name="xref"/>
|
2701
2530
|
<ref name="hyperlink"/>
|
2702
2531
|
<ref name="eref"/>
|
2532
|
+
<ref name="erefstack"/>
|
2703
2533
|
</choice>
|
2704
2534
|
<oneOrMore>
|
2705
2535
|
<element name="coords">
|
@@ -2747,6 +2577,7 @@
|
|
2747
2577
|
<ref name="xref"/>
|
2748
2578
|
<ref name="hyperlink"/>
|
2749
2579
|
<ref name="eref"/>
|
2580
|
+
<ref name="erefstack"/>
|
2750
2581
|
</choice>
|
2751
2582
|
</element>
|
2752
2583
|
</zeroOrMore>
|
@@ -2795,6 +2626,15 @@
|
|
2795
2626
|
<ref name="PureTextElement"/>
|
2796
2627
|
</oneOrMore>
|
2797
2628
|
</define>
|
2629
|
+
<define name="XrefConnectiveType">
|
2630
|
+
<choice>
|
2631
|
+
<value>and</value>
|
2632
|
+
<value>or</value>
|
2633
|
+
<value>from</value>
|
2634
|
+
<value>to</value>
|
2635
|
+
<value/>
|
2636
|
+
</choice>
|
2637
|
+
</define>
|
2798
2638
|
<define name="XrefTarget">
|
2799
2639
|
<element name="location">
|
2800
2640
|
<attribute name="target">
|
@@ -2803,14 +2643,36 @@
|
|
2803
2643
|
</data>
|
2804
2644
|
</attribute>
|
2805
2645
|
<attribute name="connective">
|
2806
|
-
<
|
2807
|
-
<value>and</value>
|
2808
|
-
<value>or</value>
|
2809
|
-
<value>from</value>
|
2810
|
-
<value>to</value>
|
2811
|
-
<value/>
|
2812
|
-
</choice>
|
2646
|
+
<ref name="XrefConnectiveType"/>
|
2813
2647
|
</attribute>
|
2814
2648
|
</element>
|
2815
2649
|
</define>
|
2650
|
+
<define name="XrefStyleType">
|
2651
|
+
<choice>
|
2652
|
+
<value>basic</value>
|
2653
|
+
<value>full</value>
|
2654
|
+
<value>short</value>
|
2655
|
+
<value>id</value>
|
2656
|
+
</choice>
|
2657
|
+
</define>
|
2658
|
+
<define name="erefTypeWithConnective">
|
2659
|
+
<optional>
|
2660
|
+
<attribute name="connective">
|
2661
|
+
<ref name="XrefConnectiveType"/>
|
2662
|
+
</attribute>
|
2663
|
+
</optional>
|
2664
|
+
<ref name="erefType"/>
|
2665
|
+
</define>
|
2666
|
+
<define name="erefstack">
|
2667
|
+
<element name="erefstack">
|
2668
|
+
<oneOrMore>
|
2669
|
+
<element name="eref">
|
2670
|
+
<ref name="erefTypeWithConnective"/>
|
2671
|
+
</element>
|
2672
|
+
</oneOrMore>
|
2673
|
+
</element>
|
2674
|
+
</define>
|
2675
|
+
<start>
|
2676
|
+
<ref name="standard-document"/>
|
2677
|
+
</start>
|
2816
2678
|
</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>
|
data/metanorma-bipm.gemspec
CHANGED
@@ -19,12 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.license = "BSD-2-Clause"
|
20
20
|
|
21
21
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
|
-
f.match(%r{^(test|spec|features)/})
|
22
|
+
f.match(%r{^(test|spec|features|bin|.github)/}) \
|
23
|
+
|| f.match(%r{Rakefile|bin/rspec})
|
23
24
|
end
|
24
25
|
spec.bindir = "exe"
|
25
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
27
|
spec.require_paths = ["lib"]
|
27
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
28
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
28
29
|
|
29
30
|
spec.add_dependency "metanorma-generic", "~> 2.2.2"
|
30
31
|
spec.add_dependency "metanorma-iso", "~> 2.2.0"
|
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.
|
4
|
+
version: 2.1.12
|
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-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -216,8 +216,6 @@ executables: []
|
|
216
216
|
extensions: []
|
217
217
|
extra_rdoc_files: []
|
218
218
|
files:
|
219
|
-
- ".github/workflows/rake.yml"
|
220
|
-
- ".github/workflows/release.yml"
|
221
219
|
- ".gitignore"
|
222
220
|
- ".hound.yml"
|
223
221
|
- ".rubocop.yml"
|
@@ -225,10 +223,6 @@ files:
|
|
225
223
|
- Gemfile
|
226
224
|
- LICENSE
|
227
225
|
- README.adoc
|
228
|
-
- Rakefile
|
229
|
-
- bin/console
|
230
|
-
- bin/rspec
|
231
|
-
- bin/setup
|
232
226
|
- lib/isodoc/bipm.rb
|
233
227
|
- lib/isodoc/bipm/base_convert.rb
|
234
228
|
- lib/isodoc/bipm/bipm.brochure.xsl
|
@@ -269,6 +263,7 @@ files:
|
|
269
263
|
- lib/metanorma-bipm.rb
|
270
264
|
- lib/metanorma/bipm.rb
|
271
265
|
- lib/metanorma/bipm/basicdoc.rng
|
266
|
+
- lib/metanorma/bipm/biblio-standoc.rng
|
272
267
|
- lib/metanorma/bipm/biblio.rng
|
273
268
|
- lib/metanorma/bipm/bipm.rng
|
274
269
|
- lib/metanorma/bipm/boilerplate-en.xml
|
@@ -278,6 +273,7 @@ files:
|
|
278
273
|
- lib/metanorma/bipm/front.rb
|
279
274
|
- lib/metanorma/bipm/isodoc.rng
|
280
275
|
- lib/metanorma/bipm/processor.rb
|
276
|
+
- lib/metanorma/bipm/relaton-bipm.rng
|
281
277
|
- lib/metanorma/bipm/reqt.rng
|
282
278
|
- lib/metanorma/bipm/version.rb
|
283
279
|
- metanorma-bipm.gemspec
|
@@ -294,14 +290,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
294
290
|
requirements:
|
295
291
|
- - ">="
|
296
292
|
- !ruby/object:Gem::Version
|
297
|
-
version: 2.
|
293
|
+
version: 2.7.0
|
298
294
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
295
|
requirements:
|
300
296
|
- - ">="
|
301
297
|
- !ruby/object:Gem::Version
|
302
298
|
version: '0'
|
303
299
|
requirements: []
|
304
|
-
rubygems_version: 3.
|
300
|
+
rubygems_version: 3.3.7
|
305
301
|
signing_key:
|
306
302
|
specification_version: 4
|
307
303
|
summary: metanorma-bipm lets you write BIPM standards in Metanorma.
|
data/.github/workflows/rake.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: rake
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master, main ]
|
8
|
-
tags: [ v* ]
|
9
|
-
pull_request:
|
10
|
-
|
11
|
-
jobs:
|
12
|
-
notify:
|
13
|
-
uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
|
14
|
-
secrets:
|
15
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: release
|
4
|
-
|
5
|
-
on:
|
6
|
-
workflow_dispatch:
|
7
|
-
inputs:
|
8
|
-
next_version:
|
9
|
-
description: |
|
10
|
-
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
11
|
-
required: true
|
12
|
-
default: 'skip'
|
13
|
-
push:
|
14
|
-
tags: [ v* ]
|
15
|
-
|
16
|
-
jobs:
|
17
|
-
release:
|
18
|
-
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
19
|
-
with:
|
20
|
-
next_version: ${{ github.event.inputs.next_version }}
|
21
|
-
secrets:
|
22
|
-
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
23
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
24
|
-
|