metanorma-itu 1.2.2 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +63 -0
  3. data/README.adoc +3 -4
  4. data/lib/asciidoctor/itu/basicdoc.rng +23 -0
  5. data/lib/asciidoctor/itu/cleanup.rb +1 -1
  6. data/lib/asciidoctor/itu/converter.rb +3 -2
  7. data/lib/asciidoctor/itu/front.rb +36 -12
  8. data/lib/asciidoctor/itu/isodoc.rng +135 -58
  9. data/lib/asciidoctor/itu/itu.rng +67 -0
  10. data/lib/isodoc/itu/base_convert.rb +1 -6
  11. data/lib/isodoc/itu/html/_coverpage.css +8 -1
  12. data/lib/isodoc/itu/html/_coverpage.scss +4 -0
  13. data/lib/isodoc/itu/html/header.html +8 -8
  14. data/lib/isodoc/itu/html/html_itu_titlepage.html +23 -0
  15. data/lib/isodoc/itu/html/htmlstyle.css +13 -2
  16. data/lib/isodoc/itu/html/itu.css +16 -4
  17. data/lib/isodoc/itu/html/itu.scss +19 -5
  18. data/lib/isodoc/itu/html/word_itu_intro.html +16 -0
  19. data/lib/isodoc/itu/html/word_itu_titlepage.html +136 -3
  20. data/lib/isodoc/itu/html_convert.rb +3 -1
  21. data/lib/isodoc/itu/i18n-en.yaml +2 -0
  22. data/lib/isodoc/itu/itu.recommendation-annex.xsl +996 -232
  23. data/lib/isodoc/itu/itu.recommendation.xsl +996 -232
  24. data/lib/isodoc/itu/itu.resolution.xsl +996 -232
  25. data/lib/isodoc/itu/metadata.rb +62 -3
  26. data/lib/isodoc/itu/presentation_xml_convert.rb +16 -0
  27. data/lib/isodoc/itu/terms.rb +7 -30
  28. data/lib/isodoc/itu/word_cleanup.rb +152 -0
  29. data/lib/isodoc/itu/word_convert.rb +1 -125
  30. data/lib/isodoc/itu/xref.rb +4 -3
  31. data/lib/metanorma/itu/version.rb +1 -1
  32. data/metanorma-itu.gemspec +3 -1
  33. metadata +34 -7
  34. data/.github/workflows/macos.yml +0 -38
  35. data/.github/workflows/ubuntu.yml +0 -56
  36. data/.github/workflows/windows.yml +0 -40
@@ -68,6 +68,16 @@
68
68
  <text/>
69
69
  </element>
70
70
  </optional>
71
+ <optional>
72
+ <element name="amendment">
73
+ <data type="int"/>
74
+ </element>
75
+ </optional>
76
+ <optional>
77
+ <element name="corrigendum">
78
+ <data type="int"/>
79
+ </element>
80
+ </optional>
71
81
  </element>
72
82
  </define>
73
83
  <define name="BibDataExtensionType">
@@ -84,6 +94,18 @@
84
94
  <optional>
85
95
  <ref name="ipnoticereceived"/>
86
96
  </optional>
97
+ <optional>
98
+ <ref name="meeting"/>
99
+ </optional>
100
+ <optional>
101
+ <ref name="meeting-date"/>
102
+ </optional>
103
+ <optional>
104
+ <ref name="intended-type"/>
105
+ </optional>
106
+ <optional>
107
+ <ref name="ext_source"/>
108
+ </optional>
87
109
  <optional>
88
110
  <ref name="structuredidentifier"/>
89
111
  </optional>
@@ -103,6 +125,44 @@
103
125
  </element>
104
126
  </define>
105
127
  </include>
128
+ <define name="meeting">
129
+ <element name="meeting">
130
+ <text/>
131
+ </element>
132
+ </define>
133
+ <define name="meeting-date">
134
+ <element name="meeting-date">
135
+ <choice>
136
+ <group>
137
+ <element name="from">
138
+ <ref name="ISO8601Date"/>
139
+ </element>
140
+ <optional>
141
+ <element name="to">
142
+ <ref name="ISO8601Date"/>
143
+ </element>
144
+ </optional>
145
+ </group>
146
+ <element name="on">
147
+ <ref name="ISO8601Date"/>
148
+ </element>
149
+ </choice>
150
+ </element>
151
+ </define>
152
+ <define name="intended-type">
153
+ <element name="intended-type">
154
+ <choice>
155
+ <value>R</value>
156
+ <value>C</value>
157
+ <value>TD</value>
158
+ </choice>
159
+ </element>
160
+ </define>
161
+ <define name="ext_source">
162
+ <element name="source">
163
+ <text/>
164
+ </element>
165
+ </define>
106
166
  <define name="TextElement" combine="choice">
