metanorma-itu 2.4.4 → 2.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/itu/html/header.html +68 -0
  3. data/lib/isodoc/itu/html/itu.css +4 -1
  4. data/lib/isodoc/itu/html/itu.scss +4 -1
  5. data/lib/isodoc/itu/html/logo-small.png +0 -0
  6. data/lib/isodoc/itu/html/word_itu_intro.html +2 -0
  7. data/lib/isodoc/itu/html/wordstyle.css +2 -0
  8. data/lib/isodoc/itu/html/wordstyle.scss +2 -0
  9. data/lib/isodoc/itu/html_convert.rb +10 -0
  10. data/lib/isodoc/itu/i18n-ar.yaml +10 -0
  11. data/lib/isodoc/itu/i18n-de.yaml +10 -0
  12. data/lib/isodoc/itu/i18n-en.yaml +10 -0
  13. data/lib/isodoc/itu/i18n-es.yaml +10 -0
  14. data/lib/isodoc/itu/i18n-fr.yaml +10 -0
  15. data/lib/isodoc/itu/i18n-ru.yaml +10 -0
  16. data/lib/isodoc/itu/i18n-zh-Hans.yaml +10 -0
  17. data/lib/isodoc/itu/itu.implementers-guide.xsl +109 -110
  18. data/lib/isodoc/itu/itu.in-force.xsl +109 -110
  19. data/lib/isodoc/itu/itu.recommendation-annex.xsl +109 -110
  20. data/lib/isodoc/itu/itu.recommendation-supplement.xsl +109 -110
  21. data/lib/isodoc/itu/itu.recommendation.xsl +109 -110
  22. data/lib/isodoc/itu/itu.resolution.xsl +109 -110
  23. data/lib/isodoc/itu/itu.service-publication.xsl +109 -110
  24. data/lib/isodoc/itu/itu.technical-paper.xsl +109 -110
  25. data/lib/isodoc/itu/itu.technical-report.xsl +109 -110
  26. data/lib/isodoc/itu/metadata.rb +50 -18
  27. data/lib/isodoc/itu/presentation_preface.rb +110 -9
  28. data/lib/isodoc/itu/presentation_xml_convert.rb +13 -15
  29. data/lib/isodoc/itu/word_cleanup.rb +4 -4
  30. data/lib/isodoc/itu/word_convert.rb +21 -2
  31. data/lib/metanorma/itu/biblio.rng +24 -8
  32. data/lib/metanorma/itu/cleanup_section.rb +1 -1
  33. data/lib/metanorma/itu/front.rb +39 -13
  34. data/lib/metanorma/itu/front_id.rb +17 -6
  35. data/lib/metanorma/itu/isodoc.rng +67 -55
  36. data/lib/metanorma/itu/relaton-itu.rng +43 -7
  37. data/lib/metanorma/itu/validate.rb +4 -4
  38. data/lib/metanorma/itu/version.rb +1 -1
  39. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5ec3cdcd778596dec27ae55cc44308d184a8e93180c51085c1ea9e4f4ee8b83
4
- data.tar.gz: 0de91af4f5b675f4920e6a5c28699edd8de0c2e062c548f0be106ee732dfccc0
3
+ metadata.gz: 0fd02439a7273b07f0c7797c761f1768a9428f2a80c4b7447d548a262e688eab
4
+ data.tar.gz: 9fe9932561c17d4a2cb2073413d2375ef731a1e75f9e8517360859e2517b5cf5
5
5
  SHA512:
6
- metadata.gz: a18bf663e1a3f340e945021db942703e5b6d2c089a0f635cee55422931f420d94e838009717726a9a11fb58d9474e439b5b9cbb42fc9a018cb107d55a222597f
7
- data.tar.gz: 1679c63b7d644d6ca96b5a1ed26f66ae275b2159dca9f84b00b06480df8c1f3d48353a58ef08113242df7d574b64c3739479d32df072624459093420fa9f1a7e
6
+ metadata.gz: 902af514ab03d5bc4cd9ee9b10f66240469c3808e5fb2cc6debaca0bdd2b1d91077cafb806a1a9557e9d77bad2d8077e052afa7d1308131a1e5bd2b95dfeb329
7
+ data.tar.gz: 5e82257b4ae5b9ddcf67bb585978d401c0725a156ed89701c496a3da8e65bab725e7a3c4e50bc7c05e2f3f991e830c9c47e4b7a1d73ecced54236b27ed92512b
@@ -87,25 +87,91 @@ exactly'></p>
87
87
  </div>
