metanorma-itu 1.2.10 → 1.2.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +9 -29
  3. data/.rubocop.yml +0 -4
  4. data/lib/asciidoctor/itu/basicdoc.rng +5 -3
  5. data/lib/asciidoctor/itu/boilerplate.xml +5 -2
  6. data/lib/asciidoctor/itu/cleanup.rb +9 -0
  7. data/lib/asciidoctor/itu/converter.rb +2 -1
  8. data/lib/asciidoctor/itu/front.rb +19 -20
  9. data/lib/asciidoctor/itu/isodoc.rng +134 -5
  10. data/lib/asciidoctor/itu/itu.rng +76 -0
  11. data/lib/asciidoctor/itu/validate.rb +13 -5
  12. data/lib/isodoc/itu/base_convert.rb +70 -52
  13. data/lib/isodoc/itu/cleanup.rb +55 -0
  14. data/lib/isodoc/itu/html/header.html +12 -8
  15. data/lib/isodoc/itu/html/html_itu_intro.html +1 -1
  16. data/lib/isodoc/itu/html/html_itu_titlepage.html +15 -3
  17. data/lib/isodoc/itu/html/htmlstyle.css +59 -12
  18. data/lib/isodoc/itu/html/htmlstyle.scss +26 -5
  19. data/lib/isodoc/itu/html/word_itu_intro.html +8 -2
  20. data/lib/isodoc/itu/html/word_itu_titlepage.html +29 -6
  21. data/lib/isodoc/itu/html/wordstyle.css +34 -0
  22. data/lib/isodoc/itu/html/wordstyle.scss +33 -0
  23. data/lib/isodoc/itu/html_convert.rb +2 -2
  24. data/lib/isodoc/itu/i18n-en.yaml +4 -0
  25. data/lib/isodoc/itu/itu.implementers-guide.xsl +5889 -0
  26. data/lib/isodoc/itu/itu.in-force.xsl +5889 -0
  27. data/lib/isodoc/itu/itu.recommendation-annex.xsl +1059 -438
  28. data/lib/isodoc/itu/itu.recommendation-supplement.xsl +5889 -0
  29. data/lib/isodoc/itu/itu.recommendation.xsl +1059 -438
  30. data/lib/isodoc/itu/itu.resolution.xsl +1059 -438
  31. data/lib/isodoc/itu/itu.technical-paper.xsl +1059 -438
  32. data/lib/isodoc/itu/itu.technical-report.xsl +1059 -438
  33. data/lib/isodoc/itu/metadata.rb +41 -7
  34. data/lib/isodoc/itu/pdf_convert.rb +5 -8
  35. data/lib/isodoc/itu/presentation_xml_convert.rb +49 -3
  36. data/lib/isodoc/itu/word_convert.rb +2 -2
  37. data/lib/isodoc/itu/xref.rb +101 -43
  38. data/lib/metanorma/itu/processor.rb +1 -0
  39. data/lib/metanorma/itu/version.rb +1 -1
  40. data/metanorma-itu.gemspec +3 -3
  41. metadata +13 -9
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
  <nav>
8
- <h1 id="content">{{ table_of_contents}}</h1>
8
+ <h1 id="content">{{ labels["table_of_contents"]}}</h1>
9
9
  <div id="toc"></div>
10
10
 
11
11
  </nav>