107
167
  <choice>
108
168
  <ref name="add"/>
@@ -244,6 +304,13 @@
244
304
  </define>
245
305
  <define name="itu">
246
306
  <element name="itu-standard">
307
+ <attribute name="version"/>
308
+ <attribute name="type">
309
+ <choice>
310
+ <value>semantic</value>
311
+ <value>presentation</value>
312
+ </choice>
313
+ </attribute>
247
314
  <ref name="bibdata"/>
248
315
  <zeroOrMore>
249
316
  <ref name="termdocsource"/>
@@ -23,12 +23,6 @@ module IsoDoc
23
23
  end
24
24
  end
25
25
 
26
- def bracket_opt(b)
27
- return b if b.nil?
28
- return b if /^\[.+\]$/.match(b)
29
- "[#{b}]"
30
- end
31
-
32
26
  def clausedelim
33
27
  ""
34
28
  end
@@ -133,6 +127,7 @@ module IsoDoc
133
127
 
134
128
  def info(isoxml, out)
135
129
  @meta.ip_notice_received isoxml, out
130
+ @meta.techreport isoxml, out
136
131
  super
137
132
  end
138
133
 
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
9
9
  table, caption, tbody, tfoot, thead, tr, th, td,
10
10
  article, aside, canvas, details, embed,
11
11
  figure, figcaption, footer, header, hgroup,
12
- menu, nav, output, ruby, section, summary,
12
+ menu, output, ruby, section, summary,
13
13
  time, mark, audio, video {
14
14
  margin: 0;
15
15
  padding: 0; }
