metanorma-un 0.8.6 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76f964b245971dfcfeed8afb937bca5d822f7494c2d2d257a61c62c8c353b4df
4
- data.tar.gz: 7c605fdba61ea8cb2e22158c5dda7170afaade780d35d4e79cd049a0181e0d60
3
+ metadata.gz: e366a3b59b9803320aac7c83e3138a519626597bbc6dc8e3348b77b58747d57c
4
+ data.tar.gz: 5f31a640fa6773835c6fb6d04d1da24dbdefc09a517acae1efc3e0f2a6da9acc
5
5
  SHA512:
6
- metadata.gz: 8965e8ab1cdf01fcff84a20f8e89b87772e16c71b02e4ad9691422f023c19784be786c41db1d32c9f9773421055ad22e9d1df3b8d9cc91a601c42018489b727e
7
- data.tar.gz: cebab50be2be058a1085d5e9b68bd8e66d46560bd7df58ce0efb6f4d90442dc004d528943e1283ecd91f652432000577f041d391def3e6983bcc13d799e18101
6
+ metadata.gz: 9d160ce19ed4a1f65931298574075d261ae42d1f3cc498421328fa576ca79a29810baf6b72ba9196471df32c60902abf581f65c5d6ac98477633dbddcd18aa27
7
+ data.tar.gz: a678ff6186ad97b878ce6e57669b1b71b0670810653411f7dc676f016ce434acb2bc5df7650b93fba7f22bc63dafe4eb203f4097a63d98ad85c2c88638873905
@@ -85,6 +85,9 @@
85
85
  </div>
86
86
  {% endif %}
87
87
 
88
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
89
+
90
+
88
91
  <div class="info-section">
89
92
  <div class="copyright">
90
93
  <p class="year">
@@ -74,6 +74,7 @@
74
74
  </div>
75
75
  {% endif %}
76
76
 
77
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
77
78
 
78
79
 
79
80
  <div class="info-section">
@@ -9253,6 +9253,10 @@ in Collaboration with {{ session_collaborator }}</span></b>
9253
9253
  <p class="MsoNormal"></p>
9254
9254
  <div class="MsoNormal" id='abstractbox' style='margin-left:70.9pt;font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif;mso-style-textoutline-type:none;mso-style-textoutline-outlinestyle-dpiwidth:.75pt;mso-style-textoutline-outlinestyle-linecap:round;mso-style-textoutline-outlinestyle-join:bevel;mso-style-textoutline-outlinestyle-pctmiterlimit:0%;mso-style-textoutline-outlinestyle-dash:solid;mso-style-textoutline-outlinestyle-align:center;mso-style-textoutline-outlinestyle-compound:simple'/>
9255
9255
  </div>
9256
+
9257
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
9258
+
9259
+
9256
9260
  <p class="MsoNormal"><v:shapetype id="_x0000_t202"
9257
9261
  coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
9258
9262
  <v:stroke joinstyle="miter"/>
@@ -30,6 +30,9 @@ style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:24.0pt'>
30
30
  normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ doctype }} No. {{ docnumber }} {{ draftinfo }}</span></b><b
31
31
  <p class="MsoNormal" style='margin-top:100.0pt'><span lang="EN-GB"><o:p>&nbsp;</o:p></span></p>
32
32
 
33
+ <div class="coverpage-warning" id="coverpage-note-destination"/>
34
+
35
+
33
36
  {% if fn_refs.size > 0 %}
34
37
  <div class="title-footnote">
35
38
  {% for item in title_footnote %}
@@ -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)
@@ -9,46 +9,37 @@ module IsoDoc
9
9
  @toc = options[:toc]
10
10
  end
11
11
 
12
- def note1(f)
13
- return if f.parent.name == "bibitem"
14
- return if f["type"] == "title-footnote"
15
- n = @xrefs.get[f["id"]]
16
- lbl = case f["type"]
12
+ def note1(elem)
13
+ return if elem.parent.name == "bibitem"
14
+ return if elem["type"] == "title-footnote"
15
+
16
+ # n = @xrefs.get[f["id"]]
17
+ lbl = case elem["type"]
17
18
  when "source" then "Source"
18
19
  when "abbreviation" then "Abbreviations"
19
20
  else
20
21
  @i18n.note
21
22
  end
22
- prefix_name(f, "", lbl, "name")
23
+ prefix_name(elem, "", lbl, "name")
23
24
  end
24
25
 
25
- def conversions(docxml)
26
- super
27
- admonition docxml
28
- end
26
+ def admonition1(elem)
27
+ return if elem["notag"] == "true"
29
28
 
30
- def admonition(docxml)
31
- docxml.xpath(ns("//admonition")).each do |f|
32
- admonition1(f)
33
- end
34
- end
35
-
36
- def admonition1(f)
37
- n = @xrefs.anchor(f['id'], :label) or return
29
+ n = @xrefs.anchor(elem["id"], :label) or return
38
30
  lbl = l10n("#{@i18n.admonition} #{n}")
39
- prefix_name(f, "&nbsp;&mdash; ", lbl, "name")
31
+ prefix_name(elem, "&#xa0;&#x2014; ", lbl, "name")
40
32
  end
41
33
 
42
- def annex1(f)
43
- lbl = @xrefs.anchor(f['id'], :label)
44
- if t = f.at(ns("./title"))
34
+ def annex1(elem)
35
+ lbl = @xrefs.anchor(elem["id"], :label)
36
+ if t = elem.at(ns("./title"))
45
37
  t.children = "<strong>#{t.children.to_xml}</strong>"
46
38
  end
47
- prefix_name(f, "<br/>", lbl, "title")
39
+ prefix_name(elem, "<br/>", lbl, "title")
48
40
  end
49
41
 
50
42
  include Init
51
43
  end
52
44
  end
53
45
  end
54
-