metanorma-ieee 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/ieee/html/header.html +3 -3
  3. data/lib/isodoc/ieee/html/html_ieee_titlepage.html +15 -2
  4. data/lib/isodoc/ieee/html/htmlstyle.css +160 -46
  5. data/lib/isodoc/ieee/html/htmlstyle.scss +96 -0
  6. data/lib/isodoc/ieee/html/ieee.css +46 -1
  7. data/lib/isodoc/ieee/html/ieee.scss +42 -1
  8. data/lib/isodoc/ieee/html/word_ieee_titlepage.html +10 -2
  9. data/lib/isodoc/ieee/html/wordstyle.css +48 -0
  10. data/lib/isodoc/ieee/html/wordstyle.scss +44 -0
  11. data/lib/isodoc/ieee/html/wordstyle_wp.css +47 -0
  12. data/lib/isodoc/ieee/html/wordstyle_wp.scss +43 -0
  13. data/lib/isodoc/ieee/html_convert.rb +5 -0
  14. data/lib/isodoc/ieee/i18n-en.yaml +3 -0
  15. data/lib/isodoc/ieee/ieee.amendment.xsl +1526 -964
  16. data/lib/isodoc/ieee/ieee.standard.xsl +1526 -964
  17. data/lib/isodoc/ieee/metadata.rb +22 -11
  18. data/lib/isodoc/ieee/presentation_bibitem.rb +103 -0
  19. data/lib/isodoc/ieee/presentation_ref.rb +169 -97
  20. data/lib/isodoc/ieee/presentation_terms.rb +52 -12
  21. data/lib/isodoc/ieee/presentation_xml_convert.rb +24 -75
  22. data/lib/isodoc/ieee/word_authority.rb +37 -59
  23. data/lib/isodoc/ieee/word_cleanup.rb +83 -35
  24. data/lib/isodoc/ieee/word_cleanup_blocks.rb +0 -1
  25. data/lib/isodoc/ieee/word_convert.rb +19 -16
  26. data/lib/isodoc/ieee/word_toc.rb +46 -0
  27. data/lib/metanorma/ieee/boilerplate.adoc +6 -5
  28. data/lib/metanorma/ieee/boilerplate_wp.adoc +1 -2
  29. data/lib/metanorma/ieee/cleanup.rb +69 -15
  30. data/lib/metanorma/ieee/cleanup_boilerplate.rb +1 -4
  31. data/lib/metanorma/ieee/cleanup_ref.rb +33 -106
  32. data/lib/metanorma/ieee/cleanup_ref_fn.rb +117 -0
  33. data/lib/metanorma/ieee/front.rb +14 -0
  34. data/lib/metanorma/ieee/isodoc.rng +44 -19
  35. data/lib/metanorma/ieee/processor.rb +1 -0
  36. data/lib/metanorma/ieee/relaton-ieee.rng +4 -0
  37. data/lib/metanorma/ieee/validate.rb +1 -1
  38. data/lib/metanorma/ieee/version.rb +1 -1
  39. data/lib/relaton/render/config.yml +10 -3
  40. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68972c5486baf914108170d5e90570275fde3b68634a6f76fa2401516d5ed116
4
- data.tar.gz: de708600107ef15b24b1547ccc26492ab6a1b18d2ae911ceee26aae41a02e84a
3
+ metadata.gz: f8929322a9a987ee96a1c831dec2ff64ebb4933dfa76aec941054d887db637dc
4
+ data.tar.gz: b27dfd1da70c300b0721458d3973edd88175bff053c2479d9b48ea5d0785ab21
5
5
  SHA512:
6
- metadata.gz: 5a8260fa922d5323a746be177bb4fc3bb31229bc8313d1a72bd029439788fffc300fe44ac6bfe7050883ad4b5f65aab94232857b8ef9ce6605c9eca07b4e980d
7
- data.tar.gz: c2a4c59b10dd5bdb6f2ff0eff2006e7a5b9c4e55bea816b6d6651a01f4612b87347eb96fb0de8ce636a500c5216aabb3fd1e29a773a4d9d2684bd0350d796303
6
+ metadata.gz: 7262aee1a6ac6b9f085b916c549d4b9497d8bb9d57cd5f547ab3458f17d166c791ced5eb08af0de9a1330f9af23b8ef00ce7aff1c10f5acb5b763bbb4328292d
7
+ data.tar.gz: 6d7f7a677c80f6de11699c83ef5545b8b9b64a055cf80cc468fcafca95bec19a7ad0834dc7c43271b470cd214914e3b54c67451520a6b54be8e3d0f77f89a6c6
@@ -59,10 +59,10 @@ xmlns="http://www.w3.org/TR/REC-html40">
59
59
 
