metanorma-itu 1.2.6 → 1.2.11
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 +29 -8
- data/README.adoc +3 -4
- data/lib/asciidoctor/itu/basicdoc.rng +50 -3
- data/lib/asciidoctor/itu/boilerplate.xml +8 -2
- data/lib/asciidoctor/itu/cleanup.rb +9 -0
- data/lib/asciidoctor/itu/converter.rb +1 -0
- data/lib/asciidoctor/itu/front.rb +42 -8
- data/lib/asciidoctor/itu/isodoc.rng +61 -3
- data/lib/asciidoctor/itu/itu.rng +71 -0
- data/lib/asciidoctor/itu/validate.rb +14 -13
- data/lib/isodoc/itu/base_convert.rb +65 -58
- data/lib/isodoc/itu/cleanup.rb +55 -0
- data/lib/isodoc/itu/html/header.html +12 -16
- data/lib/isodoc/itu/html/html_itu_intro.html +4 -3
- data/lib/isodoc/itu/html/html_itu_titlepage.html +23 -17
- data/lib/isodoc/itu/html/htmlstyle.css +793 -745
- data/lib/isodoc/itu/html/htmlstyle.scss +15 -12
- data/lib/isodoc/itu/html/itu.css +43 -43
- data/lib/isodoc/itu/html/itu.scss +44 -43
- data/lib/isodoc/itu/html/logo-sp.png +0 -0
- data/lib/isodoc/itu/html/word_itu_intro.html +19 -3
- data/lib/isodoc/itu/html/word_itu_titlepage.html +37 -8
- data/lib/isodoc/itu/html/word_itu_titlepage_sp.html +108 -0
- data/lib/isodoc/itu/html/wordstyle.css +40 -37
- data/lib/isodoc/itu/html/wordstyle.scss +40 -37
- data/lib/isodoc/itu/html_convert.rb +4 -1
- data/lib/isodoc/itu/i18n-en.yaml +44 -0
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +720 -154
- data/lib/isodoc/itu/itu.recommendation.xsl +720 -154
- data/lib/isodoc/itu/itu.resolution.xsl +720 -154
- data/lib/isodoc/itu/itu.technical-paper.xsl +5284 -0
- data/lib/isodoc/itu/itu.technical-report.xsl +5284 -0
- data/lib/isodoc/itu/metadata.rb +59 -9
- data/lib/isodoc/itu/pdf_convert.rb +2 -0
- data/lib/isodoc/itu/presentation_xml_convert.rb +104 -2
- data/lib/isodoc/itu/ref.rb +0 -13
- data/lib/isodoc/itu/terms.rb +7 -30
- data/lib/isodoc/itu/word_cleanup.rb +5 -1
- data/lib/isodoc/itu/word_convert.rb +15 -1
- data/lib/isodoc/itu/xref.rb +93 -39
- data/lib/metanorma/itu/processor.rb +10 -8
- data/lib/metanorma/itu/version.rb +1 -1
- data/metanorma-itu.gemspec +2 -2
- metadata +11 -6
@@ -2,14 +2,6 @@ require "metanorma/processor"
|
|
2
2
|
|
3
3
|
module Metanorma
|
4
4
|
module ITU
|
5
|
-
def self.fonts_used
|
6
|
-
{
|
7
|
-
html: ["Arial", "Courier New", "Times New Roman"],
|
8
|
-
doc: ["Arial", "Courier New", "Times New Roman"],
|
9
|
-
pdf: ["Arial", "Courier New", "Times New Roman"]
|
10
|
-
}
|
11
|
-
end
|
12
|
-
|
13
5
|
class Processor < Metanorma::Processor
|
14
6
|
|
15
7
|
def initialize
|
@@ -26,6 +18,16 @@ module Metanorma
|
|
26
18
|
)
|
27
19
|
end
|
28
20
|
|
21
|
+
def fonts_manifest
|
22
|
+
{
|
23
|
+
"Arial" => nil,
|
24
|
+
"Courier" => nil,
|
25
|
+
"Courier New" => nil,
|
26
|
+
"Times New Roman" => nil,
|
27
|
+
"STIX Two Math" => nil,
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
29
31
|
def version
|
30
32
|
"Metanorma::ITU #{Metanorma::ITU::VERSION}"
|
31
33
|
end
|
data/metanorma-itu.gemspec
CHANGED
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
28
28
|
spec.add_dependency "ruby-jing"
|
29
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
30
|
-
spec.add_dependency "isodoc", "~> 1.2
|
29
|
+
spec.add_dependency "metanorma-standoc", "~> 1.7.0"
|
30
|
+
spec.add_dependency "isodoc", "~> 1.4.2"
|
31
31
|
spec.add_dependency "twitter_cldr"
|
32
32
|
spec.add_dependency "tzinfo-data" # we need this for windows only
|
33
33
|
|
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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.7.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.7.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: isodoc
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.2
|
61
|
+
version: 1.4.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.2
|
68
|
+
version: 1.4.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: twitter_cldr
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- lib/asciidoctor/itu/validate.rb
|
298
298
|
- lib/isodoc/itu.rb
|
299
299
|
- lib/isodoc/itu/base_convert.rb
|
300
|
+
- lib/isodoc/itu/cleanup.rb
|
300
301
|
- lib/isodoc/itu/html/International_Telecommunication_Union_Logo.svg
|
301
302
|
- lib/isodoc/itu/html/Logo_ITU.jpg
|
302
303
|
- lib/isodoc/itu/html/_coverpage.css
|
@@ -309,10 +310,12 @@ files:
|
|
309
310
|
- lib/isodoc/itu/html/itu-document-comb.png
|
310
311
|
- lib/isodoc/itu/html/itu.css
|
311
312
|
- lib/isodoc/itu/html/itu.scss
|
313
|
+
- lib/isodoc/itu/html/logo-sp.png
|
312
314
|
- lib/isodoc/itu/html/logo.png
|
313
315
|
- lib/isodoc/itu/html/scripts.html
|
314
316
|
- lib/isodoc/itu/html/word_itu_intro.html
|
315
317
|
- lib/isodoc/itu/html/word_itu_titlepage.html
|
318
|
+
- lib/isodoc/itu/html/word_itu_titlepage_sp.html
|
316
319
|
- lib/isodoc/itu/html/wordstyle.css
|
317
320
|
- lib/isodoc/itu/html/wordstyle.scss
|
318
321
|
- lib/isodoc/itu/html_convert.rb
|
@@ -322,6 +325,8 @@ files:
|
|
322
325
|
- lib/isodoc/itu/itu.recommendation-annex.xsl
|
323
326
|
- lib/isodoc/itu/itu.recommendation.xsl
|
324
327
|
- lib/isodoc/itu/itu.resolution.xsl
|
328
|
+
- lib/isodoc/itu/itu.technical-paper.xsl
|
329
|
+
- lib/isodoc/itu/itu.technical-report.xsl
|
325
330
|
- lib/isodoc/itu/metadata.rb
|
326
331
|
- lib/isodoc/itu/pdf_convert.rb
|
327
332
|
- lib/isodoc/itu/presentation_xml_convert.rb
|