metanorma-itu 2.2.3 → 2.2.5

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: 173c5756503e5cabac9ec47af49876a114258a4114a287ed6a779048fbc7f0c7
4
- data.tar.gz: ae582fdab10dcc80e74671cc36b88b0eee8a643a49d79e96044236f7caa30b2d
3
+ metadata.gz: ae8bffca61b97282d12a8f010fd5e9845a457f7b926cdb369c8e00182a8b535a
4
+ data.tar.gz: 16dff326beb84a5a35f90051ca0be7ad3f9daac15104a626367bf2ca3c361da4
5
5
  SHA512:
6
- metadata.gz: 9066be84a7d34c4a90ad93a5ea1dd83d3d724d3d30eae457d91239403263e30bd564254fd358eee6c9a5c9ddfbe6523bffc11ed8975cb1ca6fe58276c2e14d6c
7
- data.tar.gz: 07a1167f51f635152294ed34349373c967cf937db1ef405265ea675a7888ffd02ff090bfa592de47638daa269f0f0827604580b9125a56ce2ec7f1414c8ca4b4
6
+ metadata.gz: aa49e3402d52df88338cd0b838ee77433c13e1b04f65167b4d2c7c8e75353704123588061b050a16e0536aa7d4aa5a41034a43c27972c42290f742922b6cb487
7
+ data.tar.gz: 54557e86c7cb3f9bfe58561a516df13aa333d69753e42ead97f7cd1368472d235a6f1fb923a8db44aaad0d61d9b81e8158965528ab5051e66084a29f47998bea
@@ -8,7 +8,7 @@ require_relative "./cleanup"
8
8
  module IsoDoc
9
9
  module ITU
10
10
  module BaseConvert
11
- FRONT_CLAUSE = "//*[parent::preface]"\
11
+ FRONT_CLAUSE = "//*[parent::preface]" \
12
12
  "[not(local-name() = 'abstract')]".freeze
13
13
 
14
14
  def preface(isoxml, out)
@@ -55,7 +55,7 @@ module IsoDoc
55
55
  def annex_name(annex, name, div)
56
56
  preceding_floating_titles(name, div)
57
57
  r_a = @meta.get[:doctype_original] == "recommendation-annex"
58
- div.h1 **{ class: r_a ? "RecommendationAnnex" : "Annex" } do |t|
58
+ div.h1 class: r_a ? "RecommendationAnnex" : "Annex" do |t|
59
59
  name&.children&.each { |c2| parse(c2, t) }
60
60
  end
61
61
  @meta.get[:doctype_original] == "resolution" or
@@ -64,7 +64,7 @@ module IsoDoc
64
64
 
65
65
  def annex_obligation_subtitle(annex, div)
66
66
  info = annex["obligation"] == "informative"
67
- div.p **{ class: "annex_obligation" } do |p|
67
+ div.p class: "annex_obligation" do |p|
68
68
  p << (info ? @i18n.inform_annex : @i18n.norm_annex)
69
69
  .sub(/%/, @meta.get[:doctype] || "")
70
70
  end
@@ -102,15 +102,15 @@ module IsoDoc
102
102
 
103
103
  def middle_title_resolution(isoxml, out)
104
104
  res = isoxml.at(ns("//bibdata/title[@type = 'resolution']"))
105
- out.p(**{ align: "center", style: "text-align:center;" }) do |p|
105
+ out.p(align: "center", style: "text-align:center;") do |p|
106
106
  res.children.each { |n| parse(n, p) }
107
107
  end
108
- out.p(**{ class: "zzSTDTitle2" }) { |p| p << @meta.get[:doctitle] }
108
+ out.p(class: "zzSTDTitle2") { |p| p << @meta.get[:doctitle] }
109
109
  middle_title_resolution_subtitle(isoxml, out)
110
110
  end
111
111
 
112
112
  def middle_title_resolution_subtitle(isoxml, out)
113
- out.p(**{ align: "center", style: "text-align:center;" }) do |p|
113
+ out.p(align: "center", style: "text-align:center;") do |p|
114
114
  p.i do |i|
115
115
  i << "("
116
116
  isoxml.at(ns("//bibdata/title[@type = 'resolution-placedate']"))
@@ -124,26 +124,26 @@ module IsoDoc
124
124
  end
125
125
 
126
126
  def middle_title_recommendation(isoxml, out)
