metanorma-bipm 2.1.5 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -1
- data/.github/workflows/release.yml +24 -0
- data/lib/isodoc/bipm/bipm.brochure.xsl +3928 -3387
- data/lib/isodoc/bipm/bipm.guide.xsl +3928 -3387
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +3928 -3387
- data/lib/isodoc/bipm/bipm.rapport.xsl +3928 -3387
- data/lib/isodoc/bipm/jcgm.standard.xsl +3515 -2915
- data/lib/metanorma/bipm/biblio.rng +8 -5
- data/lib/metanorma/bipm/isodoc.rng +6 -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/lib/metanorma-bipm.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +11 -11
- data/lib/isodoc/bipm/html/htmlstyle.css +0 -1017
@@ -225,9 +225,9 @@
|
|
225
225
|
<zeroOrMore>
|
226
226
|
<ref name="forename"/>
|
227
227
|
</zeroOrMore>
|
228
|
-
<
|
229
|
-
<ref name="
|
230
|
-
</
|
228
|
+
<optional>
|
229
|
+
<ref name="formatted-initials"/>
|
230
|
+
</optional>
|
231
231
|
<ref name="surname"/>
|
232
232
|
<zeroOrMore>
|
233
233
|
<ref name="addition"/>
|
@@ -247,8 +247,8 @@
|
|
247
247
|
<ref name="LocalizedString"/>
|
248
248
|
</element>
|
249
249
|
</define>
|
250
|
-
<define name="
|
251
|
-
<element name="
|
250
|
+
<define name="formatted-initials">
|
251
|
+
<element name="formatted-initials">
|
252
252
|
<ref name="LocalizedString"/>
|
253
253
|
</element>
|
254
254
|
</define>
|
@@ -264,6 +264,9 @@
|
|
264
264
|
</define>
|
265
265
|
<define name="forename">
|
266
266
|
<element name="forename">
|
267
|
+
<optional>
|
268
|
+
<attribute name="initial"/>
|
269
|
+
</optional>
|
267
270
|
<ref name="LocalizedString"/>
|
268
271
|
</element>
|
269
272
|
</define>
|
@@ -1285,7 +1285,12 @@
|
|
1285
1285
|
</define>
|
1286
1286
|
<define name="span">
|
1287
1287
|
<element name="span">
|
1288
|
-
<
|
1288
|
+
<optional>
|
1289
|
+
<attribute name="class"/>
|
1290
|
+
</optional>
|
1291
|
+
<optional>
|
1292
|
+
<attribute name="style"/>
|
1293
|
+
</optional>
|
1289
1294
|
<oneOrMore>
|
1290
1295
|
<ref name="TextElement"/>
|
1291
1296
|
</oneOrMore>
|
@@ -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/lib/metanorma-bipm.rb
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.8"
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-06 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.8
|
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.8
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,6 +217,7 @@ extensions: []
|
|
217
217
|
extra_rdoc_files: []
|
218
218
|
files:
|
219
219
|
- ".github/workflows/rake.yml"
|
220
|
+
- ".github/workflows/release.yml"
|
220
221
|
- ".gitignore"
|
221
222
|
- ".hound.yml"
|
222
223
|
- ".rubocop.yml"
|
@@ -237,7 +238,6 @@ files:
|
|
237
238
|
- lib/isodoc/bipm/doccontrol.rb
|
238
239
|
- lib/isodoc/bipm/html/html_bipm_intro.html
|
239
240
|
- lib/isodoc/bipm/html/html_bipm_titlepage.html
|
240
|
-
- lib/isodoc/bipm/html/htmlstyle.css
|
241
241
|
- lib/isodoc/bipm/html/htmlstyle.scss
|
242
242
|
- lib/isodoc/bipm/html/logo.png
|
243
243
|
- lib/isodoc/bipm/html/scripts.html
|
@@ -285,7 +285,7 @@ homepage: https://github.com/metanorma/metanorma-bipm
|
|
285
285
|
licenses:
|
286
286
|
- BSD-2-Clause
|
287
287
|
metadata: {}
|
288
|
-
post_install_message:
|
288
|
+
post_install_message:
|
289
289
|
rdoc_options: []
|
290
290
|
require_paths:
|
291
291
|
- lib
|
@@ -300,8 +300,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
300
|
- !ruby/object:Gem::Version
|
301
301
|
version: '0'
|
302
302
|
requirements: []
|
303
|
-
rubygems_version: 3.
|
304
|
-
signing_key:
|
303
|
+
rubygems_version: 3.1.6
|
304
|
+
signing_key:
|
305
305
|
specification_version: 4
|
306
306
|
summary: metanorma-bipm lets you write BIPM standards in Metanorma.
|
307
307
|
test_files: []
|