metanorma-bipm 2.5.3 → 2.5.5
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 +2 -2
- data/lib/isodoc/bipm/bipm.brochure.xsl +138 -52
- data/lib/isodoc/bipm/bipm.guide.xsl +138 -52
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +138 -52
- data/lib/isodoc/bipm/bipm.rapport.xsl +138 -52
- data/lib/isodoc/bipm/doccontrol.rb +1 -1
- data/lib/isodoc/bipm/html_convert.rb +1 -1
- data/lib/isodoc/bipm/i18n.rb +2 -2
- data/lib/isodoc/bipm/index.rb +1 -1
- data/lib/isodoc/bipm/init.rb +2 -2
- data/lib/isodoc/bipm/jcgm.standard.xsl +138 -52
- data/lib/isodoc/bipm/metadata.rb +2 -2
- data/lib/isodoc/bipm/pdf_convert.rb +1 -1
- data/lib/isodoc/bipm/presentation_blocks.rb +1 -1
- data/lib/isodoc/bipm/presentation_xml_convert.rb +1 -1
- data/lib/isodoc/bipm/xref.rb +5 -5
- data/lib/isodoc/bipm.rb +1 -1
- data/lib/metanorma/bipm/biblio-standoc.rng +13 -0
- data/lib/metanorma/bipm/biblio.rng +19 -12
- data/lib/metanorma/bipm/cleanup.rb +1 -1
- data/lib/metanorma/bipm/converter.rb +6 -6
- data/lib/metanorma/bipm/front.rb +1 -1
- data/lib/metanorma/bipm/processor.rb +6 -6
- data/lib/metanorma/bipm/relaton-bipm.rng +1 -0
- data/lib/metanorma/bipm/version.rb +2 -2
- data/lib/metanorma/bipm.rb +2 -2
- data/lib/metanorma-bipm.rb +1 -1
- data/lib/relaton/render/general.rb +1 -1
- data/lib/relaton/render/parse.rb +1 -1
- data/metanorma-bipm.gemspec +1 -1
- metadata +2 -2
@@ -1,10 +1,10 @@
|
|
1
1
|
require "metanorma/processor"
|
2
2
|
|
3
3
|
module Metanorma
|
4
|
-
module
|
4
|
+
module Bipm
|
5
5
|
class Processor < Metanorma::Generic::Processor
|
6
6
|
def configuration
|
7
|
-
Metanorma::
|
7
|
+
Metanorma::Bipm.configuration
|
8
8
|
end
|
9
9
|
|
10
10
|
def output_formats
|
@@ -15,20 +15,20 @@ module Metanorma
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def version
|
18
|
-
"Metanorma::
|
18
|
+
"Metanorma::Bipm #{Metanorma::Bipm::VERSION}"
|
19
19
|
end
|
20
20
|
|
21
21
|
def output(isodoc_node, inname, outname, format, options = {})
|
22
22
|
options_preprocess(options)
|
23
23
|
case format
|
24
24
|
when :html
|
25
|
-
IsoDoc::
|
25
|
+
IsoDoc::Bipm::HtmlConvert.new(options)
|
26
26
|
.convert(inname, isodoc_node, nil, outname)
|
27
27
|
when :presentation
|
28
|
-
IsoDoc::
|
28
|
+
IsoDoc::Bipm::PresentationXMLConvert.new(options)
|
29
29
|
.convert(inname, isodoc_node, nil, outname)
|
30
30
|
when :pdf
|
31
|
-
IsoDoc::
|
31
|
+
IsoDoc::Bipm::PdfConvert.new(options)
|
32
32
|
.convert(inname, isodoc_node, nil, outname)
|
33
33
|
else
|
34
34
|
super
|
data/lib/metanorma/bipm.rb
CHANGED
@@ -4,7 +4,7 @@ require "metanorma/bipm/processor"
|
|
4
4
|
require "metanorma/bipm/converter"
|
5
5
|
|
6
6
|
module Metanorma
|
7
|
-
module
|
7
|
+
module Bipm
|
8
8
|
def self.fonts_used
|
9
9
|
{
|
10
10
|
html: ["Times New Roman", "STIX", "Courier New"],
|
@@ -37,4 +37,4 @@ module Metanorma
|
|
37
37
|
configure {}
|
38
38
|
end
|
39
39
|
end
|
40
|
-
Metanorma::Registry.instance.register(Metanorma::
|
40
|
+
Metanorma::Registry.instance.register(Metanorma::Bipm::Processor)
|
data/lib/metanorma-bipm.rb
CHANGED
@@ -7,5 +7,5 @@ require "asciidoctor" unless defined? Asciidoctor::Converter
|
|
7
7
|
|
8
8
|
if defined? Metanorma::Registry
|
9
9
|
require_relative "metanorma/bipm"
|
10
|
-
Metanorma::Registry.instance.register(Metanorma::
|
10
|
+
Metanorma::Registry.instance.register(Metanorma::Bipm::Processor)
|
11
11
|
end
|
data/lib/relaton/render/parse.rb
CHANGED
data/metanorma-bipm.gemspec
CHANGED
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.5.
|
4
|
+
version: 2.5.5
|
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-
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|