127
- out.p(**{ class: "zzSTDTitle1" }) do |p|
127
+ out.p(class: "zzSTDTitle1") do |p|
128
128
  type = @meta.get[:doctype]
129
129
  @meta.get[:unpublished] && @meta.get[:draft_new_doctype] and
130
130
  type = @meta.get[:draft_new_doctype]
131
131
  id = @meta.get[:docnumber] and p << "#{type} #{id}"
132
132
  end
133
- out.p(**{ class: "zzSTDTitle2" }) do |p|
133
+ out.p(class: "zzSTDTitle2") do |p|
134
134
  p << @meta.get[:doctitle]
135
135
  isoxml.xpath(ns("//note[@type = 'title-footnote']")).each do |f|
136
136
  footnote_parse(f, p)
137
137
  end
138
138
  end
139
139
  s = @meta.get[:docsubtitle] and
140
- out.p(**{ class: "zzSTDTitle3" }) { |p| p << s }
140
+ out.p(class: "zzSTDTitle3") { |p| p << s }
141
141
  end
142
142
 
143
143
  def note_p_parse(node, div)
144
144
  name = node&.at(ns("./name"))&.remove
145
145
  div.p do |p|
146
- name and p.span **{ class: "note_label" } do |s|
146
+ name and p.span class: "note_label" do |s|
147
147
  name.children.each { |n| parse(n, s) }
148
148
  s << note_delim
149
149
  end
@@ -155,7 +155,7 @@ module IsoDoc
155
155
  def note_parse1(node, div)
156
156
  name = node&.at(ns("./name"))&.remove
157
157
  div.p do |p|
158
- name and p.span **{ class: "note_label" } do |s|
158
+ name and p.span class: "note_label" do |s|
159
159
  name.children.each { |n| parse(n, s) }
160
160
  end
161
161
  end
@@ -88,22 +88,22 @@ exactly'></p>
88
88
 
89
89
  <div style='mso-element:header' id=eh2>
90
90
  <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
91
- mso-line-height-rule:exactly'><span lang=EN-GB></span></p>
91
+ mso-line-height-rule:exactly'><span lang=EN-GB>{% if document_td or document_provisional %}{% if document_td %}{{ document_td }}{% endif %}{% if document_td and document_provisional %}; {% endif %}{% if document_provisional %}{{ document_provisional }}{% endif %}{% endif %}</span></p>
92
92
  </div>
93
93
 
94
94
  <div style='mso-element:header' id=eh2l>
95
95
  <p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;
96
- mso-line-height-rule:exactly'><span lang=EN-GB></span></p>
96
+ mso-line-height-rule:exactly'><span lang=EN-GB>{% if document_td or document_provisional %}{% if document_td %}{{ document_td }}{% endif %}{% if document_td and document_provisional %}; {% endif %}{% if document_provisional %}{{ document_provisional }}{% endif %}{% endif %}</span></p>
97
97
  </div>
98
98
 
99
99
  <div style='mso-element:header' id=h2>
100
100
  <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
101
- mso-line-height-rule:exactly'><span lang=EN-GB></span></p>
101
+ mso-line-height-rule:exactly'><span lang=EN-GB>{% if document_td or document_provisional %}{% if document_td %}{{ document_td }}{% endif %}{% if document_td and document_provisional %}; {% endif %}{% if document_provisional %}{{ document_provisional }}{% endif %}{% endif %}</span></p>
102
102
  </div>
103
103
 
104
104
  <div style='mso-element:header' id=h2l>
105
105
  <p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
106
- mso-line-height-rule:exactly'><span lang=EN-GB></span></p>
106
+ mso-line-height-rule:exactly'><span lang=EN-GB>{% if document_td or document_provisional %}{% if document_td %}{{ document_td }}{% endif %}{% if document_td and document_provisional %}; {% endif %}{% if document_provisional %}{{ document_provisional }}{% endif %}{% endif %}</span></p>
107
107
  </div>
108
108
 
109
109
  <div style='mso-element:footer' id=ef2>
@@ -47,6 +47,8 @@
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
+ {% if docnumber_td %}<br/><span class="doc-subidentifier">TD number: {{docnumber_td}}</span>{%endif%}
51
+ {% if docnumber_provisional %}<br/><span class="doc-subidentifier">Provisional identifier: {{docnumber_provisional}}</span>{%endif%}
50
52
  <div> {{ draftinfo }}</div>
51
53
  </div>
52
54
  {% if pubdate_monthyear %}
@@ -212,6 +212,8 @@
212
212
  normal'><span lang="EN-US" style='font-size:30.0pt;mso-bidi-font-size:10.0pt;
213
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
214
  {% endif %}
215
+ {% if docnumber_td %}<br/><span class="doc-identifier" style='font-family:"Arial",sans-serif'>TD number: {{docnumber_td}}</span>{%endif%}
216
+ {% if docnumber_provisional %}<br/><span class="doc-identifier" style='font-family:"Arial",sans-serif'>Provisional identifier: {{docnumber_provisional}}</span>{%endif%}
215
217
  </span></p>
216
218
  </td>
217
219
  <span style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dnume'></span></span>
@@ -16,6 +16,8 @@ lang="EN-GB" style='font-size:10.0pt'>{{ annex_to_itu_ob }}</span></i></p>
16
16
  <p class="MsoNormal" align="center" style='margin-top:0cm;text-align:center'><i><span
17
17
  lang="EN-GB" style='font-size:10.0pt'>{{ number_abbrev }} {{ docnumeric }} – {{ pubdate_ddMMMyyyy }}</span></i></p>
18
18
  {% endif %}
19
+ {% if docnumber_td %}<p><span class="doc-identifier">TD number: {{docnumber_td}}</span></p>{%endif%}
20
+ {% if docnumber_provisional %}<p><span class="doc-identifier">Provisional identifier: {{docnumber_provisional}}</span></p>{%endif%}
19
21
 
20
22
  <p class="MEP"><span lang="EN-GB" style='font-size:10.0pt'><o:p>&#xA0;</o:p></span></p>
21
23
 
@@ -18,6 +18,7 @@ formula: معادلة
18
18
  inequality: عدم مساواة
19
19
  clause: فقرة
20
20
  section: قسم
21
+ abstract: ملخص
21
22
  annex_subclause: فقرة
22
23
  in: في
23
24
  to: إلى
@@ -17,6 +17,7 @@ formula: Gleichung
17
17
  inequality: Ungleichheit
18
18
  clause: Klausel
19
19
  section: Abschnitt
20
+ abstract: Zusammenfassung
20
21
  annex_subclause: Klausel
21
22
  in: in
22
23
  to: bis
@@ -8,6 +8,7 @@ symbolsabbrev: Abbreviations and acronyms
8
8
  abbrev: Abbreviations and acronyms
9
9
  symbols: Abbreviations and acronyms
10
10
  conventions: Conventions
11
+ abstract: Summary
11
12
  elsewhere_terms: >-
12
13
  This Recommendation uses the following terms defined elsewhere:
13
14
  here_terms: >-
@@ -8,6 +8,7 @@ symbolsabbrev: Abreviaciones y acrónimos
8
8
  abbrev: Abreviaciones y acrónimos
9
9
  symbols: Abreviaciones y acrónimos
10
10
  conventions: Convenciones
11
+ abstract: Resumen
11
12
  elsewhere_terms: >-
12
13
  Esta Recomendación utiliza los siguientes términos definidos en otro lugar:
13
14
  here_terms: >-
@@ -8,6 +8,7 @@ symbolsabbrev: Abréviations et acronymes
8
8
  abbrev: Abréviations et acronymes
9
9
  symbols: Abréviations et acronymes
10
10
  conventions: Conventions
11
+ abstract: Résumé
11
12
  elsewhere_terms: >-
12
13
  La présente Recommandation utilise les termes suivants définis ailleurs:
13
14
  here_terms: >-
@@ -8,6 +8,7 @@ symbolsabbrev: Сокращения и акронимы
8
8
  abbrev: Сокращения и акронимы
9
9
  symbols: Сокращения и акронимы
10
10
  conventions: Соглашения
11
+ abstract: Резюме
11
12
  elsewhere_terms: >-
12
13
  Эта Рекомендация использует следующие термины, определенные в другом месте:
13
14
  here_terms: >-
@@ -8,6 +8,7 @@ symbolsabbrev: 缩略语与缩写
8
8
  abbrev: 缩略语与缩写
9
9
  symbols: 缩略语与缩写
10
10
  conventions: 惯例
11
+ abstract: 概括
11
12
  elsewhere_terms: >-
12
13
  本建议书采用下列他处定义的术语:
13
14
  here_terms: >-