metanorma-iho 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ Source Sans Pro:
3
+ - Light
4
+ Source Serif Pro:
5
+ Source Code Pro:
6
+ - Light
7
+ Source Han Sans:
@@ -2,14 +2,6 @@ require "metanorma/processor"
2
2
 
3
3
  module Metanorma
4
4
  module IHO
5
- def self.fonts_used
6
- {
7
- html: ["SourceSansPro-Light", "SourceSerifPro", "SourceCodePro-Light", "HanSans"],
8
- doc: ["SourceSansPro-Light", "SourceSerifPro", "SourceCodePro-Light", "HanSans"],
9
- pdf: ["SourceSansPro-Light", "SourceSerifPro", "SourceCodePro-Light", "HanSans"],
10
- }
11
- end
12
-
13
5
  class Processor < Metanorma::Generic::Processor
14
6
  def configuration
15
7
  Metanorma::IHO.configuration
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IHO
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
@@ -27,8 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
28
28
 
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
- spec.add_dependency "isodoc", "~> 1.2.0"
31
- spec.add_dependency 'metanorma-generic', '~> 1.7.0'
30
+ spec.add_dependency 'metanorma-generic', '~> 1.8.0'
32
31
 
33
32
  spec.add_development_dependency "byebug", "~> 9.1"
34
33
  spec.add_development_dependency "sassc", "2.4.0"
@@ -16,6 +16,8 @@ htmlstylesheet: lib/isodoc/iho/html/htmlstyle.scss
16
16
  html_bodyfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
17
17
  html_headerfont: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'
18
18
  html_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
19
+ html_normalfontsize: "15px"
20
+ html_footnotefontsize: "0.9em"
19
21
  scripts: lib/isodoc/iho/html/scripts.html
20
22
  scripts_pdf: lib/isodoc/iho/html/scripts.pdf.html
21
23
  standardstylesheet: lib/isodoc/iho/html/iho.scss
@@ -26,6 +28,10 @@ wordstylesheet: lib/isodoc/iho/html/wordstyle.scss
26
28
  word_bodyfont: '"Helvetica Neue",Arial,sans-serif'
27
29
  word_headerfont: '"Helvetica Neue",Arial,sans-serif'
28
30
  word_monospacefont: 'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'
31
+ word_normalfontsize: "12.0pt"
32
+ word_smallerfontsize: "11.0pt"
33
+ word_monospacefontsize: "10.0pt"
34
+ word_footnotefontsize: "10.0pt"
29
35
  docid_template: "{% if seriesabbr %}{{seriesabbr}}{%else%}S{%endif%}-{{ docnumeric }}{% if stageabbr %}({{ stageabbr }}){%endif%}"
30
36
  published_stages:
31
37
  - in-force
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
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-09 00:00:00.000000000 Z
11
+ date: 2020-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -24,34 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.3.4
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
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: metanorma-generic
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: 1.7.0
33
+ version: 1.8.0
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: 1.7.0
40
+ version: 1.8.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: byebug
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -249,6 +235,7 @@ files:
249
235
  - lib/isodoc/iho/xref.rb
250
236
  - lib/metanorma-iho.rb
251
237
  - lib/metanorma/iho.rb
238
+ - lib/metanorma/iho/fonts_manifest.yaml
252
239
  - lib/metanorma/iho/processor.rb
253
240
  - lib/metanorma/iho/version.rb
254
241
  - metanorma-iho.gemspec