60
60
  <div style='mso-element:header' id=h1>
61
61
 
62
- <p class=MsoHeader><span lang=EN-US>P{{ docnumeric }}{% if draft %}/D{{ draft }},
63
- {{ draft_month }} {{ draft_year }}{% endif %}</span></p>
62
+ <p class=MsoHeader><span lang=EN-US>{%if unpublished%}P{{ docnumeric }}{% if draft %}/D{{ draft }},
63
+ {{ draft_month }} {{ draft_year }}{% endif %}{%else%}IEEE Std {{docnumeric}}-{{docyear}}{%endif%}</span></p>
64
64
 
65
- <p class=MsoHeader><span lang=EN-US>{{ full_doctitle }}</span></p>
65
+ <p class=MsoHeader><span lang=EN-US>{%if unpublished %}{%else%}IEEE {% endif %}{{ full_doctitle }}</span></p>
66
66
 
67
67
  </div>
68
68
 
@@ -1,6 +1,6 @@
1
1
  <div id='toggle'> <span>•</span> </div>
2
2
 
3
- <div class="doctitle-en"><span>P{{ docnumeric }}™{% if draft %}/D{{ draft }}{% endif %}</span><br/>
3
+ <div class="doctitle-en">{% if unpublished %}<span>P{{ docnumeric }}™{% if draft %}/D{{ draft }}{% endif %}</span><br/>{% else %}IEEE Std-{{docnumeric}}™-{{docyear}}<br/>IEEE{% endif %}
4
4
  <span lang="EN-US">{{ full_doctitle }}</span></div>
5
5
  {% if amd %}
6
6
  <div class="doctitle-part">Amendment {{ amd }}</div>
@@ -16,7 +16,20 @@
16
16
  <p><b>{{ technical_committee }}</b></p>
17
17
  <p>of the</p>
18
18
  <p><b>IEEE {{ society }}</b></p>
19
- <p>Approved {{ issueddate }}</p>
19
+ {% if coverpage_statement %}
20
+ <table style="border: none;" width="100%"><tr><td style="border: none;vertical-align: middle;padding: 0px !important;">
21
+ <p style="text-align: left;">{{ coverpage_statement }}</p>
22
+ </td>
23
+ {% if corporate_author_logos %}
24
+ <td style="border: none;vertical-align: middle;">
25
+ {% for i in corporate_author_logos %}
26
+ <img src='{{i}}'/>
27
+ {% endfor %}
28
+ </td>
29
+ {% endif %}
30
+ </tr></table>
31
+ {% endif %}
32
+ <p>Approved {% if ieee_sasb_approveddate %}{{ ieee_sasb_approveddate }}{% else %}{{ issueddate }}{% endif %}</p>
20
33
  <p>IEEE SA Standards Board</p>
21
34
  </div>
22
35
 
@@ -145,16 +145,6 @@ div.document-stage-band, div.document-type-band {
145
145
  background-color: #333333;
146
146
  }
147
147
 
148
- a.FootnoteRef + a.FootnoteRef::before {
149
- content: ", ";
150
- vertical-align: super;
151
- }
152
-
153
- a.TableFootnoteRef + a.TableFootnoteRef::before {
154
- content: ", ";
155
- vertical-align: super;
156
- }
157
-
158
148
  a.TableFootnoteRef, span.TableFootnoteRef,
