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.
- checksums.yaml +4 -4
- data/lib/asciidoctor/itu/basicdoc.rng +32 -0
- data/lib/asciidoctor/itu/boilerplate.xml +3 -0
- data/lib/asciidoctor/itu/front.rb +19 -3
- data/lib/asciidoctor/itu/isodoc.rng +15 -0
- data/lib/asciidoctor/itu/validate.rb +1 -1
- data/lib/isodoc/itu/html/header.html +8 -16
- data/lib/isodoc/itu/html/html_itu_intro.html +4 -3
- data/lib/isodoc/itu/html/html_itu_titlepage.html +3 -0
- data/lib/isodoc/itu/html/htmlstyle.css +12 -0
- data/lib/isodoc/itu/html/htmlstyle.scss +1 -0
- data/lib/isodoc/itu/html/logo-sp.png +0 -0
- data/lib/isodoc/itu/html/word_itu_intro.html +11 -3
- data/lib/isodoc/itu/html/word_itu_titlepage.html +5 -1
- data/lib/isodoc/itu/html/word_itu_titlepage_sp.html +108 -0
- data/lib/isodoc/itu/i18n-en.yaml +28 -0
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +65 -28
- data/lib/isodoc/itu/itu.recommendation.xsl +65 -28
- data/lib/isodoc/itu/itu.resolution.xsl +65 -28
- data/lib/isodoc/itu/itu.technical-paper.xsl +65 -28
- data/lib/isodoc/itu/itu.technical-report.xsl +65 -28
- data/lib/isodoc/itu/metadata.rb +16 -2
- data/lib/isodoc/itu/presentation_xml_convert.rb +52 -0
- data/lib/isodoc/itu/word_cleanup.rb +1 -0
- data/lib/isodoc/itu/word_convert.rb +9 -0
- data/lib/metanorma/itu/version.rb +1 -1
- metadata +4 -2
@@ -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'),
|
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.
|
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
|
+
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
|