metanorma-unece 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/unece/base_convert.rb +1 -1
- data/lib/isodoc/unece/html/html_unece_plenary_titlepage.html +2 -2
- data/lib/isodoc/unece/html/html_unece_titlepage.html +2 -2
- data/lib/isodoc/unece/html/unece.scss +4 -0
- data/lib/isodoc/unece/html/word_unece_plenary_titlepage.html +2 -2
- data/lib/isodoc/unece/html/word_unece_titlepage.html +4 -4
- data/lib/isodoc/unece/metadata.rb +2 -2
- data/lib/isodoc/unece/word_convert.rb +1 -1
- data/lib/metanorma/unece/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9b4e3d511e753c6e9d672093152987b8446de7e0c22afb10d6b0427bd1e05f8
|
4
|
+
data.tar.gz: b8f1059aed254f47b308ee8625ceebc727a3b040456544a69545329d8caf72f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a16c01e4f91b5bb05d2b68252b9c0cd9765564662677acb9bb741741880d5cd827e6e9de639904633294526ec15525b0924520893f02728b80252f897b93c35
|
7
|
+
data.tar.gz: 06f38f762cfab15e9e81308b1fb46da72d070bc781d61fa0548fae7bdab3cf0755a343e89ebae570980a04c2db251f6ca09b25c2ec7a31acd14216daceb34f13
|
@@ -182,7 +182,7 @@ module IsoDoc
|
|
182
182
|
end
|
183
183
|
|
184
184
|
def admonition_name_parse(node, div, name)
|
185
|
-
div.p **{ class: "
|
185
|
+
div.p **{ class: "AdmonitionTitle", style: "text-align:center;" } do |p|
|
186
186
|
lbl = anchor(node['id'], :label)
|
187
187
|
lbl.nil? or p << l10n("#{@admonition_lbl} #{lbl}")
|
188
188
|
name and !lbl.nil? and p << " — "
|
@@ -68,8 +68,8 @@
|
|
68
68
|
{% if submissionlanguage %}
|
69
69
|
<p><span class="coverpage-maturity">Original: {{ submissionlanguage | join: "/" }}</span></p>
|
70
70
|
{% endif %}
|
71
|
-
{% if
|
72
|
-
<p><span class="coverpage-maturity">{{
|
71
|
+
{% if doclanguage %}
|
72
|
+
<p><span class="coverpage-maturity">{{ doclanguage | join: ", " }} only</span></p>
|
73
73
|
{% endif %}
|
74
74
|
</div>
|
75
75
|
|
@@ -49,8 +49,8 @@
|
|
49
49
|
{% if submissionlanguage %}
|
50
50
|
<p><span class="coverpage-maturity">Original: {{ submissionlanguage | join: "/" }}</span></p>
|
51
51
|
{% endif %}
|
52
|
-
{% if
|
53
|
-
<p><span class="coverpage-maturity">{{
|
52
|
+
{% if doclanguage %}
|
53
|
+
<p><span class="coverpage-maturity">{{ doclanguage | join: ", " }} only</span></p>
|
54
54
|
{% endif %}
|
55
55
|
</div>
|
56
56
|
|
@@ -30,10 +30,10 @@ lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times
|
|
30
30
|
{{ submissionlanguage | join: "/" }}<o:p></o:p></span></p>
|
31
31
|
{% endif %}
|
32
32
|
|
33
|
-
{% if
|
33
|
+
{% if doclanguage %}
|
34
34
|
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
35
35
|
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
|
36
|
-
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{
|
36
|
+
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{ doclanguage | join: ", " }} only<o:p></o:p></span></p>
|
37
37
|
{% endif %}
|
38
38
|
|
39
39
|
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
@@ -3,15 +3,15 @@
|
|
3
3
|
|
4
4
|
{% if submissionlanguage %}
|
5
5
|
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
6
|
-
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'
|
6
|
+
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
|
7
7
|
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>Original:
|
8
8
|
{{ submissionlanguage | join: "/" }}<o:p></o:p></span></p>
|
9
9
|
{% endif %}
|
10
10
|
|
11
|
-
{% if
|
11
|
+
{% if doclanguage %}
|
12
12
|
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
13
|
-
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'
|
14
|
-
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{
|
13
|
+
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
|
14
|
+
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{ doclanguage | join: ", " }} only<o:p></o:p></span></p>
|
15
15
|
{% endif %}
|
16
16
|
|
17
17
|
<p class="MsoNormal" align="center" style='text-align:center;line-height:18.0pt;margin-bottom:0.0pt'><b
|
@@ -34,10 +34,10 @@ module IsoDoc
|
|
34
34
|
set(:tc, tc.text) if tc
|
35
35
|
set(:distribution, isoxml&.at(ns("//bibdata/ext/distribution"))&.text)
|
36
36
|
lgs = extract_languages(isoxml.xpath(ns("//bibdata/language")))
|
37
|
-
lgs = [] if lgs.sort == %w(English French Arabic Chinese
|
37
|
+
lgs = [] if lgs.sort == %w(English French Arabic Chinese Russian Spanish).sort
|
38
38
|
slgs = extract_languages(isoxml.xpath(ns("//bibdata/ext/submissionlanguage")))
|
39
39
|
lgs = [] if slgs.size == 1
|
40
|
-
set(:
|
40
|
+
set(:doclanguage, lgs) unless lgs.empty?
|
41
41
|
set(:submissionlanguage, slgs) unless slgs.empty?
|
42
42
|
session(isoxml, _out)
|
43
43
|
end
|
@@ -76,7 +76,7 @@ module IsoDoc
|
|
76
76
|
end
|
77
77
|
|
78
78
|
ENDLINE = <<~END.freeze
|
79
|
-
<v:line
|
79
|
+
<v:line
|
80
80
|
alt="" style='position:absolute;left:0;text-align:left;z-index:251662848;
|
81
81
|
mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
|
82
82
|
mso-width-percent:0;mso-height-percent:0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-unece
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|