159
149
  a.FootnoteRef, span.FootnoteRef {
160
150
  vertical-align: super;
@@ -704,6 +694,124 @@ li p {
704
694
  display: none;
705
695
  }
706
696
 
697
+ /* https://github.com/metanorma/metanorma-iso/issues/319 : force a) parentheses for ordered lists */
698
+ ol[class=alphabet] {
699
+ counter-reset: alphabet;
700
+ }
701
+
702
+ ol[class=arabic] {
703
+ counter-reset: arabic;
704
+ }
705
+
706
+ ol[class=roman] {
707
+ counter-reset: roman;
708
+ }
709
+
710
+ ol[class=alphabet_upper] {
711
+ counter-reset: alphabet_upper;
712
+ }
713
+
714
+ ol[class=roman_upper] {
715
+ counter-reset: roman_upper;
716
+ }
717
+
718
+ ol[class=alphabet] ol[class=alphabet] {
719
+ counter-reset: alphabet2;
720
+ }
721
+
722
+ ol[class=arabic] ol[class=arabic] {
723
+ counter-reset: arabic2;
724
+ }
725
+
726
+ ol[class=roman] ol[class=roman] {
727
+ counter-reset: roman2;
728
+ }
729
+
730
+ ol[class=alphabet_upper] ol[class=alphabet_upper] {
731
+ counter-reset: alphabet_upper2;
732
+ }
733
+
734
+ ol[class=roman_upper] ol[class=roman_upper] {
735
+ counter-reset: roman_upper2;
736
+ }
737
+
738
+ ol {
739
+ counter-reset: alphabet;
740
+ }
741
+
742
+ ol > li {
743
+ list-style: none;
744
+ position: relative;
745
+ }
746
+
747
+ ol > li::before {
748
+ position: absolute;
749
+ left: -1.4em;
750
+ }
751
+
752
+ ol[class=roman] > li::before {
753
+ left: -2em;
754
+ }
755
+
756
+ ol[class=roman_upper] > li::before {
757
+ left: -2.3em;
758
+ }
759
+
760
+ ol[class=alphabet] > li::before {
761
+ counter-increment: alphabet;
762
+ content: counter(alphabet, lower-alpha) ") ";
763
+ }
764
+
765
+ ol[class=arabic] > li::before {
766
+ counter-increment: arabic;
767
+ content: counter(arabic, decimal) ") ";
768
+ }
769
+
770
+ ol[class=roman] > li::before {
771
+ counter-increment: roman;
772
+ content: counter(roman, lower-roman) ") ";
773
+ }
774
+
775
+ ol[class=alphabet_upper] > li::before {
776
+ counter-increment: alphabet_upper;
777
+ content: counter(alphabet_upper, upper-alpha) ") ";
778
+ }
779
+
780
+ ol[class=roman_upper] > li::before {
781
+ counter-increment: roman_upper;
782
+ content: counter(roman_upper, upper-roman) ") ";
783
+ }
784
+
785
+ ol > li::before {
786
+ counter-increment: alphabet;
787
+ content: counter(alphabet, lower-alpha) ") ";
788
+ }
789
+
790
+ ol[class=alphabet] ol[class=alphabet] > li::before {
791
+ counter-increment: alphabet2;
792
+ content: counter(alphabet2, lower-alpha) ") ";
793
+ }
794
+
795
+ ol[class=arabic] ol[class=arabic] > li::before {
796
+ counter-increment: arabic2;
797
+ content: counter(arabic2, decimal) ") ";
798
+ }
799
+
800
+ ol[class=roman] ol[class=roman] > li::before {
801
+ counter-increment: roman2;
802
+ content: counter(roman2, lower-roman) ") ";
803
+ }
804
+
805
+ ol[class=alphabet_upper] ol[class=alphabet_upper] > li::before {
806
+ counter-increment: alphabet_upper2;
807
+ content: counter(alphabet_upper2, upper-alpha) ") ";
808
+ }
809
+
810
+ ol[class=roman_upper] ol[class=roman_upper] > li::before {
811
+ counter-increment: roman_upper2;
812
+ content: counter(roman_upper2, upper-roman) ") ";
813
+ }
814
+
707
815
  p.AltTerms {
708
816
  margin-bottom: 0;
709
817
  margin-left: 2em;
@@ -714,10 +822,6 @@ p.Terms {
714
822
  }
715
823
 
716
824
  /* Navigation*/
717
- #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
718
- font-family: {{bodyfont}};
719
- font-weight: 400;
720
- }
721
825
  #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
722
826
  margin: 0;
723
827
  padding: 0;
@@ -765,6 +869,10 @@ p.Terms {
765
869
  color: black;
766
870
  }
767
871
  }
