metanorma-bipm 0.0.4 → 0.0.5
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 +5 -6
- data/lib/asciidoctor/bipm/bipm.rng +7 -2
- data/lib/asciidoctor/bipm/converter.rb +9 -5
- data/lib/isodoc/bipm/base_convert.rb +35 -0
- data/lib/isodoc/bipm/bipm.brochure.xsl +135 -22
- data/lib/isodoc/bipm/bipm.guide.xsl +135 -22
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +135 -22
- data/lib/isodoc/bipm/bipm.rapport.xsl +135 -22
- data/lib/isodoc/bipm/html/htmlstyle.css +3 -3
- data/lib/isodoc/bipm/html/htmlstyle.scss +2 -2
- data/lib/isodoc/bipm/i18n-en.yaml +5 -13
- data/lib/isodoc/bipm/i18n-fr.yaml +2 -1
- data/lib/isodoc/bipm/presentation_xml_convert.rb +2 -4
- data/lib/isodoc/bipm/xref.rb +5 -3
- data/lib/metanorma/bipm.rb +7 -0
- data/lib/metanorma/bipm/fonts_manifest.yaml +7 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +1 -2
- data/metanorma.yml +2 -0
- metadata +5 -18
data/lib/metanorma/bipm.rb
CHANGED
@@ -4,6 +4,13 @@ require "metanorma/bipm/processor"
|
|
4
4
|
|
5
5
|
module Metanorma
|
6
6
|
module BIPM
|
7
|
+
def self.fonts_used
|
8
|
+
{
|
9
|
+
html: ["Times New Roman", "STIX", "Courier New"],
|
10
|
+
pdf: ["Arial", "Times New Roman", "Work Sans", "STIX"]
|
11
|
+
}
|
12
|
+
end
|
13
|
+
|
7
14
|
class Configuration < Metanorma::Generic::Configuration
|
8
15
|
def initialize(*args)
|
9
16
|
super
|
data/metanorma-bipm.gemspec
CHANGED
@@ -26,8 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
28
28
|
|
29
|
-
spec.add_dependency "metanorma-generic", "~> 1.
|
30
|
-
spec.add_dependency "isodoc", "~> 1.2.0"
|
29
|
+
spec.add_dependency "metanorma-generic", "~> 1.8.0"
|
31
30
|
|
32
31
|
spec.add_development_dependency "byebug", "~> 9.1"
|
33
32
|
spec.add_development_dependency "sassc", "2.4.0"
|
data/metanorma.yml
CHANGED
@@ -5,6 +5,8 @@ document_namespace: https://www.metanorma.org/ns/bipm
|
|
5
5
|
xml_root_tag: 'bipm-standard'
|
6
6
|
html_bodyfont: Times New Roman
|
7
7
|
html_headerfont: Times New Roman
|
8
|
+
html_normalfontsize: "15px"
|
9
|
+
html_footnotefontsize: "0.9em"
|
8
10
|
logo_path: lib/isodoc/bipm/html/logo.png
|
9
11
|
i18nyaml:
|
10
12
|
en: lib/isodoc/bipm/i18n-en.yaml
|
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: 0.0.
|
4
|
+
version: 0.0.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: 2020-11-
|
11
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -16,28 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.8.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: 1.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: isodoc
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.2.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.2.0
|
26
|
+
version: 1.8.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: byebug
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,6 +228,7 @@ files:
|
|
242
228
|
- lib/isodoc/bipm/xref.rb
|
243
229
|
- lib/metanorma-bipm.rb
|
244
230
|
- lib/metanorma/bipm.rb
|
231
|
+
- lib/metanorma/bipm/fonts_manifest.yaml
|
245
232
|
- lib/metanorma/bipm/processor.rb
|
246
233
|
- lib/metanorma/bipm/version.rb
|
247
234
|
- metanorma-bipm.gemspec
|