metanorma-itu 2.0.7 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/itu/html/html_itu_titlepage.html +1 -0
- data/lib/isodoc/itu/html/word_itu_titlepage.html +1 -0
- data/lib/isodoc/itu/html/word_itu_titlepage_sp.html +1 -1
- data/lib/isodoc/itu/html_convert.rb +16 -11
- data/lib/isodoc/itu/init.rb +1 -1
- data/lib/isodoc/itu/itu.implementers-guide.xsl +554 -199
- data/lib/isodoc/itu/itu.in-force.xsl +554 -199
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +554 -199
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +554 -199
- data/lib/isodoc/itu/itu.recommendation.xsl +554 -199
- data/lib/isodoc/itu/itu.resolution.xsl +554 -199
- data/lib/isodoc/itu/itu.service-publication.xsl +554 -199
- data/lib/isodoc/itu/itu.technical-paper.xsl +554 -199
- data/lib/isodoc/itu/itu.technical-report.xsl +554 -199
- data/lib/isodoc/itu/presentation_xml_convert.rb +16 -0
- data/lib/isodoc/itu/ref.rb +20 -32
- data/lib/isodoc/itu/word_cleanup.rb +5 -3
- data/lib/isodoc/itu/xref.rb +42 -27
- data/lib/isodoc/itu/xref_section.rb +0 -15
- data/lib/metanorma/itu/biblio.rng +62 -10
- data/lib/metanorma/itu/isodoc.rng +56 -0
- data/lib/metanorma/itu/version.rb +1 -1
- data/lib/relaton/render/config.yml +3 -0
- data/lib/relaton/render/general.rb +13 -0
- data/metanorma-itu.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a9eccc8a2a7ded921ed0c0449effc1bd291f24397cc336d764dc40b240ed2ba
|
4
|
+
data.tar.gz: ea6f904adef534c080e262d41390445da3620fc9fe527aabb58719210856a4c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 998adbdb918ad2266a4ac677dcf57bafcce80cd290f1a46ce69639e1f7497a15bb1ef3435e7431257a25b42ce76bc209c18335b4ee7edb7913f522ce3538c0d3
|
7
|
+
data.tar.gz: 4bcf1dd0491a7bc603805439a5dafaeb655ebca57562c62b6ea72bc73fea327e8b400a1d24668a285b560630c9357941276a81210ce9f721467b0f5985182df5
|
@@ -419,6 +419,7 @@
|
|
419
419
|
<span style='mso-bookmark:_Hlk526346232'></span>
|
420
420
|
</tr>
|
421
421
|
</table>
|
422
|
+
<div class="coverpage-warning" id="coverpage-note-destination"/>
|
422
423
|
|
423
424
|
<p class="MsoNormal" align="right" style='margin-top:0.0pt;text-align:right;
|
424
425
|
tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span style='mso-bookmark:
|
@@ -99,7 +99,7 @@ normal'><span lang="EN-GB" style='font-size:14.0pt;mso-bidi-font-size:10.0pt'>{{
|
|
99
99
|
<p class="MsoNormal"><b style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt;mso-bidi-font-size:10.0pt'><o:p> </o:p></span></b></p>
|
100
100
|
</td>
|
101
101
|
</tr>
|
102
|
-
</table
|
102
|
+
</table><div class="coverpage-warning" id="coverpage-note-destination"/>
|
103
103
|
|
104
104
|
<p class="MEP"> </p>
|
105
105
|
|
@@ -4,7 +4,6 @@ require "fileutils"
|
|
4
4
|
|
5
5
|
module IsoDoc
|
6
6
|
module ITU
|
7
|
-
|
8
7
|
# A {Converter} implementation that generates HTML output, and a document
|
9
8
|
# schema encapsulation of the document for validation
|
10
9
|
#
|
@@ -17,14 +16,20 @@ module IsoDoc
|
|
17
16
|
|
18
17
|
def default_fonts(options)
|
19
18
|
{
|
20
|
-
bodyfont: (options[:script] == "Hans"
|
21
|
-
|
22
|
-
|
23
|
-
'"Times New Roman",serif'
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
19
|
+
bodyfont: (if options[:script] == "Hans"
|
20
|
+
'"Source Han Sans",serif'
|
21
|
+
else
|
22
|
+
'"Times New Roman",serif'
|
23
|
+
end),
|
24
|
+
headerfont: (if options[:script] == "Hans"
|
25
|
+
'"Source Han Sans",sans-serif'
|
26
|
+
else
|
27
|
+
'"Times New Roman",serif'
|
28
|
+
end),
|
29
|
+
monospacefont: '"Courier New",monospace',
|
30
|
+
normalfontsize: "14px",
|
31
|
+
monospacefontsize: "0.8em",
|
32
|
+
footnotefontsize: "0.9em",
|
28
33
|
}
|
29
34
|
end
|
30
35
|
|
@@ -38,12 +43,12 @@ module IsoDoc
|
|
38
43
|
|
39
44
|
def googlefonts
|
40
45
|
<<~HEAD.freeze
|
41
|
-
|
46
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,800|Space+Mono:400,700" rel="stylesheet">
|
42
47
|
HEAD
|
43
48
|
end
|
44
49
|
|
45
50
|
def make_body(xml, docxml)
|
46
|
-
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
|
51
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
|
47
52
|
"xml:lang": "EN-US", class: "container" }
|
48
53
|
xml.body **body_attr do |body|
|
49
54
|
make_body1(body, docxml)
|
data/lib/isodoc/itu/init.rb
CHANGED