@@ -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
- <span class="doc-series">{% if series %}Series {{ series }}{% endif %}</span>
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 %}&mdash; {{ 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: #53dd6c; }
148
+ background-color: #ff6b6b; }
149
149
 
150
150
  #technical-paper {
151
- border-bottom: solid 3px #53dd6c; }
151
+ border-bottom: solid 3px #ff6b6b; }
152
152
 
153
153
  #technical-report-band {
154
- background-color: #53dd6c; }
154
+ background-color: #ff6b6b; }
155
155
 
156
156
  #technical-report {
157
- border-bottom: solid 3px #53dd6c; }
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: #48a0e7; }
172
+ background-color: #edc9ff; }
173
173
 
174
174
  #joint-itu-iso-iec {
175
- border-bottom: solid 3px #48a0e7; }
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: #53dd6c; }
378
+ background-color: #ff6b6b; }
361
379
 
362
380
  #technical-paper {
363
- border-bottom: solid 3px #53dd6c; }
381
+ border-bottom: solid 3px #ff6b6b; }
364
382
 
365
383
  #technical-report-band {
366
- background-color: #53dd6c; }
384
+ background-color: #ff6b6b; }
367
385
 
368
386
  #technical-report {
369
- border-bottom: solid 3px #53dd6c; }
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: #48a0e7; }
402
+ background-color: #edc9ff; }
385
403
 
386
404
  #joint-itu-iso-iec {
387
- border-bottom: solid 3px #48a0e7; }
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
 
@@ -880,6 +916,17 @@ h1, .h1Annex {
880
916
  h1.content, .h1Annex.content {
881
917
  margin-top: 2em;
882
918
  line-height: 2.5em; } }
919
+ p.supertitle {
920
+ font-size: 1.4em;
921
+ text-transform: uppercase;
922
+ margin-top: 2em; }
923
+ @media print {
924
+ p.supertitle {
925
+ font-size: 1.5em;
926
+ line-height: 1.5; }
927
+ p.supertitle.content {
928
+ margin-top: 2em;
929
+ line-height: 2.5em; } }
883
930
  h2 {
884
931
  margin-top: 1.7em;
885
932
  font-size: 1.5em; }
@@ -1,5 +1,6 @@
1
1
  $recBandColor: #a3d88f;
2
- $tecPaperColor: #53dd6c;
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: #750697,
13
- implementers-guide: #750697,
14
- joint-itu-iso-iec: #48a0e7,
15
- service-publication: #750697
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
 
@@ -244,6 +248,23 @@ h1, .h1Annex {
244
248
  }
245
249
  }
246
250
 
251
+ p.supertitle {
252
+ font-size: 1.4em;
253
+ text-transform: uppercase;
254
+ margin-top: 2em;
255
+
256
+ @media print {
257
+ font-size: 1.5em;
258
+ line-height: 1.5;
259
+
260
+ &.content {
261
+ margin-top: 2em;
262
+ line-height: 2.5em;
263
+ }
264
+ }
265
+
266
+ }
267
+
247
268
  h2 {
248
269
  margin-top: 1.7em;
249
270
  font-size: 1.5em;
@@ -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>&nbsp;</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>&nbsp;</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;
@@ -170,10 +175,11 @@ mso-bidi-language:AR-SA'><br clear=all style='page-break-before:always'>
170
175
  </span></b>
171
176
 
172
177
  <p class=MsoNormal align=center style='text-align:center'>
173
- <b>{{ table_of_contents }}</b></p>
178
+ <b>{{ labels["table_of_contents"] }}</b></p>
174
179
  <p class=MsoNormal style='tab-stops:right 17.0cm'><span style='mso-tab-count:1'/>
175
- <b>{{ page }}</b></p>
180
+ <b>{{ labels["page"] }}</b></p>
176
181
 
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'><a name="dnume"><b style='mso-bidi-font-weight:
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></span></p>
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'>{% if series %}SERIES {{ series | upcase }}{% endif %}<o:p></o:p></span></a></span></p>
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 }}&#xA0;{% if series2 %}&#x2014;{% 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" %}{{ docnumeric }}<br/>{% endif %}{{ doctitle }}</b>
353
+ <b>{% if doctype != "Recommendation" and doctype != "Resolution" %}{{ docnumeric }}
354
+ <br/>{% endif %}{% if doctype == "Resolution" %}{{ doctype_display }} {{ docnumeric }} &#x2013; {% 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><span lang="EN-US"
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></span></p>
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;
@@ -492,6 +495,37 @@ h1 {
492
495
  mso-fareast-language: JA;
493
496
  mso-bidi-font-weight: normal; }
494
497
 