88
88
 
89
89
  <div style='mso-element:header' id=eh2>
90
+ {% if doctype == "Contribution" %}
91
+ <p class=MsoHeader><span lang=EN-GB>- </span><!--[if supportFields]><span
92
+ lang=EN-GB><span style='mso-element:field-begin'></span><span
93
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  </span>\*
94
+ MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
95
+ lang=EN-GB><span style='mso-no-proof:yes'>2</span></span><!--[if supportFields]><span
96
+ lang=EN-GB><span style='mso-element:field-end'></span></span><![endif]--><span
97
+ lang=EN-GB> -</span></p>
98
+
99
+ <p class=MsoHeader><span lang=EN-GB><span style='mso-no-proof:yes'>{{ docnumber}}</span></span></p>
100
+ {% else %}
90
101
  <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
91
102
  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>
103
+ {% endif %}
92
104
  </div>
93
105
 
94
106
  <div style='mso-element:header' id=eh2l>
107
+ {% if doctype == "Contribution" %}
108
+ <p class=MsoHeader><span lang=EN-GB>- </span><!--[if supportFields]><span
109
+ lang=EN-GB><span style='mso-element:field-begin'></span><span
110
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  </span>\*
111
+ MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
112
+ lang=EN-GB><span style='mso-no-proof:yes'>2</span></span><!--[if supportFields]><span
113
+ lang=EN-GB><span style='mso-element:field-end'></span></span><![endif]--><span
114
+ lang=EN-GB> -</span></p>
115
+ <p class=MsoHeader><span lang=EN-GB><span style='mso-no-proof:yes'>{{ docnumber}}</span></span></p>
116
+
117
+ {% else %}
95
118
  <p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;
96
119
  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>
120
+ {% endif %}
97
121
  </div>
98
122
 
99
123
  <div style='mso-element:header' id=h2>
124
+ {% if doctype == "Contribution" %}
125
+ <p class=MsoHeader><span lang=EN-GB>- </span><!--[if supportFields]><span
126
+ lang=EN-GB><span style='mso-element:field-begin'></span><span
127
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  </span>\*
128
+ MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
129
+ lang=EN-GB><span style='mso-no-proof:yes'>2</span></span><!--[if supportFields]><span
130
+ lang=EN-GB><span style='mso-element:field-end'></span></span><![endif]--><span
131
+ lang=EN-GB> -</span></p>
132
+ <p class=MsoHeader><span lang=EN-GB><span style='mso-no-proof:yes'>{{ docnumber}}</span></span></p>
133
+ {% else %}
100
134
  <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
101
135
  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>
136
+ {% endif %}
102
137
  </div>
103
138
 
104
139
  <div style='mso-element:header' id=h2l>
140
+ {% if doctype == "Contribution" %}
141
+ <p class=MsoHeader><span lang=EN-GB>- </span><!--[if supportFields]><span
142
+ lang=EN-GB><span style='mso-element:field-begin'></span><span
143
+ style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  </span>\*
144
+ MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
145
+ lang=EN-GB><span style='mso-no-proof:yes'>2</span></span><!--[if supportFields]><span
146
+ lang=EN-GB><span style='mso-element:field-end'></span></span><![endif]--><span
147
+ lang=EN-GB> -</span></p>
148
+ <p class=MsoHeader><span lang=EN-GB><span style='mso-no-proof:yes'>{{ docnumber}}</span></span></p>
149
+ {% else %}
150
+ <p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
151
+ 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>
152
+ {% endif %}
153
+ </div>
154
+
155
+ <div style='mso-element:header' id=fh2>
156
+ {% if doctype == "Contribution" %}
157
+ <p class=MsoHeader></p>
158
+ {% else %}
159
+ <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
160
+ 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>
161
+ {% endif %}
162
+ </div>
163
+
164
+ <div style='mso-element:header' id=fh2l>
165
+ {% if doctype == "Contribution" %}
166
+ <p class=MsoHeader></p>
167
+ {% else %}
105
168
  <p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
106
169
  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>
