metanorma-bipm 2.1.4 → 2.1.7
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 +0 -6
- data/lib/isodoc/bipm/bipm.brochure.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.guide.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.rapport.xsl +3884 -3275
- data/lib/isodoc/bipm/init.rb +6 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +3468 -2799
- data/lib/metanorma/bipm/isodoc.rng +27 -1
- data/lib/metanorma/bipm/processor.rb +8 -5
- data/lib/metanorma/bipm/reqt.rng +1 -1
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +6 -6
@@ -69,6 +69,17 @@
|
|
69
69
|
</zeroOrMore>
|
70
70
|
</element>
|
71
71
|
</define>
|
72
|
+
<define name="AdmonitionType">
|
73
|
+
<choice>
|
74
|
+
<value>warning</value>
|
75
|
+
<value>note</value>
|
76
|
+
<value>tip</value>
|
77
|
+
<value>important</value>
|
78
|
+
<value>caution</value>
|
79
|
+
<value>statement</value>
|
80
|
+
<value>editorial</value>
|
81
|
+
</choice>
|
82
|
+
</define>
|
72
83
|
<define name="index">
|
73
84
|
<element name="index">
|
74
85
|
<optional>
|
@@ -1274,7 +1285,12 @@
|
|
1274
1285
|
</define>
|
1275
1286
|
<define name="span">
|
1276
1287
|
<element name="span">
|
1277
|
-
<
|
1288
|
+
<optional>
|
1289
|
+
<attribute name="class"/>
|
1290
|
+
</optional>
|
1291
|
+
<optional>
|
1292
|
+
<attribute name="style"/>
|
1293
|
+
</optional>
|
1278
1294
|
<oneOrMore>
|
1279
1295
|
<ref name="TextElement"/>
|
1280
1296
|
</oneOrMore>
|
@@ -2493,6 +2509,16 @@
|
|
2493
2509
|
<text/>
|
2494
2510
|
</element>
|
2495
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>
|
2496
2522
|
<optional>
|
2497
2523
|
<element name="language">
|
2498
2524
|
<text/>
|
@@ -10,7 +10,7 @@ module Metanorma
|
|
10
10
|
def output_formats
|
11
11
|
super.merge(
|
12
12
|
html: "html",
|
13
|
-
pdf: "pdf"
|
13
|
+
pdf: "pdf",
|
14
14
|
).tap { |hs| hs.delete(:doc) }
|
15
15
|
end
|
16
16
|
|
@@ -37,14 +37,17 @@ module Metanorma
|
|
37
37
|
"Metanorma::BIPM #{Metanorma::BIPM::VERSION}"
|
38
38
|
end
|
39
39
|
|
40
|
-
def output(isodoc_node, inname, outname, format, options={})
|
40
|
+
def output(isodoc_node, inname, outname, format, options = {})
|
41
41
|
case format
|
42
42
|
when :html
|
43
|
-
IsoDoc::BIPM::HtmlConvert.new(options)
|
43
|
+
IsoDoc::BIPM::HtmlConvert.new(options)
|
44
|
+
.convert(inname, isodoc_node, nil, outname)
|
44
45
|
when :presentation
|
45
|
-
IsoDoc::BIPM::PresentationXMLConvert.new(options)
|
46
|
+
IsoDoc::BIPM::PresentationXMLConvert.new(options)
|
47
|
+
.convert(inname, isodoc_node, nil, outname)
|
46
48
|
when :pdf
|
47
|
-
IsoDoc::BIPM::PdfConvert.new(options)
|
49
|
+
IsoDoc::BIPM::PdfConvert.new(options)
|
50
|
+
.convert(inname, isodoc_node, nil, outname)
|
48
51
|
else
|
49
52
|
super
|
50
53
|
end
|
data/lib/metanorma/bipm/reqt.rng
CHANGED
data/metanorma-bipm.gemspec
CHANGED
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
28
28
|
|
29
|
-
spec.add_dependency "metanorma-generic", "~> 2.
|
30
|
-
spec.add_dependency "metanorma-iso", "~> 2.1.
|
29
|
+
spec.add_dependency "metanorma-generic", "~> 2.2.0"
|
30
|
+
spec.add_dependency "metanorma-iso", "~> 2.1.6"
|
31
31
|
|
32
32
|
spec.add_development_dependency "debug"
|
33
33
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
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.7
|
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-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: metanorma-iso
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.1.
|
33
|
+
version: 2.1.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.1.
|
40
|
+
version: 2.1.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|