@@ -104,6 +104,10 @@ b, strong {
104
104
  div.document-stage-band, div.document-type-band {
105
105
  background-color: #333333; }
106
106
 
107
+ a.FootnoteRef + a.FootnoteRef:before {
108
+ content: ", ";
109
+ vertical-align: super; }
110
+
107
111
  #standard-band {
108
112
  background-color: #0AC442; }
109
113
 
@@ -230,6 +234,9 @@ div.document-stage-band, div.document-type-band {
230
234
  font-weight: 800;
231
235
  display: inline; }
232
236
 
237
+ .doc-subidentifier {
238
+ font-size: 20px; }
239
+
233
240
  .doc-info-left {
234
241
  float: right;
235
242
  padding-right: 42px; }
@@ -27,6 +27,10 @@
27
27
  font-weight: 800;
28
28
  display: inline;}
29
29
 
30
+ .doc-subidentifier {
31
+ font-size: 20px;
32
+ }
33
+
30
34
  .doc-info-left {
31
35
  float: right;
32
36
  padding-right: 42px;
@@ -116,7 +116,7 @@ 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
118
  lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'>              </span>Rec.
119
- ITU‑{{ bureau }} {{ docnumeric }} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
119
+ ITU‑{{ bureau }} {{ docnumeric }} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
120
120
  </div>
121
121
 
122
122
  <div style='mso-element:footer' id=ef2l>
@@ -129,12 +129,12 @@ style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
129
129
  style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
130
130
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
131
131
  lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'>              </span>Rec.
132
- ITU‑{{ bureau }} {{ docnumeric }} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
132
+ ITU‑{{ bureau }} {{ docnumeric }} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
133
133
  </div>
134
134
 
135
135
  <div style='mso-element:footer' id=f2>
136
136
  <p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'>                                                                                                       </span>Rec.
137
- ITU‑{{ bureau }} {{docnumeric}} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
137
+ ITU‑{{ bureau }} {{docnumeric}} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
138
138
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
139
139
  PAGE<span style='mso-spacerun:yes'>  </span>\* MERGEFORMAT <span
140
140
  style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
@@ -145,7 +145,7 @@ lang=EN-GB style='font-weight:normal'><o:p></o:p></span></p>
145
145
 
146
146
  <div style='mso-element:footer' id=f2l>
147
147
  <p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'>                                                                                                       </span>Rec.
148
- ITU‑{{ bureau }} {{docnumeric}} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
148
+ ITU‑{{ bureau }} {{docnumeric}} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
149
149
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
150
150
  PAGE<span style='mso-spacerun:yes'>  </span>\* MERGEFORMAT <span
151
151
  style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
@@ -164,7 +164,7 @@ style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
164
164
  style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
165
165
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
166
166
  lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'>              </span>Rec.
167
- ITU‑{{ bureau }} {{ docnumeric }} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
167
+ ITU‑{{ bureau }} {{ docnumeric }} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
168
168
  </div>
169
169
 
170
170
  <div style='mso-element:footer' id=ef3l>
@@ -177,12 +177,12 @@ style='mso-element:field-separator'></span></span><![endif]--><span lang=FR-CH
177
177
  style='mso-ansi-language:FR-CH;font-weight:normal;mso-no-proof:yes'>ii</span><!--[if supportFields]><span
178
178
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-end'></span></span><![endif]--><span
179
179
  lang=FR-CH style='mso-ansi-language:FR-CH'><span style='mso-tab-count:1'>              </span>Rec.
180
- ITU‑{{ bureau }} {{ docnumeric }} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
180
+ ITU‑{{ bureau }} {{ docnumeric }} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<o:p></o:p></span></p>
181
181
  </div>
182
182
 
183
183
  <div style='mso-element:footer' id=f3>
184
184
  <p class=FooterQP style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'>                                                                                                       </span>Rec.
185
- ITU‑{{ bureau }} {{docnumeric}} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
185
+ ITU‑{{ bureau }} {{docnumeric}} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
186
186
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
187
187
  PAGE<span style='mso-spacerun:yes'>  </span>\* MERGEFORMAT <span
188
188
  style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
@@ -193,7 +193,7 @@ lang=EN-GB style='font-weight:normal'><o:p></o:p></span></p>
193
193
 
194
194
  <div style='mso-element:footer' id=f3l>
195
195
  <p class=FooterQPLandscape style='line-height:12.0pt'><span lang=EN-GB><span style='mso-tab-count:2'>                                                                                                       </span>Rec.
196
- ITU‑{{ bureau }} {{docnumeric}} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
196
+ ITU‑{{ bureau }} {{docnumeric}} {% if amendmentid %}{{ amendmentid }}{% endif %} {% if corrigendumid %}{{ corrigendumid }}{% endif %} ({{ pubdate_monthyear }})<span style='mso-tab-count:1'>             </span></span><!--[if supportFields]><span
197
197
  lang=EN-GB style='font-weight:normal'><span style='mso-element:field-begin'></span>
198
198
  PAGE<span style='mso-spacerun:yes'>  </span>\* MERGEFORMAT <span
199
199
  style='mso-element:field-separator'></span></span><![endif]--><span lang=EN-GB
@@ -16,6 +16,21 @@
16
16
  <div class="coverpage">
17
17
  <div class="wrapper-top">
18
18
 
19
+ {% if doctype == "Technical Report" and unpublished %}
20
+ <table>
21
+ <tr><th>Question(s):</th><td colspan="2">{{ group }}</td><th colspan="2">Meeting, date:</th><td colspan="3">{{ meeting }}{% if meeting and meeting_date %}, {% endif %}{{ meeting_date }}</td></tr>
22
+ <tr><th>Study Group:</th><td>{{ subgroup }}</td><th>Working Party:</th><td>{{ workgroup }}</td><th colspan="3">Intended type of document (R-C-TD):</th><td>{{ intended_type }}</td></tr>
23
+ <tr><th>Source:</th><td colspan="7">{{ source }}</td></tr>
24
+ <tr><th>Title:</th><td colspan="7">{{ doctitle }}</td></tr>
25
+ {% for author in authors %}
26
+ <tr><th rowspan="3">Contact:</th><td>Name:</td><td colspan="3">{{ author }}</td><td>Tel:</td><td colspan="2">{{ phones[forloop.index0] }}</td></tr>
27
+ <tr><td>Organization:</td><td colspan="3">{{ affiliations[forloop.index0] }}</td><td>Fax:</td><td colspan="2">{{ faxes[forloop.index0] }}</td></tr>
28
+ <tr><td>Country:</td><td colspan="3">{{ addresses[forloop.index0] }}</td><td>E-mail:</td><td colspan="2">{{ emails[forloop.index0] }}</td></tr>
29
+ {% endfor %}
30
+ </table>
31
+
32
+ {% endif %}
33
+
19
34
  <div class="coverpage-doc-identity">
20
35
  <div class="doc-type">
21
36
  International Telecommunications Union
@@ -27,6 +42,8 @@
27
42
  <div class="doc-info-left">
28
43
  <div class="doc-identifier">
29
44
  {{ docnumeric }}
45
+ {% if amendmentid %}<div class="doc-subidentifier">{{ amendmentid }}</div>{% endif %}
46
+ {% if corrigendumid %}<div class="doc-subidentifier">{{ corrigendumid }}</div>{% endif %}
30
47
  {% if edition %} <div> Revision {{ edition }}</div> {% endif %}
31
48
  <div> {{ draftinfo }}</div>
32
49
  </div>
@@ -54,6 +71,12 @@
54
71
  {% if annextitle %}
55
72
  <br/><span class="doc-annextitle">{{ annexid }}{% if annexid and annextitle %}: {% endif %}{{ annextitle }}</span>
56
73
  {% endif %}
74
+ {% if amendmentid %}
75
+ <br/><span class="doc-annextitle">{{ amendmentid }}{% if amendmenttitle %}: {{ amendmenttitle}}{% endif %}</span>
76
+ {% endif %}
77
+ {% if corrigendumid %}
78
+ <br/><span class="doc-annextitle">{{ corrigendumid }}{% if corrigendumtitle %}: {{ corrigendumtitle}}{% endif %}</span>
79
+ {% endif %}
57
80
  </div>
58
81
 
59
82
 
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
9
9
  table, caption, tbody, tfoot, thead, tr, th, td,
10
10
  article, aside, canvas, details, embed,
11
11
  figure, figcaption, footer, header, hgroup,
12
- menu, nav, output, ruby, section, summary,
12
+ menu, output, ruby, section, summary,
13
13
  time, mark, audio, video {
14
14
  margin: 0;
15
15
  padding: 0; }
@@ -104,6 +104,10 @@ b, strong {
104
104
  div.document-stage-band, div.document-type-band {
105
105
  background-color: #333333; }
106
106
 
107
+ a.FootnoteRef + a.FootnoteRef:before {
108
+ content: ", ";
109
+ vertical-align: super; }
110
+
107
111
  #recommendation-band {
108
112
  background-color: #a3d88f; }
109
113
 
@@ -763,7 +767,7 @@ fieldset, form, label, legend,
763
767
  table, caption, tbody, tfoot, thead, tr, th, td,
764
768
  article, aside, canvas, details, embed,
765
769
  figure, figcaption, footer, header, hgroup,
766
- menu, nav, output, ruby, section, summary,
770
+ menu, output, ruby, section, summary,
767
771
  time, mark, audio, video {
768
772
  margin: 0;
769
773
  padding: 0; }
@@ -858,6 +862,10 @@ b, strong {
858
862
  div.document-stage-band, div.document-type-band {
859
863
  background-color: #333333; }
860
864
 
865
+ a.FootnoteRef + a.FootnoteRef:before {
866
+ content: ", ";
867
+ vertical-align: super; }
868
+
861
869
  #recommendation-band {
862
870
  background-color: #a3d88f; }
863
871
 
@@ -978,6 +986,9 @@ div.document-stage-band, div.document-type-band {
978
986
  font-weight: 800;
979
987
  display: inline; }
980
988
 
989
+ .doc-subidentifier {
990
+ font-size: 20px; }
991
+
981
992
  .doc-info-left {
982
993
  float: right;
983
994
  padding-right: 42px; }
@@ -1002,7 +1002,7 @@ div.WordSection2 {
1002
1002
  div.WordSection3 {
1003
1003
  page: WordSection3; }
1004
1004
 
1005
- table.MsoISOTable {
1005
+ table.MsoISOTable, table.MsoISOTableBig {
1006
1006
  mso-style-name: "Table ISO";
1007
1007
  mso-tstyle-rowband-size: 0;
1008
1008
  mso-tstyle-colband-size: 0;
@@ -1023,17 +1023,17 @@ table.MsoISOTable {
1023
1023
  font-size: 11.0pt;
1024
1024
  font-family: {{bodyfont}}; }
1025
1025
 
1026
- table.MsoISOTable th {
1026
+ table.MsoISOTable th, table.MsoISOTableBig th {
1027
1027
  border: solid windowtext 1pt;
1028
1028
  mso-border-alt: solid windowtext 1pt;
1029
1029
  padding: 0cm 2.85pt 0cm 2.85pt; }
1030
1030
 
1031
- table.MsoISOTable td {
1031
+ table.MsoISOTable td, table.MsoISOTableBig td {
1032
1032
  border: solid windowtext 1pt;
1033
1033
  mso-border-alt: solid windowtext 1pt;
1034
1034
  padding: 0cm 2.85pt 0cm 2.85pt; }
1035
1035
 
1036
- table.MsoISOTable p {
1036
+ table.MsoISOTable p, table.MsoISOTableBig p {
1037
1037
  font-size: 11.0pt; }
1038
1038
 
1039
1039
  table.MsoTableGrid {
@@ -1120,8 +1120,20 @@ div.example p.MsoListParagraph {
1120
1120
  font-size: 10.0pt; }
1121
1121
 
1122
1122
  div.Note p.MsoListParagraph {
1123
+ font-size: 11.0pt;
1124
+ margin-left: 1.0cm; }
1125
+
1126
+ div.Note span.stem {
1123
1127
  font-size: 11.0pt; }
1124
1128
 
1129
+ div.Note p.Sourcecode, div.Note pre.Sourcecode {
1130
+ font-size: 9.0pt;
1131
+ margin-left: 1.0cm; }
1132
+
1133
+ div.Note table.dl {
1134
+ font-size: 11.0pt;
1135
+ margin-left: 1.0cm; }
1136
+
1125
1137
  span.note_label, span.example_label, td.example_label, td.note_label {
1126
1138
  font-size: 11.0pt;
1127
1139
  font-family: {{bodyfont}}; }
@@ -962,7 +962,7 @@ div.WordSection2
962
962
  mso-paper-source:0;}
963
963
  div.WordSection3
964
964
  {page:WordSection3;}
965
- table.MsoISOTable
965
+ table.MsoISOTable, table.MsoISOTableBig
966
966
  {mso-style-name:"Table ISO";
967
967
  mso-tstyle-rowband-size:0;
968
968
  mso-tstyle-colband-size:0;
@@ -982,15 +982,15 @@ table.MsoISOTable
982
982
  mso-border-insidev:.75pt solid windowtext;
983
983
  font-size:11.0pt;
984
984
  font-family:$bodyfont;}
985
- table.MsoISOTable th
985
+ table.MsoISOTable th, table.MsoISOTableBig th
986
986
  {border:solid windowtext 1pt;
987
987
  mso-border-alt:solid windowtext 1pt;
988
988
  padding:0cm 2.85pt 0cm 2.85pt;}
989
- table.MsoISOTable td
989
+ table.MsoISOTable td, table.MsoISOTableBig td
990
990
  {border:solid windowtext 1pt;
991
991
  mso-border-alt:solid windowtext 1pt;
992
992
  padding:0cm 2.85pt 0cm 2.85pt;}
993
- table.MsoISOTable p
993
+ table.MsoISOTable p, table.MsoISOTableBig p
994
994
  {font-size:11.0pt; }
995
995
  table.MsoTableGrid
996
996
  {mso-style-name:"Table Grid";
@@ -1074,8 +1074,22 @@ div.example p.MsoListParagraph {
1074
1074
  font-size: 10.0pt;
1075
1075
  }
1076
1076
 
1077
- div.Note p.MsoListParagraph {
1077
+ div.Note p.MsoListParagraph {
1078
1078
  font-size: 11.0pt;
1079
+ margin-left: 1.0cm;
1080
+ }
1081
+
1082
+ div.Note span.stem {
1083
+ font-size: 11.0pt; }
1084
+
1085
+ div.Note p.Sourcecode, div.Note pre.Sourcecode {
1086
+ font-size: 9.0pt;
1087
+ margin-left: 1.0cm;
1088
+ }
1089
+
1090
+ div.Note table.dl {
1091
+ font-size: 11.0pt;
1092
+ margin-left: 1.0cm;
1079
1093
  }
1080
1094
 
1081
1095
  span.note_label, span.example_label, td.example_label, td.note_label
@@ -15,6 +15,22 @@
15
15
  <p class=Rectitle align="center"><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
16
16
  style='mso-ansi-language:FR-CH;font-size:14pt;font-weight:bold;'>{{ annextitle }}<o:p></o:p></span></span></p>
17
17
  {% endif %}
18
+ {% if amendmentid %}
19
+ <p class=Rectitle align="center"><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
20
+ style='mso-ansi-language:FR-CH;font-size:14pt;font-weight:bold;'>{{ amendmentid }}<o:p></o:p></span></span></p>
21
+ {% endif %}
22
+ {% if amendmenttitle %}
23
+ <p class=Rectitle align="center"><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
24
+ style='mso-ansi-language:FR-CH;font-size:14pt;font-weight:bold;'>{{ amendmenttitle }}<o:p></o:p></span></span></p>
25
+ {% endif %}
26
+ {% if corrigendumid %}
27
+ <p class=Rectitle align="center"><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
28
+ style='mso-ansi-language:FR-CH;font-size:14pt;font-weight:bold;'>{{ corrigendumid }}<o:p></o:p></span></span></p>
29
+ {% endif %}
30
+ {% if corrigendumtitle %}
31
+ <p class=Rectitle align="center"><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
32
+ style='mso-ansi-language:FR-CH;font-size:14pt;font-weight:bold;'>{{ corrigendumtitle }}<o:p></o:p></span></span></p>
33
+ {% endif %}
18
34
  <span style='mso-bookmark:_Hlk526346232'></span>
19
35
  <p class=MsoNormal><span style='mso-bookmark:_Hlk526346232'><span lang=FR-CH
20
36
  style='mso-ansi-language:FR-CH'><o:p>&nbsp;</o:p></span></span></p>
@@ -1,3 +1,120 @@
1
+ {% if doctype == "Technical Report" and unpublished %}
2
+
3
+ <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="662"
4
+ style='border-collapse:collapse;mso-table-layout-alt:fixed;mso-padding-alt:
5
+ 0cm 2.85pt 0cm 2.85pt'>
6
+ <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;page-break-inside:avoid;
7
+ height:17.85pt'>
8
+ <td width="108" valign="top" style='width:80.85pt;border:none;border-top:solid windowtext 1.5pt;
9
+ padding:0cm 2.85pt 0cm 2.85pt;height:17.85pt'>
10
+ <p class="MsoNormal"><b><span lang="EN-US">Question(s):</span></b></p>
11
+ </td>
12
+ <td width="170" colspan="2" valign="top" style='width:127.55pt;border:none;
13
+ border-top:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;height:17.85pt'>
14
+ <p class="MsoNormal"><span lang="EN-US">{{ group }}</span></p>
15
+ </td>
16
+ <td width="113" colspan="2" valign="top" style='width:3.0cm;border:none;border-top:
17
+ solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;height:17.85pt'>
18
+ <p class="MsoNormal"><b><span lang="EN-US">Meeting, date:<o:p></o:p></span></b></p>
19
+ </td>
20
+ <td width="270" colspan="2" valign="top" style='width:202.7pt;border:none;
21
+ border-top:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;height:17.85pt'>
22
+ <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-US">{{ meeting }}{% if meeting and meeting_date %}, {% endif %}{{ meeting_date }}</span></p>
23
+ </td>
24
+ </tr>
25
+ <tr style='mso-yfti-irow:1;page-break-inside:avoid;height:17.85pt'>
26
+ <td width="108" valign="top" style='width:80.85pt;padding:0cm 2.85pt 0cm 2.85pt;
27
+ height:17.85pt'>
28
+ <p class="MsoNormal"><b><span lang="EN-US">Study Group:<o:p></o:p></span></b></p>
29
+ </td>
30
+ <td width="38" valign="top" style='width:1.0cm;padding:0cm 2.85pt 0cm 2.85pt;
31
+ height:17.85pt'>
32
+ <p class="MsoNormal"><span lang="EN-US">{{ subgroup }}</span></p>
33
+ </td>
34
+ <td width="132" valign="top" style='width:99.2pt;padding:0cm 2.85pt 0cm 2.85pt;
35
+ height:17.85pt'>
36
+ <p class="MsoNormal"><b><span lang="EN-US">Working Party:<o:p></o:p></span></b></p>
37
+ </td>
38
+ <td width="38" valign="top" style='width:1.0cm;padding:0cm 2.85pt 0cm 2.85pt;
39
+ height:17.85pt'>
40
+ <p class="MsoNormal"><span lang="EN-US">{{ workgroup }}</span></p>
41
+ </td>
42
+ <td width="312" colspan="2" valign="top" style='width:233.9pt;padding:0cm 2.85pt 0cm 2.85pt;
43
+ height:17.85pt'>
44
+ <p class="MsoNormal"><b><span lang="EN-US">Intended type of document</span></b><span
45
+ lang="EN-US"> (R-C-TD):</span></p>
46
+ </td>
47
+ <td width="34" valign="top" style='width:25.5pt;padding:0cm 2.85pt 0cm 2.85pt;
48
+ height:17.85pt'>
49
+ <p class="MsoNormal"><span lang="EN-US">{{ intended_type }}</span></p>
50
+ </td>
51
+ </tr>
52
+ <tr style='mso-yfti-irow:2;page-break-inside:avoid;height:17.85pt'>
53
+ <td width="108" valign="top" style='width:80.85pt;padding:0cm 2.85pt 0cm 2.85pt;
54
+ height:17.85pt'>
55
+ <p class="MsoNormal"><b><span lang="EN-US">Source:<o:p></o:p></span></b></p>
56
+ </td>
57
+ <td width="554" colspan="6" valign="top" style='width:415.3pt;padding:0cm 2.85pt 0cm 2.85pt;
58
+ height:17.85pt'>
59
+ <p class="MsoNormal"><span lang="EN-US">{{ source }}</span></p>
60
+ </td>
61
+ </tr>
62
+ <tr style='mso-yfti-irow:3;page-break-inside:avoid;height:17.85pt'>
63
+ <td width="108" valign="top" style='width:80.85pt;border:none;border-bottom:solid windowtext 1.5pt;
64
+ padding:0cm 2.85pt 0cm 2.85pt;height:17.85pt'>
65
+ <p class="MsoNormal"><b><span lang="EN-US">Title: <o:p></o:p></span></b></p>
66
+ </td>
67
+ <td width="554" colspan="6" valign="top" style='width:415.3pt;border:none;
68
+ border-bottom:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;
69
+ height:17.85pt'>
70
+ <p class="MsoNormal"><span lang="EN-US">{{ doctitle }}</span></p>
71
+ </td>
72
+ </tr>
73
+ {% for author in authors %}
74
+ <tr style='mso-yfti-irow:4;page-break-inside:avoid;height:10.2pt'>
75
+ <td width="108" valign="top" style='width:80.85pt;border:none;mso-border-top-alt:
76
+ solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;height:10.2pt'>
77
+ <p class="MsoNormal"><a name="dcontact"><b><span lang="EN-US">Contact:<o:p></o:p></span></b></a></p>
78
+ </td>
79
+ <span style='mso-bookmark:dcontact'></span>
80
+ <td width="283" colspan="4" valign="top" style='width:212.6pt;border:none;
81
+ mso-border-top-alt:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;
82
+ height:10.2pt'>
83
+ <p class="MsoNormal" style="text-align:left;"><span style='mso-bookmark:dcontact'><span lang="EN-US">{{ author }}<br/>
84
+ {{ affiliations[forloop.index0] }}<br/>
85
+ {{ addresses[forloop.index0] }}</span></span></p>
86
+ </td>
87
+ <span style='mso-bookmark:dcontact'></span>
88
+ <td width="270" colspan="2" valign="top" style='width:202.7pt;border:none;
89
+ mso-border-top-alt:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;
90
+ height:10.2pt'>
91
+ <p class="MsoNormal" style="text-align:left;"><span style='mso-bookmark:dcontact'><span lang="EN-US">Tel: {{ phones[forloop.index0] }}<br/>
92
+ Fax: {{ faxes[forloop.index0] }}<br/>
93
+ E-mail: {{ emails[forloop.index0] }}</span></span></p>
94
+ </td>
95
+ <span style='mso-bookmark:dcontact'></span>
96
+ </tr>
97
+ {% endfor %}
98
+ <tr style='mso-yfti-irow:6;mso-yfti-lastrow:yes;page-break-inside:avoid;
99
+ height:10.2pt'>
100
+ <td width="662" colspan="7" valign="top" style='width:496.15pt;border:none;
101
+ border-top:solid windowtext 1.5pt;padding:0cm 2.85pt 0cm 2.85pt;height:10.2pt'>
102
+ <p class="MsoNormal" style='margin-top:0cm'><span lang="EN-US" style='font-size:
103
+ 9.0pt'>Please do not change the structure of this table, just insert the
104
+ necessary information.<o:p></o:p></span></p>
105
+ </td>
106
+ </tr>
107
+ </table>
108
+
109
+ <p class="MsoNormal"><span lang="EN-US">&lt;INSERT TEXT&gt;</span></p>
110
+
111
+ <p><br clear="all" style="page-break-before:always"/></p>
112
+
113
+ {% endif %}
114
+
115
+
116
+
117
+
1
118
  <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="663"
2
119
  style='border-collapse:collapse;mso-table-layout-alt:fixed;mso-padding-alt:
3
120
  0cm 5.4pt 0cm 5.4pt'>
@@ -89,7 +206,7 @@
89
206
  <p class="MsoNormal" align="right" style='margin-top:12.0pt;text-align:right'><span
90
207
  style='mso-bookmark:_Hlk526346232'><a name="dnume"><b style='mso-bidi-font-weight:
91
208
  normal'><span lang="EN-US" style='font-size:30.0pt;mso-bidi-font-size:10.0pt;
92
- font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{{ docnumeric }}<o:p></o:p></span></b></a></span></p>
209
+ font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{% if doctype == "Recommendation" %}{{ docnumeric }}{% else %}{{ doctype }}{% endif %}<o:p></o:p></span></b></a></span></p>
93
210
  </td>
94
211
  <span style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dnume'></span></span>
95
212
  </tr>
@@ -142,11 +259,23 @@
142
259
  <span style='mso-bookmark:_Hlk526346232'></span>
143
260
  <td width="265" valign="top" style='width:198.55pt;padding:0cm 4.25pt 0cm 4.25pt;
144
261
  height:48.7pt'>
262
+ {% if amendmentid %}
263
+ <p class="MsoNormal" align="right" style='margin-top:12.0pt;text-align:right'><span
264
+ style='mso-bookmark:_Hlk526346232'><a name="dnume"><b style='mso-bidi-font-weight:
265
+ normal'><span lang="EN-US" style='font-size:16.0pt;mso-bidi-font-size:10.0pt;
266
+ font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{{ amendmentid }}<o:p></o:p></span></b></a></span></p>
267
+ {% endif %}
268
+ {% if corrigendumid %}
269
+ <p class="MsoNormal" align="right" style='margin-top:12.0pt;text-align:right'><span
270
+ style='mso-bookmark:_Hlk526346232'><a name="dnume"><b style='mso-bidi-font-weight:
271
+ normal'><span lang="EN-US" style='font-size:16.0pt;mso-bidi-font-size:10.0pt;
272
+ font-family:"Arial",sans-serif;mso-ansi-language:EN-US'>{{ corrigendumid }}<o:p></o:p></span></b></a></span></p>
273
+ {% endif %}
145
274
  <p class="MsoNormal" align="right" style='margin-top:0cm;text-align:right'>
146
275
  <span
147
276
  style='mso-bookmark:_Hlk526346232'><a name="ddatee"><span lang="EN-US"
148
277
  style='font-size:14.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
149
- mso-ansi-language:EN-US'>{% if pubdate_monthyear %}({{ pubdate_monthyear }}){% endif %}<span style='mso-spacerun:yes'>   </span><o:p></o:p></span></a></span></p>
278
+ mso-ansi-language:EN-US'>{% if pubdate_monthyear %}({{ pubdate_monthyear }}){% else %}{% if revdate %}({{ revdate }}){% endif %}{% endif %}<span style='mso-spacerun:yes'>   </span><o:p></o:p></span></a></span></p>
150
279
  </td>
151
280
  <span style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:ddatee'></span></span>
152
281
  </tr>
@@ -195,7 +324,11 @@
195
324
  style='mso-bookmark:_Hlk526346232'><a name="c1tite">
196
325
  <span lang="EN-GB"
197
326
  style='font-size:18.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
198
- mso-bidi-font-family:"Times New Roman"'>{% if annextitle %}{{ doctitle }}<br/><b>{{ annexid }}{% if annexid and annextitle %}: {% endif %}{{ annextitle }}</b>{% else %}<b>{{ doctitle }}</b>{% endif %}</span>
327
+ mso-bidi-font-family:"Times New Roman"'>{% if annexid or amendmentid or corrigendumid %}{% if doctype != "Recommendation" %}{{ docnumeric }}<br/>{% endif %}{{ doctitle }}
328
+ {% if annexid %}<br/><b>{{ annexid }}{% if annextitle %}: {{ annextitle }}{% endif %}</b>{% endif %}
329
+ {% if amendmentid %}<br/><b>{{ amendmentid }}{% if amendmenttitle %}: {{ amendmenttitle }}{% endif %}</b>{% endif %}
330
+ {% if corrigendumid %}<br/><b>{{ corrigendumid }}{% if corrigendumtitle %}: {{ corrigendumtitle }}{% endif %}</b>{% endif %}
331
+ {% else %}<b>{% if doctype != "Recommendation" %}{{ docnumeric }}<br/>{% endif %}{{ doctitle }}</b>{% endif %}</span>
199
332
  </a></span><span
200
333
  style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:c1tite'><b><span
201
334
  lang="EN-US" style='font-size:18.0pt;mso-bidi-font-size:10.0pt;font-family: