metanorma-itu 1.2.10 → 1.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +3 -0
- data/lib/asciidoctor/itu/boilerplate.xml +5 -2
- data/lib/asciidoctor/itu/cleanup.rb +9 -0
- data/lib/asciidoctor/itu/converter.rb +1 -0
- data/lib/asciidoctor/itu/front.rb +14 -15
- data/lib/asciidoctor/itu/isodoc.rng +26 -3
- data/lib/asciidoctor/itu/itu.rng +70 -0
- data/lib/asciidoctor/itu/validate.rb +12 -4
- data/lib/isodoc/itu/base_convert.rb +65 -52
- data/lib/isodoc/itu/cleanup.rb +55 -0
- data/lib/isodoc/itu/html/header.html +12 -8
- data/lib/isodoc/itu/html/html_itu_titlepage.html +15 -3
- data/lib/isodoc/itu/html/htmlstyle.css +48 -12
- data/lib/isodoc/itu/html/htmlstyle.scss +9 -5
- data/lib/isodoc/itu/html/word_itu_intro.html +6 -0
- data/lib/isodoc/itu/html/word_itu_titlepage.html +29 -6
- data/lib/isodoc/itu/html/wordstyle.css +3 -0
- data/lib/isodoc/itu/html/wordstyle.scss +3 -0
- data/lib/isodoc/itu/i18n-en.yaml +4 -0
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +18 -2
- data/lib/isodoc/itu/itu.recommendation.xsl +18 -2
- data/lib/isodoc/itu/itu.resolution.xsl +18 -2
- data/lib/isodoc/itu/itu.technical-paper.xsl +18 -2
- data/lib/isodoc/itu/itu.technical-report.xsl +18 -2
- data/lib/isodoc/itu/metadata.rb +41 -7
- data/lib/isodoc/itu/presentation_xml_convert.rb +49 -3
- data/lib/isodoc/itu/xref.rb +93 -39
- data/lib/metanorma/itu/version.rb +1 -1
- data/metanorma-itu.gemspec +1 -1
- metadata +5 -4
@@ -0,0 +1,55 @@
|
|
1
|
+
module IsoDoc
|
2
|
+
module ITU
|
3
|
+
module BaseConvert
|
4
|
+
def cleanup(docxml)
|
5
|
+
super
|
6
|
+
term_cleanup(docxml)
|
7
|
+
refs_cleanup(docxml)
|
8
|
+
title_cleanup(docxml)
|
9
|
+
end
|
10
|
+
|
11
|
+
def title_cleanup(docxml)
|
12
|
+
docxml.xpath("//h1[@class = 'RecommendationAnnex']").each do |h|
|
13
|
+
h.name = "p"
|
14
|
+
h["class"] = "h1Annex"
|
15
|
+
end
|
16
|
+
docxml
|
17
|
+
end
|
18
|
+
|
19
|
+
def term_cleanup(docxml)
|
20
|
+
term_cleanup1(docxml)
|
21
|
+
term_cleanup2(docxml)
|
22
|
+
docxml
|
23
|
+
end
|
24
|
+
|
25
|
+
def term_cleanup1(docxml)
|
26
|
+
docxml.xpath("//p[@class = 'Terms']").each do |d|
|
27
|
+
h2 = d.at("./preceding-sibling::*[@class = 'TermNum'][1]")
|
28
|
+
d.children.first.previous = "<b>#{h2.children.to_xml}</b> "
|
29
|
+
d["id"] = h2["id"]
|
30
|
+
h2.remove
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def term_cleanup2(docxml)
|
35
|
+
docxml.xpath("//p[@class = 'TermNum']").each do |d|
|
36
|
+
d1 = d.next_element and d1.name == "p" or next
|
37
|
+
d1.children.each { |e| e.parent = d }
|
38
|
+
d1.remove
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def refs_cleanup(docxml)
|
43
|
+
docxml.xpath("//tx[following-sibling::tx]").each do |tx|
|
44
|
+
tx << tx.next_element.remove.children
|
45
|
+
end
|
46
|
+
docxml.xpath("//tx").each do |tx|
|
47
|
+
tx.name = "td"
|
48
|
+
tx["colspan"] = "2"
|
49
|
+
tx.wrap("<tr></tr>")
|
50
|
+
end
|
51
|
+
docxml
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -115,7 +115,7 @@ MERGEFORMAT </span><span lang=EN-GB style='font-weight:normal'><span
|
|
115
115
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
|
116
116
|
style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
|
117
117
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
|
118
|
-
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
|
118
|
+
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}<o:p></o:p></span></p>
|
119
119
|
</div>
|
120
120
|
|
121
121
|
<div style='mso-element:footer' id=ef2l>
|
@@ -127,11 +127,12 @@ MERGEFORMAT </span><span lang=EN-GB style='font-weight:normal'><span
|
|
127
127
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
|
128
128
|
style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
|
129
129
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
|
130
|
-
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
130
|
+
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}</span></p>
|
131
131
|
</div>
|
132
132
|
|
133
133
|
<div style='mso-element:footer' id=f2>
|
134
|
-
<p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
134
|
+
<p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}
|
135
|
+
<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
135
136
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
|
136
137
|
PAGE<span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span
|
137
138
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
|
@@ -141,7 +142,8 @@ lang=EN-GB style='font-weight:normal'><o:p></o:p></span></p>
|
|
141
142
|
</div>
|
142
143
|
|
143
144
|
<div style='mso-element:footer' id=f2l>
|
144
|
-
<p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
145
|
+
<p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}
|
146
|
+
<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
145
147
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
|
146
148
|
PAGE<span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span
|
147
149
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
|
@@ -159,7 +161,7 @@ MERGEFORMAT </span><span lang=EN-GB style='font-weight:normal'><span
|
|
159
161
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
|
160
162
|
style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
|
161
163
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
|
162
|
-
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
164
|
+
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}</span></p>
|
163
165
|
</div>
|
164
166
|
|
165
167
|
<div style='mso-element:footer' id=ef3l>
|
@@ -171,11 +173,12 @@ MERGEFORMAT </span><span lang=EN-GB style='font-weight:normal'><span
|
|
171
173
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
|
172
174
|
style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
|
173
175
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
|
174
|
-
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
176
|
+
lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}</span></p>
|
175
177
|
</div>
|
176
178
|
|
177
179
|
<div style='mso-element:footer' id=f3>
|
178
|
-
<p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %}
|
180
|
+
<p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}
|
181
|
+
<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
179
182
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
|
180
183
|
PAGE<span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span
|
181
184
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
|
@@ -185,7 +188,8 @@ lang=EN-GB style='font-weight:normal'><o:p></o:p></span></p>
|
|
185
188
|
</div>
|
186
189
|
|
187
190
|
<div style='mso-element:footer' id=f3l>
|
188
|
-
<p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})
|
191
|
+
<p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'> </span>{% if doctype == "Resolution" %}{{ meeting_acronym }} – {{ doctype }} {{ docnumber}}{% else %}{% if doctype_abbreviated %}{{ doctype_abbreviated }} {% endif %}{% if docnumber_lang %}{{docnumber_lang}}{% else %}{{ docnumber }}{% endif %} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }}){% endif %}
|
192
|
+
<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
189
193
|
lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
|
190
194
|
PAGE<span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span
|
191
195
|
style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
|
@@ -43,15 +43,17 @@
|
|
43
43
|
|
44
44
|
<div class="doc-info-left">
|
45
45
|
<div class="doc-identifier">
|
46
|
-
{{ docnumeric }}
|
46
|
+
{% if doctype != "Recommendation" %}{{doctype }} {% endif %}{{ docnumeric }}
|
47
47
|
{% if amendmentid %}<div class="doc-subidentifier">{{ amendmentid }}</div>{% endif %}
|
48
48
|
{% if corrigendumid %}<div class="doc-subidentifier">{{ corrigendumid }}</div>{% endif %}
|
49
49
|
{% if edition %} <div> Revision {{ edition }}</div> {% endif %}
|
50
50
|
<div> {{ draftinfo }}</div>
|
51
51
|
</div>
|
52
|
+
{% if pubdate_monthyear %}
|
52
53
|
<div class="publication-month">
|
53
54
|
({{ pubdate_monthyear }})
|
54
55
|
</div>
|
56
|
+
{% endif %}
|
55
57
|
</div>
|
56
58
|
|
57
59
|
<div class="doc-category">
|
@@ -61,11 +63,21 @@
|
|
61
63
|
</div>
|
62
64
|
|
63
65
|
<div class="coverpage-title">
|
64
|
-
|
65
|
-
|
66
|
+
{% if series %}
|
67
|
+
<span class="doc-series">Series {{ series }}</span>
|
68
|
+
{% endif %}
|
69
|
+
{% if series1 %}
|
66
70
|
<span class="doc-subSeries">
|
67
71
|
{{ series1 }} {% if series2 %}— {{ series2 }}{% endif %}
|
68
72
|
</span>
|
73
|
+
{% endif %}
|
74
|
+
{% if meeting %}
|
75
|
+
<span class="doc-series">{{ meeting | upcase }}</span>
|
76
|
+
{% endif %}
|
77
|
+
{% if meeting_place or meeting_date %}
|
78
|
+
<span class="doc-subSeries">{{ meeting_place }}{% if meeting_place and meeting_date %}, {% endif %}{{ meeting_date }}</span>
|
79
|
+
{% endif %}
|
80
|
+
|
69
81
|
<span class="doc-title">{{ doctitle }}</span>
|
70
82
|
{% if docsubtitle %}
|
71
83
|
<br/><span class="doc-subtitle">{{ docsubtitle }}</span>
|
@@ -145,16 +145,16 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
145
145
|
border-bottom: solid 3px #a3d88f; }
|
146
146
|
|
147
147
|
#technical-paper-band {
|
148
|
-
background-color: #
|
148
|
+
background-color: #ff6b6b; }
|
149
149
|
|
150
150
|
#technical-paper {
|
151
|
-
border-bottom: solid 3px #
|
151
|
+
border-bottom: solid 3px #ff6b6b; }
|
152
152
|
|
153
153
|
#technical-report-band {
|
154
|
-
background-color: #
|
154
|
+
background-color: #ff6b6b; }
|
155
155
|
|
156
156
|
#technical-report {
|
157
|
-
border-bottom: solid 3px #
|
157
|
+
border-bottom: solid 3px #ff6b6b; }
|
158
158
|
|
159
159
|
#focus-group-band {
|
160
160
|
background-color: #750697; }
|
@@ -169,10 +169,10 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
169
169
|
border-bottom: solid 3px #750697; }
|
170
170
|
|
171
171
|
#joint-itu-iso-iec-band {
|
172
|
-
background-color: #
|
172
|
+
background-color: #edc9ff; }
|
173
173
|
|
174
174
|
#joint-itu-iso-iec {
|
175
|
-
border-bottom: solid 3px #
|
175
|
+
border-bottom: solid 3px #edc9ff; }
|
176
176
|
|
177
177
|
#service-publication-band {
|
178
178
|
background-color: #750697; }
|
@@ -180,6 +180,24 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
180
180
|
#service-publication {
|
181
181
|
border-bottom: solid 3px #750697; }
|
182
182
|
|
183
|
+
#resolution-band {
|
184
|
+
background-color: #f2b79f; }
|
185
|
+
|
186
|
+
#resolution {
|
187
|
+
border-bottom: solid 3px #f2b79f; }
|
188
|
+
|
189
|
+
#handbook-band {
|
190
|
+
background-color: #750697; }
|
191
|
+
|
192
|
+
#handbook {
|
193
|
+
border-bottom: solid 3px #750697; }
|
194
|
+
|
195
|
+
#question-band {
|
196
|
+
background-color: #750697; }
|
197
|
+
|
198
|
+
#question {
|
199
|
+
border-bottom: solid 3px #750697; }
|
200
|
+
|
183
201
|
#in-force-band {
|
184
202
|
background-color: #d9f39d; }
|
185
203
|
|
@@ -357,16 +375,16 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
357
375
|
border-bottom: solid 3px #a3d88f; }
|
358
376
|
|
359
377
|
#technical-paper-band {
|
360
|
-
background-color: #
|
378
|
+
background-color: #ff6b6b; }
|
361
379
|
|
362
380
|
#technical-paper {
|
363
|
-
border-bottom: solid 3px #
|
381
|
+
border-bottom: solid 3px #ff6b6b; }
|
364
382
|
|
365
383
|
#technical-report-band {
|
366
|
-
background-color: #
|
384
|
+
background-color: #ff6b6b; }
|
367
385
|
|
368
386
|
#technical-report {
|
369
|
-
border-bottom: solid 3px #
|
387
|
+
border-bottom: solid 3px #ff6b6b; }
|
370
388
|
|
371
389
|
#focus-group-band {
|
372
390
|
background-color: #750697; }
|
@@ -381,10 +399,10 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
381
399
|
border-bottom: solid 3px #750697; }
|
382
400
|
|
383
401
|
#joint-itu-iso-iec-band {
|
384
|
-
background-color: #
|
402
|
+
background-color: #edc9ff; }
|
385
403
|
|
386
404
|
#joint-itu-iso-iec {
|
387
|
-
border-bottom: solid 3px #
|
405
|
+
border-bottom: solid 3px #edc9ff; }
|
388
406
|
|
389
407
|
#service-publication-band {
|
390
408
|
background-color: #750697; }
|
@@ -392,6 +410,24 @@ a.FootnoteRef + a.FootnoteRef:before {
|
|
392
410
|
#service-publication {
|
393
411
|
border-bottom: solid 3px #750697; }
|
394
412
|
|
413
|
+
#resolution-band {
|
414
|
+
background-color: #f2b79f; }
|
415
|
+
|
416
|
+
#resolution {
|
417
|
+
border-bottom: solid 3px #f2b79f; }
|
418
|
+
|
419
|
+
#handbook-band {
|
420
|
+
background-color: #750697; }
|
421
|
+
|
422
|
+
#handbook {
|
423
|
+
border-bottom: solid 3px #750697; }
|
424
|
+
|
425
|
+
#question-band {
|
426
|
+
background-color: #750697; }
|
427
|
+
|
428
|
+
#question {
|
429
|
+
border-bottom: solid 3px #750697; }
|
430
|
+
|
395
431
|
#in-force-band {
|
396
432
|
background-color: #d9f39d; }
|
397
433
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
$recBandColor: #a3d88f;
|
2
|
-
$tecPaperColor: #
|
2
|
+
$tecPaperColor: #ff6b6b;
|
3
|
+
$guidePaperColor: #750697;
|
3
4
|
$doctype-colors-list: (
|
4
5
|
recommendation: $recBandColor,
|
5
6
|
recommendation-amendment: $recBandColor,
|
@@ -9,10 +10,13 @@ $doctype-colors-list: (
|
|
9
10
|
recommendation-annex: $recBandColor,
|
10
11
|
technical-paper: $tecPaperColor,
|
11
12
|
technical-report: $tecPaperColor,
|
12
|
-
focus-group:
|
13
|
-
implementers-guide:
|
14
|
-
joint-itu-iso-iec: #
|
15
|
-
service-publication:
|
13
|
+
focus-group: $guidePaperColor,
|
14
|
+
implementers-guide: $guidePaperColor,
|
15
|
+
joint-itu-iso-iec: #edc9ff,
|
16
|
+
service-publication: $guidePaperColor,
|
17
|
+
resolution: #f2b79f,
|
18
|
+
handbook: $guidePaperColor,
|
19
|
+
question: $guidePaperColor
|
16
20
|
);
|
17
21
|
|
18
22
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
{% if doctype != "Resolution" %}
|
1
2
|
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
|
2
3
|
style='border-collapse:collapse;mso-table-layout-alt:fixed;mso-padding-alt:
|
3
4
|
0cm 5.4pt 0cm 5.4pt'>
|
@@ -153,16 +154,20 @@ style='mso-ansi-language:EN-US'><o:p> </o:p></span></span></p>
|
|
153
154
|
|
154
155
|
<p class=MsoNormal><span style='mso-bookmark:_Hlk526346232'><span lang=EN-US
|
155
156
|
style='mso-ansi-language:EN-US'><o:p> </o:p></span></span></p>
|
157
|
+
{% endif %}
|
156
158
|
|
157
159
|
{% if doctype == "Service Publication" %}
|
158
160
|
{% else %}
|
161
|
+
{% if doctype != "Resolution" %}
|
159
162
|
<p><br clear=all
|
160
163
|
style='page-break-before:always'></p>
|
164
|
+
{% endif %}
|
161
165
|
|
162
166
|
<div id="boilerplate-legal-destination"/>
|
163
167
|
<div id="boilerplate-license-destination"/>
|
164
168
|
<div id="boilerplate-copyright-destination"/>
|
165
169
|
|
170
|
+
{% if doctype != "Resolution" %}
|
166
171
|
<b style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:12.0pt;
|
167
172
|
mso-bidi-font-size:10.0pt;font-family:"Times New Roman",serif;mso-fareast-font-family:
|
168
173
|
"Times New Roman";mso-ansi-language:EN-US;mso-fareast-language:EN-US;
|
@@ -177,3 +182,4 @@ mso-bidi-language:AR-SA'><br clear=all style='page-break-before:always'>
|
|
177
182
|
WORDTOC
|
178
183
|
|
179
184
|
{% endif %}
|
185
|
+
{% endif %}
|
@@ -206,9 +206,13 @@
|
|
206
206
|
<span style='mso-bookmark:_Hlk526346232'></span>
|
207
207
|
<td width="400" colspan="2" valign="top" style='width:300.0pt;padding:0cm 4.25pt 0cm 4.25pt'>
|
208
208
|
<p class="MsoNormal" align="right" style='margin-top:12.0pt;text-align:right'><span
|
209
|
-
style='mso-bookmark:_Hlk526346232'
|
209
|
+
style='mso-bookmark:_Hlk526346232'>
|
210
|
+
{% if doctype != "Resolution" %}
|
211
|
+
<a name="dnume"><b style='mso-bidi-font-weight:
|
210
212
|
normal'><span lang="EN-US" style='font-size:30.0pt;mso-bidi-font-size:10.0pt;
|
211
|
-
font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{% if doctype == "Recommendation" %}{{ docnumeric }}{% else %}{% if recommendationnumber %}{{ recommendationnumber }} {% endif %}{{ doctype_display }}{% endif %}<o:p></o:p></span></b></a
|
213
|
+
font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{% if doctype == "Recommendation" %}{{ docnumeric }}{% else %}{% if recommendationnumber %}{{ recommendationnumber }} {% endif %}{{ doctype_display }}{% endif %}<o:p></o:p></span></b></a>
|
214
|
+
{% endif %}
|
215
|
+
</span></p>
|
212
216
|
</td>
|
213
217
|
<span style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dnume'></span></span>
|
214
218
|
</tr>
|
@@ -294,14 +298,28 @@
|
|
294
298
|
<td width="569" colspan="4" valign="bottom" style='width:426.5pt;border:none;
|
295
299
|
border-bottom:solid windowtext 1.5pt;padding:0cm 5.4pt 0cm 5.4pt;height:6.0cm;
|
296
300
|
mso-height-rule:exactly'>
|
301
|
+
{% if series %}
|
297
302
|
<p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
298
303
|
style='mso-bookmark:_Hlk526346232'><a name="dsece"><span lang="EN-US"
|
299
304
|
style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
|
300
|
-
mso-ansi-language:EN-US'>
|
305
|
+
mso-ansi-language:EN-US'>SERIES {{ series | upcase }}<o:p></o:p></span></a></span></p>
|
306
|
+
{% endif %}
|
307
|
+
{% if series1 %}
|
301
308
|
<p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
302
309
|
style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dsece'><span
|
303
310
|
lang="EN-US" style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:
|
304
311
|
"Arial",sans-serif;mso-ansi-language:EN-US'>{{ series1 }} {% if series2 %}—{% endif %}{{ series2 }}<o:p></o:p></span></span></span></p>
|
312
|
+
{% endif %}
|
313
|
+
{% if meeting %}
|
314
|
+
<p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
315
|
+
style='mso-bookmark:_Hlk526346232'><a name="dsece"><span lang="EN-US"
|
316
|
+
style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
|
317
|
+
mso-ansi-language:EN-US'>{{ meeting | upcase }}<o:p></o:p></span></a></span></p>
|
318
|
+
{% endif %}
|
319
|
+
{% if meeting_place or meeting_date %}
|
320
|
+
<p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
321
|
+
lang="EN-US" style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{{ meeting_place }}{% if meeting_place and meeting_date %}, {% endif %}{{ meeting_date }}</span></p>
|
322
|
+
{% endif %}
|
305
323
|
<span style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dsece'></span></span>
|
306
324
|
<p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
307
325
|
style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dsece'><span
|
@@ -332,7 +350,8 @@
|
|
332
350
|
{% if amendmentid %}<br/><b>{{ amendmentid }}{% if amendmenttitle %}: {{ amendmenttitle }}{% endif %}</b>{% endif %}
|
333
351
|
{% if corrigendumid %}<br/><b>{{ corrigendumid }}{% if corrigendumtitle %}: {{ corrigendumtitle }}{% endif %}</b>{% endif %}
|
334
352
|
{% else %}
|
335
|
-
<b>{% if doctype != "Recommendation"
|
353
|
+
<b>{% if doctype != "Recommendation" and doctype != "Resolution" %}{{ docnumeric }}
|
354
|
+
<br/>{% endif %}{% if doctype == "Resolution" %}{{ doctype_display }} {% endif %}{{ doctitle }}</b>
|
336
355
|
{% if positiontitle %}<br/><br/>{{ positiontitle | upcase }}{% endif %}
|
337
356
|
{% endif %}</span>
|
338
357
|
</a></span><span
|
@@ -383,10 +402,14 @@
|
|
383
402
|
height:70.9pt;mso-height-rule:exactly'>
|
384
403
|
<p class="MsoNormal" align="left" style='margin-top:3.0pt;margin-right:0cm;
|
385
404
|
margin-bottom:12.0pt;margin-left:0cm;text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
|
386
|
-
style='mso-bookmark:_Hlk526346232'><a name="dnum2e"></a
|
405
|
+
style='mso-bookmark:_Hlk526346232'><a name="dnum2e"></a>
|
406
|
+
{% if doctype != "Resolution" %}
|
407
|
+
<span lang="EN-US"
|
387
408
|
style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
|
388
409
|
mso-ansi-language:EN-US'>{% if stage == "Draft" %}Draft {% endif %}{% if recommendationnumber %}{{ recommendationnumber }} {% endif %}{{ doctype_display }}<span style='mso-spacerun:yes'>
|
389
|
-
</span>ITU‑{{ bureau }}<span style='mso-spacerun:yes'> </span>{{ docnumeric }}<o:p></o:p></span
|
410
|
+
</span>ITU‑{{ bureau }}<span style='mso-spacerun:yes'> </span>{{ docnumeric }}<o:p></o:p></span>
|
411
|
+
{% endif %}
|
412
|
+
</span></p>
|
390
413
|
<span style='mso-bookmark:_Hlk526346232'></span>
|
391
414
|
<p class="MsoNormal" align="left" style='margin-top:3.0pt;text-align:left;
|
392
415
|
tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span style='mso-bookmark:
|
@@ -485,6 +485,9 @@ h1 {
|
|
485
485
|
mso-hyphenate: none;
|
486
486
|
font-family: {{headerfont}};
|
487
487
|
mso-fareast-font-family: {{headerfont}};
|
488
|
+
{% if doctype == "Resolution" %}
|
489
|
+
text-align: center;
|
490
|
+
{% endif %}
|
488
491
|
color: black;
|
489
492
|
font-weight: bold;
|
490
493
|
mso-font-kerning: 0pt;
|
data/lib/isodoc/itu/i18n-en.yaml
CHANGED
@@ -17,8 +17,10 @@ inform_annex: (This appendix does not form an integral part of this %.)
|
|
17
17
|
formula: Equation
|
18
18
|
inequality: Inequality
|
19
19
|
clause: clause
|
20
|
+
section: section
|
20
21
|
annex_subclause: clause
|
21
22
|
in: in
|
23
|
+
to: to
|
22
24
|
where: "where:"
|
23
25
|
blankclause: This clause is intentionally left blank.
|
24
26
|
norm_with_refs_pref:
|
@@ -49,6 +51,7 @@ number_abbrev: No.
|
|
49
51
|
annex_to_itu_ob_abbrev: Annex to ITU OB %
|
50
52
|
international_telecommunication_union: International Telecommunication Union
|
51
53
|
position_on: (Position on %)
|
54
|
+
revision_abbreviation: Rev.
|
52
55
|
tsb: TSB
|
53
56
|
br: BR
|
54
57
|
bdt: BDT
|
@@ -56,6 +59,7 @@ tsb_full: Telecommunication<br/>Standardization Bureau<br/>of ITU
|
|
56
59
|
br_full: Radiocommunication Bureau<br/>of ITU
|
57
60
|
bdt_full: Telecommunication<br/>Development Bureau<br/>of ITU
|
58
61
|
doctype_dict:
|
62
|
+
resolution: Resolution
|
59
63
|
recommendation: Recommendation
|
60
64
|
recommendation-supplement: Recommendation Supplement
|
61
65
|
recommendation-amendment: Recommendation Amendment
|