metanorma-itu 2.0.8.1 → 2.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b72833fd8174442ae52fa5586d1153f1487ea255d8624976c06b3865483ddeb
4
- data.tar.gz: 84f4c5e4ec5fa53caa2e5b6d2dc9868adfac469a5eb570bf8262ab08ae768639
3
+ metadata.gz: 0a9eccc8a2a7ded921ed0c0449effc1bd291f24397cc336d764dc40b240ed2ba
4
+ data.tar.gz: ea6f904adef534c080e262d41390445da3620fc9fe527aabb58719210856a4c7
5
5
  SHA512:
6
- metadata.gz: ebc8d6bf3d905a53717b86b91c2b9ad42b95b0fea78308ad7d2c76dd9bf8f35324c3931257f316f91f5996684fc3bfaaa07217ad0fb37f4653e60c20ca7c1aa8
7
- data.tar.gz: 504a360980e1614092bb9ae5c9f900553646c7d7d72f8ed9293cfc7a5063e8c5fefce2a3af286aa35315f1ee2ca5d8bdf39445368f6804f3d9992edc65122886
6
+ metadata.gz: 998adbdb918ad2266a4ac677dcf57bafcce80cd290f1a46ce69639e1f7497a15bb1ef3435e7431257a25b42ce76bc209c18335b4ee7edb7913f522ce3538c0d3
7
+ data.tar.gz: 4bcf1dd0491a7bc603805439a5dafaeb655ebca57562c62b6ea72bc73fea327e8b400a1d24668a285b560630c9357941276a81210ce9f721467b0f5985182df5
@@ -129,6 +129,7 @@
129
129
  <div id="draft-warning-destination"/>
130
130
  </div>
131
131
  {% endif %}
132
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
132
133
 
133
134
  <div class="info-section">
134
135
  <div id="boilerplate-copyright-destination"/>
@@ -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>&#xA0;</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">&#xA0;</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" ? '"Source Han Sans",serif' :
21
- '"Times New Roman",serif'),
22
- headerfont: (options[:script] == "Hans" ? '"Source Han Sans",sans-serif' :
23
- '"Times New Roman",serif'),
24
- monospacefont: '"Courier New",monospace',
25
- normalfontsize: "14px",
26
- monospacefontsize: "0.8em",
27
- footnotefontsize: "0.9em",
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
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,800|Space+Mono:400,700" rel="stylesheet">
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)
@@ -17,7 +17,7 @@ module IsoDoc
17
17
  end
18
18
 
19
19
  def i18n_init(lang, script, i18nyaml = nil)
20
- @i18n = I18n.new(lang, script, i18nyaml || @i18nyaml)
20
+ @i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml)
21
21
  end
22
22
 
23
23
  def fileloc(loc)