872
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
873
+ font-family: {{bodyfont}};
874
+ font-weight: 400;
875
+ }
768
876
  @media screen and (max-width: 768px) {
769
877
  #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
770
878
  padding: 0 1.5em;
@@ -782,9 +890,6 @@ p.Terms {
782
890
  font-size: 100%;
783
891
  }
784
892
 
785
- nav {
786
- line-height: 1.2em;
787
- }
788
893
  @media screen and (min-width: 768px) {
789
894
  nav {
790
895
  position: fixed;
@@ -809,11 +914,10 @@ nav {
809
914
  background-color: white;
810
915
  }
811
916
  }
812
-
813
- #toggle {
814
- margin-left: -4em;
815
- margin-top: -2em;
917
+ nav {
918
+ line-height: 1.2em;
816
919
  }
920
+
817
921
  @media screen and (min-width: 768px) {
818
922
  #toggle {
819
923
  position: fixed;
@@ -842,6 +946,10 @@ nav {
842
946
  display: none;
843
947
  }
844
948
  }
949
+ #toggle {
950
+ margin-left: -4em;
951
+ margin-top: -2em;
952
+ }
845
953
 
846
954
  @media screen and (min-width: 768px) {
847
955
  .container {
@@ -872,17 +980,6 @@ nav {
872
980
  width: 100%;
873
981
  }
874
982
  }
875
- .figure,
876
- pre,
877
- .pseudocode {
878
- background-color: #f7f7f7;
879
- font-size: {{monospacefontsize}};
880
- line-height: 1.6em;
881
- padding: 1.5em;
882
- margin: 2em 0 1em 0;
883
- overflow: auto;
884
- font-size: {{normalfontsize}};
885
- }
886
983
  .figure .SourceTitle,
887
984
  pre .SourceTitle,
888
985
  .pseudocode .SourceTitle {
@@ -890,13 +987,18 @@ pre .SourceTitle,
890
987
  font-size: 1em;
891
988
  text-align: center;
892
989
  }
893
-
894
- div.figure {
990
+ .figure,
991
+ pre,
992
+ .pseudocode {
993
+ background-color: #f7f7f7;
994
+ font-size: {{monospacefontsize}};
895
995
  line-height: 1.6em;
896
996
  padding: 1.5em;
897
997
  margin: 2em 0 1em 0;
898
998
  overflow: auto;
999
+ font-size: {{normalfontsize}};
899
1000
  }
1001
+
900
1002
  div.figure .FigureTitle, div.figure .figure-title {
901
1003
  font-weight: 700;
902
1004
  font-size: 1em;
@@ -909,6 +1011,12 @@ div.figure > img, div.figure > svg {
909
1011
  max-width: 100%;
910
1012
  height: auto;
911
1013
  }
1014
+ div.figure {
1015
+ line-height: 1.6em;
1016
+ padding: 1.5em;
1017
+ margin: 2em 0 1em 0;
1018
+ overflow: auto;
1019
+ }
912
1020
 
913
1021
  table div.figure {
914
1022
  padding: 0;
@@ -1140,6 +1248,13 @@ p.NormRef {
1140
1248
  /*
1141
1249
  3.6 Source Code + figures
1142
1250
  */
1251
+ .figure .SourceTitle,
1252
+ pre .SourceTitle,
1253
+ .pseudocode .SourceTitle {
1254
+ font-weight: 700;
1255
+ font-size: 1em;
1256
+ text-align: center;
1257
+ }
1143
1258
  .figure,
1144
1259
  pre,
1145
1260
  .pseudocode {
@@ -1151,13 +1266,6 @@ pre,
1151
1266
  overflow: auto;
1152
1267
  font-size: {{normalfontsize}};
1153
1268
  }
1154
- .figure .SourceTitle,
1155
- pre .SourceTitle,
1156
- .pseudocode .SourceTitle {
1157
- font-weight: 700;
1158
- font-size: 1em;
1159
- text-align: center;
1160
- }
1161
1269
 
1162
1270
  pre {
1163
1271
  font-family: {{monospacefont}};
@@ -1230,19 +1338,23 @@ pre {
1230
1338
  padding: 0.5em;
1231
1339
  margin: 2em 0 1em 0;
1232
1340
  text-align: left;
1233
- color: #424242;
1234
- padding-left: 2em;
1235
- color: black;
1236
- padding-left: 2em;
1237
1341
  }
1238
1342
  .example p {
1239
1343
  margin: 0;
1240
1344
  }
1345
+ .example {
1346
+ color: #424242;
1347
+ padding-left: 2em;
1348
+ }
1241
1349
  .example .example-title {
1242
1350
  font-weight: 700;
1243
1351
  text-transform: uppercase;
1244
1352
  margin-left: -1.5em;
1245
1353
  }
1354
+ .example {
1355
+ color: black;
1356
+ padding-left: 2em;
1357
+ }
1246
1358
  .example .example-title {
1247
1359
  margin-left: -1.5em;
1248
1360
  font-style: italic;
@@ -1262,7 +1374,6 @@ table {
1262
1374
  margin-left: auto;
1263
1375
  margin-right: auto;
1264
1376
  padding-right: 2em;
1265
- text-align: center;
1266
1377
  }
1267
1378
  table, table th, table td {
1268
1379
  border: 1px solid black;
@@ -1274,6 +1385,9 @@ table th, table td {
1274
1385
  table td.header {
1275
1386
  font-weight: 400;
1276
1387
  }
1388
+ table {
1389
+ text-align: center;
1390
+ }
1277
1391
 
1278
1392
  td,
1279
1393
  th {
@@ -247,6 +247,102 @@ li p {
247
247
  display: none;
248
248
  }
249
249
 
250
+ /* https://github.com/metanorma/metanorma-iso/issues/319 : force a) parentheses for ordered lists */
251
+
252
+ ol[class="alphabet"] {
253
+ counter-reset: alphabet;
254
+ }
255
+ ol[class="arabic"] {
256
+ counter-reset: arabic;
257
+ }
258
+ ol[class="roman"] {
259
+ counter-reset: roman;
260
+ }
261
+ ol[class="alphabet_upper"] {
262
+ counter-reset: alphabet_upper;
263
+ }
264
+ ol[class="roman_upper"] {
265
+ counter-reset: roman_upper;
266
+ }
267
+ ol[class="alphabet"] ol[class="alphabet"] {
268
+ counter-reset: alphabet2;
269
+ }
270
+ ol[class="arabic"] ol[class="arabic"] {
271
+ counter-reset: arabic2;
272
+ }
273
+ ol[class="roman"] ol[class="roman"] {
274
+ counter-reset: roman2;
275
+ }
276
+ ol[class="alphabet_upper"] ol[class="alphabet_upper"] {
277
+ counter-reset: alphabet_upper2;
278
+ }
279
+ ol[class="roman_upper"] ol[class="roman_upper"] {
280
+ counter-reset: roman_upper2;
281
+ }
282
+ ol {
283
+ counter-reset: alphabet;
284
+ }
285
+
286
+ ol > li {
287
+ list-style: none;
288
+ position: relative;
289
+ }
290
+ ol > li::before {
291
+ position: absolute;
292
+ left: -1.4em;
293
+ }
294
+ ol[class="roman"] > li::before {
295
+ left: -2.0em;
296
+ }
297
+ ol[class="roman_upper"] > li::before {
298
+ left: -2.3em;
299
+ }
300
+ ol[class="alphabet"] > li::before {
301
+ counter-increment: alphabet;
302
+ content: counter(alphabet, lower-alpha)") "
303
+ }
304
+ ol[class="arabic"] > li::before {
305
+ counter-increment: arabic;
306
+ content: counter(arabic, decimal)") "
307
+ }
308
+ ol[class="roman"] > li::before {
309
+ counter-increment: roman;
310
+ content: counter(roman, lower-roman)") "
311
+ }
312
+ ol[class="alphabet_upper"] > li::before {
313
+ counter-increment: alphabet_upper;
314
+ content: counter(alphabet_upper, upper-alpha)") "
315
+ }
316
+ ol[class="roman_upper"] > li::before {
317
+ counter-increment: roman_upper;
318
+ content: counter(roman_upper, upper-roman)") "
319
+ }
320
+ ol > li::before {
321
+ counter-increment: alphabet;
322
+ content: counter(alphabet, lower-alpha)") "
323
+ }
324
+ ol[class="alphabet"] ol[class="alphabet"] > li::before {
325
+ counter-increment: alphabet2;
326
+ content: counter(alphabet2, lower-alpha)") "
327
+ }
328
+ ol[class="arabic"] ol[class="arabic"] > li::before {
329
+ counter-increment: arabic2;
330
+ content: counter(arabic2, decimal)") "
331
+ }
332
+ ol[class="roman"] ol[class="roman"] > li::before {
333
+ counter-increment: roman2;
334
+ content: counter(roman2, lower-roman)") "
335
+ }
336
+ ol[class="alphabet_upper"] ol[class="alphabet_upper"] > li::before {
337
+ counter-increment: alphabet_upper2;
338
+ content: counter(alphabet_upper2, upper-alpha)") "
339
+ }
340
+ ol[class="roman_upper"] ol[class="roman_upper"] > li::before {
341
+ counter-increment: roman_upper2;
342
+ content: counter(roman_upper2, upper-roman)") "
343
+ }
344
+
345
+
250
346
  p.AltTerms {
251
347
  margin-bottom: 0;
252
348
  margin-left: 2em;
@@ -49,6 +49,50 @@ span.IEEEStdsParagraphChar {
49
49
  mso-bidi-language: AR-SA;
50
50
  }
51
51
 
52
+ /* From published doc */
53
+ p.IEEEStdsDesignation, li.IEEEStdsDesignation, div.IEEEStdsDesignation {
54
+ mso-style-name: "IEEEStds Designation";
55
+ mso-style-unhide: no;
56
+ /* mso-style-parent:Base_Text; */ /* Not defined in the draft template */
57
+ mso-style-parent: "IEEEStds Sans-Serif";
58
+ mso-style-next: "IEEEStds Related Article";
59
+ margin: 0cm;
60
+ text-align: right;
61
+ line-height: normal;
62
+ mso-pagination: widow-orphan;
63
+ font-size: 11pt;
64
+ mso-bidi-font-size: 10pt;
65
+ font-family: "Arial", sans-serif;
66
+ mso-fareast-font-family: "Times New Roman";
67
+ mso-bidi-font-family: "Times New Roman";
68
+ mso-ansi-language: EN-US;
69
+ mso-fareast-language: JA;
70
+ font-weight: bold;
71
+ mso-bidi-font-weight: normal;
72
+ }
73
+
74
+ p.IEEEStdsRelatedArticle, li.IEEEStdsRelatedArticle, div.IEEEStdsRelatedArticle {
75
+ mso-style-name: "IEEEStds Related Article";
76
+ mso-style-unhide: no;
77
+ /* mso-style-parent:Base_Text; */ /* Not defined in the draft template */
78
+ mso-style-parent: "IEEEStds Sans-Serif";
79
+ margin-top: 0cm;
80
+ margin-right: 0cm;
81
+ margin-bottom: 12pt;
82
+ margin-left: 0cm;
83
+ mso-add-space: auto;
84
+ text-align: right;
85
+ line-height: normal;
86
+ mso-pagination: widow-orphan;
87
+ font-size: 9pt;
88
+ mso-bidi-font-size: 10pt;
89
+ font-family: "Arial", sans-serif;
90
+ mso-fareast-font-family: "Times New Roman";
91
+ mso-bidi-font-family: "Times New Roman";
92
+ mso-ansi-language: EN-US;
93
+ mso-fareast-language: JA;
94
+ }
95
+
52
96
  p.IEEEStdsTitle, li.IEEEStdsTitle, div.IEEEStdsTitle {
53
97
  mso-style-name: "IEEEStds Title";
54
98
  mso-style-unhide: no;
@@ -2756,9 +2800,10 @@ p.draftwarningHdr {
2756
2800
  mso-footer-margin: 36pt;
2757
2801
  mso-line-numbers-count-by: 1;
2758
2802
  mso-page-numbers: roman-lower;
2803
+ {% if unpublished %}{%else %}mso-title-page:yes;{%endif%}
2759
2804
  mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1;
2760
2805
  mso-even-footer: url("file:///C:/Doc/FILENAME_files/header.html") ef1;
2761
- mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1;
2806
+ /*mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;*/
2762
2807
  mso-paper-source: 0;
2763
2808
  }
2764
2809
  div.WordSection1 {
@@ -43,6 +43,46 @@ span.IEEEStdsParagraphChar
43
43
  mso-ansi-language:EN-US;
44
44
  mso-fareast-language:JA;
45
45
  mso-bidi-language:AR-SA;}
46
+ /* From published doc */
47
+ p.IEEEStdsDesignation, li.IEEEStdsDesignation, div.IEEEStdsDesignation
48
+ {mso-style-name:"IEEEStds Designation";
49
+ mso-style-unhide:no;
50
+ /* mso-style-parent:Base_Text; */ /* Not defined in the draft template */
51
+ mso-style-parent:"IEEEStds Sans-Serif";
52
+ mso-style-next:"IEEEStds Related Article";
53
+ margin:0cm;
54
+ text-align:right;
55
+ line-height:normal;
56
+ mso-pagination:widow-orphan;
57
+ font-size:11.0pt;
58
+ mso-bidi-font-size:10.0pt;
59
+ font-family:"Arial",sans-serif;
60
+ mso-fareast-font-family:"Times New Roman";
61
+ mso-bidi-font-family:"Times New Roman";
62
+ mso-ansi-language:EN-US;
63
+ mso-fareast-language:JA;
64
+ font-weight:bold;
65
+ mso-bidi-font-weight:normal;}
66
+ p.IEEEStdsRelatedArticle, li.IEEEStdsRelatedArticle, div.IEEEStdsRelatedArticle
67
+ {mso-style-name:"IEEEStds Related Article";
68
+ mso-style-unhide:no;
69
+ /* mso-style-parent:Base_Text; */ /* Not defined in the draft template */
70
+ mso-style-parent:"IEEEStds Sans-Serif";
71
+ margin-top:0cm;
72
+ margin-right:0cm;
73
+ margin-bottom:12.0pt;
74
+ margin-left:0cm;
75
+ mso-add-space:auto;
76
+ text-align:right;
77
+ line-height:normal;
78
+ mso-pagination:widow-orphan;
79
+ font-size:9.0pt;
80
+ mso-bidi-font-size:10.0pt;
81
+ font-family:"Arial",sans-serif;
82
+ mso-fareast-font-family:"Times New Roman";
83
+ mso-bidi-font-family:"Times New Roman";
84
+ mso-ansi-language:EN-US;
85
+ mso-fareast-language:JA;}
46
86
  p.IEEEStdsTitle, li.IEEEStdsTitle, div.IEEEStdsTitle
47
87
  {mso-style-name:"IEEEStds Title";
48
88
  mso-style-unhide:no;
@@ -2498,9 +2538,10 @@ font-weight:bold;
2498
2538
  mso-footer-margin:36.0pt;
2499
2539
  mso-line-numbers-count-by:1;
2500
2540
  mso-page-numbers:roman-lower;
2541
+ {% if unpublished %}{%else %}mso-title-page:yes;{%endif%}
2501
2542
  mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
2502
2543
  mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;
2503
- mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;
2544
+ /*mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;*/
2504
2545
  mso-paper-source:0;}
2505
2546
  div.WordSection1
2506
2547
  {page:WordSection1;
@@ -1,4 +1,5 @@
1
- <p class="IEEEStdsTitle" style='margin-top:50.0pt;margin-right:0cm;margin-bottom:36.0pt;margin-left:0cm'><span lang="EN-US">P{{ docnumeric }}{% if draft %}/D{{ draft }}{% endif %}</span><br/>
1
+ {% if unpublished %}{%else%}<p class="IEEEStdsDesignation">IEEE Std-{{docnumeric}}™-{{docyear}}</p>{%endif%}
2
+ <p class="IEEEStdsTitle" style='margin-top:50.0pt;margin-right:0cm;margin-bottom:36.0pt;margin-left:0cm'>{% if unpublished %}<span lang="EN-US">P{{ docnumeric }}™{% if draft %}/D{{ draft }}{% endif %}</span><br/>{% else %}IEEE{% endif %}
2
3
  <span lang="EN-US">{{ full_doctitle }}</span>
3
4
  {% if amd or corr %}
4
5
  <br/>{% if amd %}Amendment {{ amd }}{% endif %}{% if amd and corr %} {% endif %}{% if corr %}Corrigenda {{ corr }}{% endif %}
@@ -19,12 +20,17 @@
19
20
 
20
21
  <p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p>&#xa0;</o:p></span></p>
21
22
 
22
- <p class="IEEEStdsTitleParaSans"><span lang="EN-US">Approved {{ issueddate }}</span></p>
23
+ <p class="IEEEStdsTitleParaSans"><span lang="EN-US">Approved {% if ieee_sasb_approveddate %}{{ ieee_sasb_approveddate }}{% else %}{{ issueddate }}{% endif %}</span></p>
23
24
 
24
25
  <p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p>&#xa0;</o:p></span></p>
25
26
 
26
27
  <p class="IEEEStdsTitleParaSansBold"><span lang="EN-US">IEEE SA Standards Board</span></p>
27
28
 
29
+ {% if coverpage_statement %}
30
+ <p class="IEEEStdsTitleParaSans"><span lang="EN-US"><o:p>&#xa0;</o:p></span></p>
31
+ <p class="IEEEStdsTitleParaSans">{{ coverpage_statement }}</p>
32
+ {% endif %}
33
+
28
34
 
29
35
  {% if trial_use %}
30
36
  <div>
@@ -35,5 +41,7 @@
35
41
 
36
42
  <p class="IEEEStdsCopyrightaddrs"><span lang="EN-US"><o:p>&#xa0;</o:p></span></p>
37
43
 
44
+ {% if unpublished %}
38
45
  <div id="boilerplate-copyright-destination"/>
39
46
  <div id="boilerplate-license-destination"/>
47
+ {% endif %}
@@ -820,6 +820,52 @@ p.MsoCaption, li.MsoCaption, div.MsoCaption {
820
820
  mso-bidi-font-weight: normal;
821
821
  }
822
822
 
823
+ /* Added to differentiate annex figures and tables in ToC */
824
+ p.TableCaption {
825
+ mso-style-name: "TableCaption";
826
+ mso-style-unhide: no;
827
+ mso-style-qformat: yes;
828
+ mso-style-parent: "MsoCaption";
829
+ mso-style-next: "IEEEStds Paragraph";
830
+ margin-top: 6pt;
831
+ margin-right: 0cm;
832
+ margin-bottom: 6pt;
833
+ margin-left: 0cm;
834
+ text-align: center;
835
+ mso-pagination: widow-orphan lines-together;
836
+ mso-hyphenate: none;
837
+ font-size: {{smallerfontsize}};
838
+ font-family: {{headerfont}};
839
+ mso-fareast-font-family: "Times New Roman";
840
+ mso-bidi-font-family: "Times New Roman";
841
+ mso-ansi-language: EN-US;
842
+ mso-fareast-language: JA;
843
+ font-weight: bold;
844
+ mso-bidi-font-weight: normal;
845
+ }
846
+
847
+ p.FigureCaption {
848
+ mso-style-name: "FigureCaption";
849
+ mso-style-qformat: yes;
850
+ mso-style-parent: "MsoCaption";
851
+ mso-style-next: "IEEEStds Paragraph";
852
+ margin-top: 6pt;
853
+ margin-right: 0cm;
854
+ margin-bottom: 6pt;
855
+ margin-left: 0cm;
856
+ text-align: center;
857
+ mso-pagination: widow-orphan lines-together;
858
+ mso-hyphenate: none;
859
+ font-size: {{smallerfontsize}};
860
+ font-family: {{headerfont}};
861
+ mso-fareast-font-family: "Times New Roman";
862
+ mso-bidi-font-family: "Times New Roman";
863
+ mso-ansi-language: EN-US;
864
+ mso-fareast-language: JA;
865
+ font-weight: bold;
866
+ mso-bidi-font-weight: normal;
867
+ }
868
+
823
869
  p.MsoTof, li.MsoTof, div.MsoTof {
824
870
  mso-style-unhide: no;
825
871
  mso-style-next: Normal;
@@ -4202,6 +4248,7 @@ span.SpellE {
4202
4248
  mso-level-style-link: "IEEEStds Regular Table Caption";
4203
4249
  mso-level-text: "Table %1";
4204
4250
  mso-level-tab-stop: 54pt;
4251
+ mso-level-suffix: none; /* Added by Metanorma */
4205
4252
  mso-level-number-position: center;
4206
4253
  margin-left: 0cm;
4207
4254
  text-indent: 0cm;
@@ -4980,6 +5027,7 @@ span.SpellE {
4980
5027
  mso-level-style-link: "IEEEStds Regular Figure Caption";
4981
5028
  mso-level-text: "Figure %1";
4982
5029
  mso-level-tab-stop: 50.4pt;
5030
+ mso-level-suffix: none; /* Added by Metanorma */
4983
5031
  mso-level-number-position: center;
4984
5032
  margin-left: 0cm;
4985
5033
  text-indent: 14.4pt;