metanorma-itu 1.2.8 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,15 @@ module IsoDoc
64
64
  end
65
65
  end
66
66
 
67
+ def convert1(docxml, filename, dir)
68
+ if docxml&.at(ns("//bibdata/ext/doctype"))&.text == "service-publication"
69
+ @wordcoverpage = html_doc_path("word_itu_titlepage_sp.html")
70
+ options[:bodyfont] = "Arial"
71
+ options[:headerfont] = "Arial"
72
+ end
73
+ super
74
+ end
75
+
67
76
  def default_fonts(options)
68
77
  { bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' :
69
78
  '"Times New Roman",serif'),
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "1.2.8"
3
+ VERSION = "1.2.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.9
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-30 00:00:00.000000000 Z
11
+ date: 2020-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -309,10 +309,12 @@ files:
309
309
  - lib/isodoc/itu/html/itu-document-comb.png
310
310
  - lib/isodoc/itu/html/itu.css
311
311
  - lib/isodoc/itu/html/itu.scss
312
+ - lib/isodoc/itu/html/logo-sp.png
312
313
  - lib/isodoc/itu/html/logo.png
313
314
  - lib/isodoc/itu/html/scripts.html
314
315
  - lib/isodoc/itu/html/word_itu_intro.html
315
316
  - lib/isodoc/itu/html/word_itu_titlepage.html
317
+ - lib/isodoc/itu/html/word_itu_titlepage_sp.html
316
318
  - lib/isodoc/itu/html/wordstyle.css
317
319
  - lib/isodoc/itu/html/wordstyle.scss
318
320
  - lib/isodoc/itu/html_convert.rb