metanorma-un 0.8.7 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/html/html_unece_plenary_titlepage.html +3 -0
- data/lib/isodoc/un/html/html_unece_titlepage.html +1 -0
- data/lib/isodoc/un/html/word_unece_plenary_titlepage.html +4 -0
- data/lib/isodoc/un/html/word_unece_titlepage.html +7 -4
- data/lib/isodoc/un/init.rb +1 -1
- data/lib/isodoc/un/presentation_xml_convert.rb +15 -24
- data/lib/isodoc/un/un.plenary-attachment.xsl +1605 -324
- data/lib/isodoc/un/un.plenary.xsl +1605 -324
- data/lib/isodoc/un/un.recommendation.xsl +1605 -324
- data/lib/isodoc/un/word_convert.rb +27 -21
- data/lib/isodoc/un/xref.rb +21 -16
- data/lib/metanorma/un/biblio.rng +62 -10
- data/lib/metanorma/un/converter.rb +5 -5
- data/lib/metanorma/un/isodoc.rng +56 -0
- data/lib/metanorma/un/un.rng +10 -0
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-unece.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f94f7953e256699e56fb1d4f6f34139f1d08a09acefb869004182d4613762793
|
4
|
+
data.tar.gz: beb4fac7e74dce851f5545ddb1aa951f539a1febaebcd76ad2819363bd756f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e89c3843c534fc0cc44ae3435e70f82aacb6433729ca9f4935d75c2e1fbec4ea88f85c23ef685625a6e9298696d43e8a1138428fba7bed1645cdeb5a5e913e9
|
7
|
+
data.tar.gz: 8281614c7d9b53801bef955cd26bd55d285b8dae18e6923a23ef48990b1d6c4a88fe687b33964d4c03ca58e0a9b1a925e07520d92f492bafab8f16f8d67298ab
|
@@ -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"/>
|
@@ -2,16 +2,16 @@
|
|
2
2
|
<span lang="EN-GB"><span style='mso-no-proof:yes'><b>{{ tc | join: "/" }}</b></span></p>
|
3
3
|
|
4
4
|
{% if submissionlanguage %}
|
5
|
-
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
5
|
+
<p class="MsoNormal" style='tab-stops:70.9pt 12.0cm'><span lang="EN-AU"
|
6
6
|
style='font-family:"Times New Roman",serif'><span style='mso-tab-count:2'> </span></span><span
|
7
|
-
lang=EN-AU style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:"Times New Roman",serif'>Original:
|
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
11
|
{% if doclanguage %}
|
12
|
-
<p class=MsoNormal style='tab-stops:70.9pt 12.0cm'><span lang=EN-AU
|
12
|
+
<p class="MsoNormal" style='tab-stops:70.9pt 12.0cm'><span lang="EN-AU"
|
13
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>
|
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
|
{% assign fn_refs = "" | split: ',' %}
|
@@ -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> </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 %}
|
data/lib/isodoc/un/init.rb
CHANGED
@@ -9,46 +9,37 @@ module IsoDoc
|
|
9
9
|
@toc = options[:toc]
|
10
10
|
end
|
11
11
|
|
12
|
-
def note1(
|
13
|
-
return if
|
14
|
-
return if
|
15
|
-
|
16
|
-
|
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(
|
23
|
+
prefix_name(elem, "", lbl, "name")
|
23
24
|
end
|
24
25
|
|
25
|
-
def
|
26
|
-
|
27
|
-
admonition docxml
|
28
|
-
end
|
26
|
+
def admonition1(elem)
|
27
|
+
return if elem["notag"] == "true"
|
29
28
|
|
30
|
-
|
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(
|
31
|
+
prefix_name(elem, " — ", lbl, "name")
|
40
32
|
end
|
41
33
|
|
42
|
-
def annex1(
|
43
|
-
lbl = @xrefs.anchor(
|
44
|
-
if t =
|
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(
|
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
|
-
|