498
+ p.supertitle {
499
+ mso-style-priority: 1;
500
+ mso-style-unhide: no;
501
+ mso-style-qformat: yes;
502
+ mso-style-next: h1;
503
+ margin-top: 36.0pt;
504
+ margin-right: 0cm;
505
+ margin-bottom: 6pt;
506
+ margin-left: 39.7pt;
507
+ margin-bottom: .0001pt;
508
+ text-indent: -39.7pt;
509
+ mso-pagination: widow-orphan lines-together;
510
+ page-break-after: avoid;
511
+ tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
512
+ mso-layout-grid-align: none;
513
+ punctuation-wrap: simple;
514
+ text-autospace: none;
515
+ font-size: {{normalfontsize}};
516
+ mso-bidi-font-size: 10.0pt;
517
+ mso-hyphenate: none;
518
+ font-family: {{bodyfont}};
519
+ mso-fareast-font-family: {{bodyfont}};
520
+ {% if doctype == "Resolution" %}
521
+ text-align: center;
522
+ {% endif %}
523
+ color: black;
524
+ mso-font-kerning: 0pt;
525
+ mso-ansi-language: EN-GB;
526
+ mso-fareast-language: JA;
527
+ mso-bidi-font-weight: normal; }
528
+
495
529
  h1.Section3 {
496
530
  margin-top: 36.0pt;
497
531
  margin-right: 0cm;
@@ -453,12 +453,45 @@ h1
453
453
  mso-hyphenate:none;
454
454
  font-family:$headerfont;
455
455
  mso-fareast-font-family:$headerfont;
456
+ {% if doctype == "Resolution" %}
457
+ text-align: center;
458
+ {% endif %}
456
459
  color:black;
457
460
  font-weight:bold;
458
461
  mso-font-kerning:0pt;
459
462
  mso-ansi-language:EN-GB;
460
463
  mso-fareast-language:JA;
461
464
  mso-bidi-font-weight:normal;}
465
+ p.supertitle
466
+ {mso-style-priority:1;
467
+ mso-style-unhide:no;
468
+ mso-style-qformat:yes;
469
+ mso-style-next:h1;
470
+ margin-top:36.0pt;
471
+ margin-right:0cm;
472
+ margin-bottom:6pt;
473
+ margin-left:39.7pt;
474
+ margin-bottom:.0001pt;
475
+ text-indent:-39.7pt;
476
+ mso-pagination:widow-orphan lines-together;
477
+ page-break-after:avoid;
478
+ tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
479
+ mso-layout-grid-align:none;
480
+ punctuation-wrap:simple;
481
+ text-autospace:none;
482
+ font-size:$normalfontsize;
483
+ mso-bidi-font-size:10.0pt;
484
+ mso-hyphenate:none;
485
+ font-family:$bodyfont;
486
+ mso-fareast-font-family:$bodyfont;
487
+ {% if doctype == "Resolution" %}
488
+ text-align: center;
489
+ {% endif %}
490
+ color:black;
491
+ mso-font-kerning:0pt;
492
+ mso-ansi-language:EN-GB;
493
+ mso-fareast-language:JA;
494
+ mso-bidi-font-weight:normal;}
462
495
  h1.Section3
463
496
  {
464
497
  margin-top:36.0pt;
@@ -17,9 +17,9 @@ module IsoDoc
17
17
 
18
18
  def default_fonts(options)
19
19
  {
20
- bodyfont: (options[:script] == "Hans" ? '"SimSun",serif' :
20
+ bodyfont: (options[:script] == "Hans" ? '"Source Han Sans",serif' :
21
21
  '"Times New Roman",serif'),
22
- headerfont: (options[:script] == "Hans" ? '"SimHei",sans-serif' :
22
+ headerfont: (options[:script] == "Hans" ? '"Source Han Sans",sans-serif' :
23
23
  '"Times New Roman",serif'),
24
24
  monospacefont: '"Courier New",monospace',
25
25
  normalfontsize: "14px",