170
+ {% endif %}
107
171
  </div>
108
172
 
173
+
174
+ {% if doctype != "Contribution" %}
109
175
  <div style='mso-element:footer' id=ef2>
110
176
  <p class=FooterQP style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span lang=EN-GB style='font-weight:
111
177
  normal'><span style='mso-element:field-begin'></span></span><span lang=FR-CH
@@ -198,6 +264,8 @@ lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span
198
264
  lang=EN-GB style='font-weight:normal'><o:p></o:p></span></p>
199
265
  </div>
200
266
 
267
+ {% endif %}
268
+
201
269
  </body>
202
270
 
203
271
  </html>
@@ -919,11 +919,14 @@ div.WordSection1 {
919
919
  margin: 54.45pt 54.45pt 54.45pt 54.45pt;
920
920
  mso-header-margin: 24.1pt;
921
921
  mso-footer-margin: 24.1pt;
922
- {% if doctype == "Service Publication" %}
922
+ {% if doctype == "Service Publication" or doctype == "Contribution" %}
923
923
  mso-page-numbers: 1;
924
924
  {% else %}
925
925
  mso-page-numbers: roman-lower 1;
926
926
  {% endif %}
927
+ {% if doctype == "Contribution" %}
928
+ mso-title-page: yes;
929
+ {% endif %}
927
930
  mso-even-header: url("file:///C:/Doc/FILENAME_files/header.html") eh2;
928
931
  mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h2;
929
932
  mso-even-footer: url("file:///C:/Doc/FILENAME_files/header.html") ef2;
@@ -882,11 +882,14 @@ div.WordSection1
882
882
  margin:54.45pt 54.45pt 54.45pt 54.45pt;
883
883
  mso-header-margin:24.1pt;
884
884
  mso-footer-margin:24.1pt;
885
- {% if doctype == "Service Publication" %}
885
+ {% if doctype == "Service Publication" or doctype == "Contribution" %}
886
886
  mso-page-numbers:1;
887
887
  {% else %}
888
888
  mso-page-numbers:roman-lower 1;
889
889
  {% endif %}
890
+ {% if doctype == "Contribution" %}
891
+ mso-title-page:yes;
892
+ {% endif %}
890
893
  mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
891
894
  mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
892
895
  mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2;
Binary file
@@ -1,3 +1,4 @@
1
+ {% if doctype != "Contribution" %}
1
2
  {% if doctype != "Resolution" %}
2
3
  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0"
3
4
  style='border-collapse:collapse;mso-table-layout-alt:fixed;mso-padding-alt:0cm 5.4pt 0cm 5.4pt'>
@@ -167,3 +168,4 @@ style='mso-ansi-language:EN-US'><o:p>&#xa0;</o:p></span></span></p>
167
168
  <div id="boilerplate-copyright-destination"/>
168
169
 
169
170
  {% endif %}
171
+ {% endif %}
@@ -189,6 +189,7 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader {
189
189
  mso-layout-grid-align: none;
190
190
  punctuation-wrap: simple;
191
191
  text-autospace: none;
192
+ {% if doctype == "Contribution" %}text-align:center;{% endif %}
192
193
  font-size: 9.0pt;
193
194
  mso-bidi-font-size: 10.0pt;
194
195
  font-family: {{bodyfont}};
@@ -204,6 +205,7 @@ p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape {
204
205
  mso-layout-grid-align: none;
205
206
  punctuation-wrap: simple;
206
207
  text-autospace: none;
208
+ {% if doctype == "Contribution" %}text-align:center;{% endif %}
207
209
  font-size: 9.0pt;
208
210
  mso-bidi-font-size: 10.0pt;
209
211
  font-family: {{bodyfont}};
@@ -174,6 +174,7 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
174
174
  mso-layout-grid-align:none;
175
175
  punctuation-wrap:simple;
176
176
  text-autospace:none;
177
+ {% if doctype == "Contribution" %}text-align:center;{% endif %}
177
178
  font-size:9.0pt;
178
179
  mso-bidi-font-size:10.0pt;
179
180
  font-family:$bodyfont;
@@ -188,6 +189,7 @@ p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
188
189
  mso-layout-grid-align:none;
189
190
  punctuation-wrap:simple;
190
191
  text-autospace:none;
192
+ {% if doctype == "Contribution" %}text-align:center;{% endif %}
191
193
  font-size:9.0pt;
192
194
  mso-bidi-font-size:10.0pt;
193
195
  font-family:$bodyfont;
@@ -69,6 +69,16 @@ module IsoDoc
69
69
  super
70
70
  end
71
71
 
72
+ def convert1(docxml, filename, dir)
73
+ case @doctype
74
+ when "contribution"
75
+ @wordcoverpage = nil
76
+ @wordintropage = nil
77
+ end
78
+ super
79
+ end
80
+
81
+
72
82
  include BaseConvert
73
83
  include Init
74
84
  end
@@ -1,3 +1,11 @@
1
+ questions: المسألة
2
+ studyperiod: "% فترة الدراسة "
3
+ original: إبداعي
4
+ contact: الاتصال
5
+ tel_abbrev: هاتف
6
+ document_source: المصدر
7
+ title: العنوان
8
+ current_language: العربية
1
9
  termsdef: مصطلحات معرفة
2
10
  termsdefsymbolsabbrev: تعريف
3
11
  termsdefsymbols: تعريف
@@ -82,6 +90,7 @@ doctype_dict:
82
90
  technical-report: تقرير فني
83
91
  joint-itu-iso-iec: ITU/ISO/IEC مشترك
84
92
  service-publication: منشور خدمي
93
+ contribution: مساهمة
85
94
  doctype_abbrev:
86
95
  recommendation: Rec.
87
96
  recommendation-supplement: Rec.
@@ -95,6 +104,7 @@ doctype_abbrev:
95
104
  technical-report: TR
96
105
  joint-itu-iso-iec: ITU/ISO/IEC
97
106
  service-publication:
107
+ contribution:
98
108
  inflection:
99
109
  محرر:
100
110
  sg: محرر
@@ -1,3 +1,11 @@
1
+ questions: Frage(n)
2
+ studyperiod: Studiendauer %
3
+ original: Original
4
+ contact: Kontakt
5
+ tel_abbrev: Tel.
6
+ document_source: Quelle
7
+ title: Titel
8
+ current_language: Deutsch
1
9
  termsdef: Definitionen
2
10
  termsdefsymbolsabbrev: Definitionen
3
11
  termsdefsymbols: Definitionen
@@ -83,6 +91,7 @@ doctype_dict:
83
91
  technical-report: Technischer Bericht
84
92
  joint-itu-iso-iec: Gemeinsame ITU/ISO/IEC
85
93
  service-publication: Service Veröffentlichung
94
+ contribution: Beitrag
86
95
  doctype_abbrev:
87
96
  recommendation: Empf.
88
97
  recommendation-supplement: Empf.
@@ -96,6 +105,7 @@ doctype_abbrev:
96
105
  technical-report: TR
97
106
  joint-itu-iso-iec: ITU/ISO/IEC
98
107
  service-publication:
108
+ contribution:
99
109
  inflection:
100
110
  Redakteur:
101
111
  sg: Redakteur
@@ -1,3 +1,11 @@
1
+ questions: Question(s)
2
+ studyperiod: Study Period %
3
+ original: Original
4
+ contact: Contact
5
+ tel_abbrev: Tel.
6
+ document_source: Source
7
+ title: Title
8
+ current_language: English
1
9
  termsdef: Definitions
2
10
  termsdefsymbolsabbrev: Definitions
3
11
  termsdefsymbols: Definitions
@@ -86,6 +94,7 @@ doctype_dict:
86
94
  technical-report: Technical Report
87
95
  joint-itu-iso-iec: Joint ITU/ISO/IEC
88
96
  service-publication: Service Publication
97
+ contribution: Contribution
89
98
  doctype_abbrev:
90
99
  recommendation: Rec.
91
100
  recommendation-supplement: Rec.
@@ -99,6 +108,7 @@ doctype_abbrev:
99
108
  technical-report: TR
100
109
  joint-itu-iso-iec: ITU/ISO/IEC
101
110
  service-publication:
111
+ contribution:
102
112
  inflection:
103
113
  editor:
104
114
  sg: editor
@@ -1,3 +1,11 @@
1
+ questions: Cuestion(es)
2
+ studyperiod: Período de estudios %
3
+ original: Original
4
+ contact: Contacto
5
+ tel_abbrev: Telf.
6
+ document_source: Origen
7
+ title: Título
8
+ current_language: Español
1
9
  termsdef: Definiciones
2
10
  termsdefsymbolsabbrev: Definiciones
3
11
  termsdefsymbols: Definiciones
@@ -86,6 +94,7 @@ doctype_dict:
86
94
  technical-report: Reporte Técnico
87
95
  joint-itu-iso-iec: Junta UIT/ISO/IEC
88
96
  service-publication: Publicación de Servicio
97
+ contribution: Contribución
89
98
  doctype_abbrev:
90
99
  recommendation: Rec.
91
100
  recommendation-supplement: Rec.
@@ -99,6 +108,7 @@ doctype_abbrev:
99
108
  technical-report: TR
100
109
  joint-itu-iso-iec: UIT/ISO/IEC
101
110
  service-publication:
111
+ contribution:
102
112
  inflection:
103
113
  editor:
104
114
  masc:
@@ -1,3 +1,11 @@
1
+ questions: Question(s)
2
+ studyperiod: Période d’études %
3
+ original: Original
4
+ contact: Contact
5
+ tel_abbrev: Tél.
6
+ document_source: Source
7
+ title: Titre
8
+ current_language: Français
1
9
  termsdef: Définitions
2
10
  termsdefsymbolsabbrev: Définitions
3
11
  termsdefsymbols: Définitions
@@ -86,6 +94,7 @@ doctype_dict:
86
94
  technical-report: Rapport technique
87
95
  joint-itu-iso-iec: Joint UIT / ISO / CEI
88
96
  service-publication: Publication de service
97
+ contribution: Contribution
89
98
  doctype_abbrev:
90
99
  recommendation: Rec.
91
100
  recommendation-supplement: Rec.
@@ -99,6 +108,7 @@ doctype_abbrev:
99
108
  technical-report: TR
100
109
  joint-itu-iso-iec: ITU/ISO/IEC
101
110
  service-publication:
111
+ contribution:
102
112
  inflection:
103
113
  éditeur:
104
114
  sg: éditeur
@@ -1,3 +1,11 @@
1
+ questions: Вопрос(ы)
2
+ studyperiod: Исследовательский период % гг.
3
+ original: Оригинал
4
+ contact: Контакт
5
+ tel_abbrev: Тел.
6
+ document_source: Источник
7
+ title: Название
8
+ current_language: Русский
1
9
  termsdef: Определения
2
10
  termsdefsymbolsabbrev: Определения
3
11
  termsdefsymbols: Определения
@@ -86,6 +94,7 @@ doctype_dict:
86
94
  technical-report: Технический Отчет
87
95
  joint-itu-iso-iec: Совместно ITU/ISO/IEC
88
96
  service-publication: Публикация Услуг
97
+ contribution: Вклад
89
98
  doctype_abbrev:
90
99
  recommendation: Рек.
91
100
  recommendation-supplement: Рек.
@@ -99,6 +108,7 @@ doctype_abbrev:
99
108
  technical-report: ТО
100
109
  joint-itu-iso-iec: ITU/ISO/IEC
101
110
  service-publication:
111
+ contribution:
102
112
  inflection:
103
113
  редактор:
104
114
  sg: редактор
@@ -1,3 +1,11 @@
1
+ questions: 课题
2
+ studyperiod: "%年研究期"
3
+ original: 原本的
4
+ contact: 接触
5
+ tel_abbrev: 电话
6
+ document_source: 来源
7
+ title: 标题
8
+ current_language: 中文
1
9
  termsdef: 定义
2
10
  termsdefsymbolsabbrev: 定义
3
11
  termsdefsymbols: 定义
@@ -76,6 +84,7 @@ doctype_dict:
76
84
  technical-report: 技术报告
77
85
  joint-itu-iso-iec: ITU/ISO/IEC 联合出版
78
86
  service-publication: 业务出版物
87
+ contribution: 文稿
79
88
  doctype_abbrev:
80
89
  recommendation: Rec.
81
90
  recommendation-supplement: Rec.
@@ -89,3 +98,4 @@ doctype_abbrev:
89
98
  technical-report: TR
90
99
  joint-itu-iso-iec: ITU/ISO/IEC
91
100
  service-publication:
101
+ contribution: