metanorma-unece 0.2.6 → 0.2.7

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: 57fd39bf71e8f31b64503ecdf0d8df0934c2e2edd2e9b50b91215f1f6685ef5d
4
- data.tar.gz: 105da23fc9a62a6509581dca8e9fa36654ff98b0cfb03917cb81c4baf1759bef
3
+ metadata.gz: e9b4e3d511e753c6e9d672093152987b8446de7e0c22afb10d6b0427bd1e05f8
4
+ data.tar.gz: b8f1059aed254f47b308ee8625ceebc727a3b040456544a69545329d8caf72f4
5
5
  SHA512:
6
- metadata.gz: b7233895053dd31b44cbf2a2b400c24ed14401767bcf6dff89fd24f688574a81f6c1504a454d57a5b4738de83e8558b8f8d5a10df10480b19a70921930cd433f
7
- data.tar.gz: 75b7e6b3694257294749a5ec2e4c3bc98d4de6f04ccc3631dfdb34a2dc6848b4bf1a05313b6e979fcbf9f0146c8af1a929dede7bc4e9bafab7df84a63fc71249
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: "FigureTitle", style: "text-align:center;" } do |p|
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 << "&nbsp;&mdash; "
@@ -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 language %}
72
- <p><span class="coverpage-maturity">{{ language | join: ", " }} only</span></p>
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 language %}
53
- <p><span class="coverpage-maturity">{{ language | join: ", " }} only</span></p>
52
+ {% if doclanguage %}
53
+ <p><span class="coverpage-maturity">{{ doclanguage | join: ", " }} only</span></p>
54
54
  {% endif %}
55
55
  </div>
56
56
 
@@ -705,6 +705,10 @@ div.example p.MsoListParagraph {
705
705
  font-size: 10.0pt;
706
706
  }
707
707
 
708
+ div.Note p.MsoListParagraph {
709
+ font-size: 10.0pt;
710
+ }
711
+
708
712
  span.note_label, span.example_label, td.example_label, td.note_label
709
713
  {
710
714
  font-size: 10.0pt;
@@ -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 language %}
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'>{{ language }} only<o:p></o:p></span></p>
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'>?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| </span></span><span
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 language %}
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'>?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| ?| </span></span><span
14
- lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>{{ language }} only<o:p></o:p></span></p>
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 German Spanish).sort
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(:language, lgs) unless lgs.empty?
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 id="_x0000_s1026"
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'
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Unece
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
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.6
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-27 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor