metanorma-itu 1.4.4 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +4 -32
  3. data/.gitignore +3 -0
  4. data/bin/console +1 -1
  5. data/lib/isodoc/itu/base_convert.rb +1 -0
  6. data/lib/isodoc/itu/html/_coverpage.css +9 -0
  7. data/lib/isodoc/itu/html/htmlstyle.css +55 -32
  8. data/lib/isodoc/itu/html/htmlstyle.scss +15 -8
  9. data/lib/isodoc/itu/html/wordstyle.css +30 -18
  10. data/lib/isodoc/itu/html/wordstyle.scss +30 -18
  11. data/lib/isodoc/itu/itu.implementers-guide.xsl +1609 -1288
  12. data/lib/isodoc/itu/itu.in-force.xsl +1609 -1288
  13. data/lib/isodoc/itu/itu.recommendation-annex.xsl +1609 -1288
  14. data/lib/isodoc/itu/itu.recommendation-supplement.xsl +1609 -1288
  15. data/lib/isodoc/itu/itu.recommendation.xsl +1609 -1288
  16. data/lib/isodoc/itu/itu.resolution.xsl +1609 -1288
  17. data/lib/isodoc/itu/itu.service-publication.xsl +1609 -1288
  18. data/lib/isodoc/itu/itu.technical-paper.xsl +1609 -1288
  19. data/lib/isodoc/itu/itu.technical-report.xsl +1609 -1288
  20. data/lib/isodoc/itu/ref.rb +2 -2
  21. data/lib/{asciidoctor → metanorma}/itu/basicdoc.rng +0 -0
  22. data/lib/{asciidoctor → metanorma}/itu/biblio.rng +2 -2
  23. data/lib/{asciidoctor → metanorma}/itu/boilerplate.xml +0 -0
  24. data/lib/{asciidoctor → metanorma}/itu/cleanup.rb +1 -1
  25. data/lib/{asciidoctor → metanorma}/itu/converter.rb +2 -2
  26. data/lib/{asciidoctor → metanorma}/itu/front.rb +2 -2
  27. data/lib/{asciidoctor → metanorma}/itu/front_id.rb +1 -1
  28. data/lib/{asciidoctor → metanorma}/itu/isodoc.rng +104 -3
  29. data/lib/{asciidoctor → metanorma}/itu/itu.rng +1 -0
  30. data/lib/{asciidoctor → metanorma}/itu/reqt.rng +0 -0
  31. data/lib/{asciidoctor → metanorma}/itu/validate.rb +1 -1
  32. data/lib/metanorma/itu/version.rb +1 -1
  33. data/lib/metanorma/itu.rb +1 -0
  34. data/lib/metanorma-itu.rb +0 -1
  35. data/metanorma-itu.gemspec +1 -1
  36. metadata +15 -16
  37. data/lib/asciidoctor/itu.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fb429391263ff996d975c4530caafb770cdd27c641e5afd565021d503c82b00
4
- data.tar.gz: 81c88468270f3a6b9e3febb646c459da0239c232780408f39104981af1bf619c
3
+ metadata.gz: cd57e65f54ccc2138a033cb14abf472c262f5bde37af348631662837a9aef35a
4
+ data.tar.gz: f91f235725b3aec2e86d1c1423bb6f953389f615d68df5bcfd0fdd96a31bec0b
5
5
  SHA512:
6
- metadata.gz: db67afa2f11981ca3c74a52eb2fcbc06de76b6aa8583c280bc2be6e1248ca132ed59e83a6f700d4eb1f6b55459666d9513c21494bb56fed53a6bad07f48a3de2
7
- data.tar.gz: bd640b4db3d5f369b534b78d12f8c129637006e6e6e57ff201eff54814cc7e03bd3bcb5d483f70c06e8c5c1aff30cb31dbeb957c735bd8b561efedf40d6fadad
6
+ metadata.gz: 612bdfa49500614196427dc486276875d7a57a1b71f34336e4adb539112c69fd76a5f144f9779c42998d774453164e503cce964abc3e0aae94a8741a88e2b3be
7
+ data.tar.gz: d3bf336b2dfcb96fe1c866bc2c1e1042e9f02790c4a30c9affa007e738d1cfa3b283b927a2f0de796399b1a23dafdb67e1c7258781f2bebdd644a8e9136d2b22
@@ -9,35 +9,7 @@ on:
9
9
  pull_request:
10
10
 
11
11
  jobs:
12
- rake:
13
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
- runs-on: ${{ matrix.os }}
15
- continue-on-error: ${{ matrix.experimental }}
16
- strategy:
17
- fail-fast: false
18
- matrix:
19
- ruby: [ '3.0', '2.7', '2.6', '2.5' ]
20
- os: [ ubuntu-latest, windows-latest, macos-latest ]
21
- experimental: [ false ]
22
- steps:
23
- - uses: actions/checkout@v2
24
- with:
25
- submodules: true
26
-
27
- - uses: ruby/setup-ruby@v1
28
- with:
29
- ruby-version: ${{ matrix.ruby }}
30
- bundler-cache: true
31
-
32
- - run: bundle exec rake
33
-
34
- tests-passed:
35
- needs: rake
36
- runs-on: ubuntu-latest
37
- steps:
38
- - uses: peter-evans/repository-dispatch@v1
39
- with:
40
- token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
41
- repository: ${{ github.repository }}
42
- event-type: tests-passed
43
- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
12
+ notify:
13
+ uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.gitignore CHANGED
@@ -4,3 +4,6 @@
4
4
  coverage/
5
5
 
6
6
  .rubocop-https--*
7
+
8
+ /Gemfile.devel
9
+ /Gemfile.lock
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "asciidoctor/csand"
4
+ require "metanorma/itu"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -53,6 +53,7 @@ module IsoDoc
53
53
  end
54
54
 
55
55
  def annex_name(annex, name, div)
56
+ preceding_floating_titles(name, div)
56
57
  r_a = @meta.get[:doctype_original] == "recommendation-annex"
57
58
  div.h1 **{ class: r_a ? "RecommendationAnnex" : "Annex" } do |t|
58
59
  name&.children&.each { |c2| parse(c2, t) }
@@ -68,6 +68,12 @@ code *, pre *, tt *, kbd *, samp * {
68
68
  font-family: {{monospacefont}} !important;
69
69
  font-variant-ligatures: none; }
70
70
 
71
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
72
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
73
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
74
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
75
+ font-size: {{monospacefontsize}}; }
76
+
71
77
  article, aside, details, figcaption, figure,
72
78
  footer, header, hgroup, menu, nav, section {
73
79
  display: block; }
@@ -79,6 +85,9 @@ table {
79
85
  h1, h2, h3, h4, h5, h6 {
80
86
  font-family: {{headerfont}}; }
81
87
 
88
+ .h1, .h2, .h3, .h4, .h5, .h6 {
89
+ font-family: {{headerfont}}; }
90
+
82
91
  blockquote, q {
83
92
  quotes: none; }
84
93
  blockquote:before, blockquote:after, q:before, q:after {
@@ -68,6 +68,12 @@ code *, pre *, tt *, kbd *, samp * {
68
68
  font-family: {{monospacefont}} !important;
69
69
  font-variant-ligatures: none; }
70
70
 
71
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
72
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
73
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
74
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
75
+ font-size: {{monospacefontsize}}; }
76
+
71
77
  article, aside, details, figcaption, figure,
72
78
  footer, header, hgroup, menu, nav, section {
73
79
  display: block; }
@@ -79,6 +85,9 @@ table {
79
85
  h1, h2, h3, h4, h5, h6 {
80
86
  font-family: {{headerfont}}; }
81
87
 
88
+ .h1, .h2, .h3, .h4, .h5, .h6 {
89
+ font-family: {{headerfont}}; }
90
+
82
91
  blockquote, q {
83
92
  quotes: none; }
84
93
  blockquote:before, blockquote:after, q:before, q:after {
@@ -305,6 +314,12 @@ code *, pre *, tt *, kbd *, samp * {
305
314
  font-family: {{monospacefont}} !important;
306
315
  font-variant-ligatures: none; }
307
316
 
317
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
318
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
319
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
320
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
321
+ font-size: {{monospacefontsize}}; }
322
+
308
323
  article, aside, details, figcaption, figure,
309
324
  footer, header, hgroup, menu, nav, section {
310
325
  display: block; }
@@ -316,6 +331,9 @@ table {
316
331
  h1, h2, h3, h4, h5, h6 {
317
332
  font-family: {{headerfont}}; }
318
333
 
334
+ .h1, .h2, .h3, .h4, .h5, .h6 {
335
+ font-family: {{headerfont}}; }
336
+
319
337
  blockquote, q {
320
338
  quotes: none; }
321
339
  blockquote:before, blockquote:after, q:before, q:after {
@@ -660,57 +678,62 @@ nav #toc {
660
678
  nav #toc {
661
679
  padding: 0 1.5em;
662
680
  overflow: visible; } }
663
- #toc {
681
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
664
682
  font-family: {{bodyfont}};
665
683
  font-weight: 400; }
666
- #toc ul {
684
+ #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
667
685
  margin: 0;
668
686
  padding: 0;
669
687
  list-style: none; }
670
- #toc ul li a {
688
+ #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
671
689
  padding: 5px 10px; }
672
- #toc ul a {
690
+ #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
673
691
  color: #141115;
674
692
  text-decoration: none;
675
693
  display: block; }
676
- #toc ul a:hover {
694
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
677
695
  box-shadow: none;
678
696
  color: white; }
679
- #toc .h2 {
697
+ #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
680
698
  padding-left: 30px; }
681
- #toc .h3 {
699
+ #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
682
700
  padding-left: 50px; }
683
- #toc .toc-active, #toc li:hover {
701
+ #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
684
702
  background: #da1d52;
685
703
  box-shadow: inset -5px 0px 10px -5px #da1d52 !important; }
686
- #toc .toc-active a, #toc li:hover a {
704
+ #toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
687
705
  color: white; }
688
706
  @media print {
689
- #toc .toc-active, #toc li:hover {
707
+ #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
690
708
  background: white;
691
709
  box-shadow: none !important; }
692
- #toc .toc-active a {
710
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
693
711
  color: #141115; }
694
- #toc li:hover a {
712
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
695
713
  color: black; } }
696
- #toc .h1 {
714
+ #toc .h1, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h1 {
697
715
  text-transform: uppercase; }
698
- #toc li a {
716
+ #toc li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
699
717
  font-size: {{normalfontsize}}; }
700
- #toc li:hover a {
718
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
701
719
  background: none;
702
720
  box-shadow: none; }
703
- #toc li:before {
721
+ #toc li:before, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
704
722
  content: " ";
705
723
  display: none; }
706
724
  @media print {
707
- #toc .toc-active a {
725
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
708
726
  color: #4D7EA5; }
709
- #toc .toc-active, #toc li:hover {
727
+ #toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
710
728
  background: white;
711
729
  box-shadow: none !important; }
712
- #toc li:hover a {
730
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
713
731
  color: black; } }
732
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
733
+ margin-top: 0;
734
+ margin-bottom: 0;
735
+ font-size: 100%; }
736
+
714
737
  #toc-list ul {
715
738
  margin-bottom: 0.25em; }
716
739
 
@@ -771,7 +794,7 @@ nav #toc {
771
794
  @media screen and (min-width: 768px) {
772
795
  h1.toc-contents {
773
796
  margin-top: 1em; }
774
- ul#toc-list {
797
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
775
798
  padding: 0;
776
799
  margin: 0; } }
777
800
 
@@ -907,27 +930,27 @@ svg {
907
930
  font-style: italic; }
908
931
 
909
932
  /* Headings */
910
- h1, h2, h3, h4, h5, h6, .h1Annex {
933
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
911
934
  font-weight: 400;
912
935
  margin-top: 1.6em;
913
936
  margin-bottom: 0.3em; }
914
937
 
915
938
  @media print {
916
- h1, h2, h3, h4, .h1Annex {
939
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
917
940
  page-break-after: avoid;
918
941
  margin-top: 1.2em; } }
919
942
 
920
- h1, .h1Annex {
943
+ h1, .h1Annex, p.h1 {
921
944
  font-size: 1.4em;
922
945
  text-transform: uppercase;
923
946
  margin-top: 2em; }
924
- h1#content, #content.h1Annex {
947
+ h1#content, #content.h1Annex, p#content.h1 {
925
948
  margin-top: 2em; }
926
949
  @media print {
927
- h1, .h1Annex {
950
+ h1, .h1Annex, p.h1 {
928
951
  font-size: 1.5em;
929
952
  line-height: 1.5; }
930
- h1.content, .h1Annex.content {
953
+ h1.content, .h1Annex.content, p.h1.content {
931
954
  margin-top: 2em;
932
955
  line-height: 2.5em; } }
933
956
  p.supertitle {
@@ -941,21 +964,21 @@ p.supertitle {
941
964
  p.supertitle.content {
942
965
  margin-top: 2em;
943
966
  line-height: 2.5em; } }
944
- h2 {
967
+ h2, .h2 {
945
968
  margin-top: 1.7em;
946
969
  font-size: 1.5em; }
947
- h2 p {
970
+ h2 p, .h2 p {
948
971
  display: inline; }
949
972
  @media print {
950
- h2 {
973
+ h2, .h2 {
951
974
  font-size: 1.2em; } }
952
- h3 {
975
+ h3, .h3 {
953
976
  margin-top: 1.5em;
954
977
  font-size: 1.4em; }
955
978
  @media print {
956
- h3 {
979
+ h3, .h3 {
957
980
  font-size: 1em; } }
958
- h4 {
981
+ h4, .h4 {
959
982
  font-size: 1.2em; }
960
983
 
961
984
  /* Terms */
@@ -52,7 +52,7 @@ nav {
52
52
  }
53
53
  }
54
54
 
55
- #toc {
55
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
56
56
  font-family: $bodyfont;
57
57
  font-weight: 400;
58
58
 
@@ -92,6 +92,13 @@ nav {
92
92
  }
93
93
  }
94
94
 
95
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
96
+ margin-top: 0;
97
+ margin-bottom: 0;
98
+ font-size: 100%;
99
+ }
100
+
101
+
95
102
  #toc-list {
96
103
  ul {
97
104
  margin-bottom: 0.25em;
@@ -136,7 +143,7 @@ nav {
136
143
  margin-top: 1em;
137
144
  }
138
145
 
139
- ul#toc-list {
146
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
140
147
  padding: 0;
141
148
  margin: 0;
142
149
  }
@@ -215,20 +222,20 @@ svg {
215
222
 
216
223
  /* Headings */
217
224
 
218
- h1, h2, h3, h4, h5, h6, .h1Annex {
225
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
219
226
  font-weight: 400;
220
227
  margin-top: 1.6em;
221
228
  margin-bottom: 0.3em;
222
229
  }
223
230
 
224
- h1, h2, h3, h4, .h1Annex {
231
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
225
232
  @media print {
226
233
  page-break-after: avoid;
227
234
  margin-top: 1.2em;
228
235
  }
229
236
  }
230
237
 
231
- h1, .h1Annex {
238
+ h1, .h1Annex, p.h1 {
232
239
  font-size: 1.4em;
233
240
  text-transform: uppercase;
234
241
  margin-top: 2em;
@@ -265,7 +272,7 @@ p.supertitle {
265
272
 
266
273
  }
267
274
 
268
- h2 {
275
+ h2, .h2 {
269
276
  margin-top: 1.7em;
270
277
  font-size: 1.5em;
271
278
 
@@ -278,7 +285,7 @@ h2 {
278
285
  }
279
286
  }
280
287
 
281
- h3 {
288
+ h3, .h3 {
282
289
  margin-top: 1.5em;
283
290
  font-size: 1.4em;
284
291
 
@@ -287,7 +294,7 @@ h3 {
287
294
  }
288
295
  }
289
296
 
290
- h4 {
297
+ h4, .h4 {
291
298
  font-size: 1.2em;
292
299
  }
293
300
 
@@ -462,7 +462,7 @@ div.pseudocode, p.pseudocode, li.pseudocode {
462
462
  text-align: left;
463
463
  font-size: 10pt; }
464
464
 
465
- h1 {
465
+ h1, .h1 {
466
466
  mso-style-priority: 1;
467
467
  mso-style-unhide: no;
468
468
  mso-style-qformat: yes;
@@ -477,14 +477,12 @@ h1 {
477
477
  text-indent: -39.7pt;
478
478
  mso-pagination: widow-orphan lines-together;
479
479
  page-break-after: avoid;
480
- mso-outline-level: 1;
481
480
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
482
481
  mso-layout-grid-align: none;
483
482
  punctuation-wrap: simple;
484
483
  text-autospace: none;
485
484
  font-size: {{normalfontsize}};
486
485
  mso-bidi-font-size: 10.0pt;
487
- mso-list: l1 level1 lfo6;
488
486
  mso-hyphenate: none;
489
487
  font-family: {{headerfont}};
490
488
  mso-fareast-font-family: {{headerfont}};
@@ -498,6 +496,10 @@ h1 {
498
496
  mso-fareast-language: JA;
499
497
  mso-bidi-font-weight: normal; }
500
498
 
499
+ h1 {
500
+ mso-outline-level: 1;
501
+ mso-list: l1 level1 lfo6; }
502
+
501
503
  p.supertitle {
502
504
  mso-style-priority: 1;
503
505
  mso-style-unhide: no;
@@ -648,7 +650,7 @@ h1.Annex {
648
650
  mso-fareast-language: JA;
649
651
  mso-bidi-font-weight: normal; }
650
652
 
651
- h2 {
653
+ h2, .h2 {
652
654
  mso-style-priority: 2;
653
655
  mso-style-unhide: no;
654
656
  mso-style-qformat: yes;
@@ -664,8 +666,6 @@ h2 {
664
666
  text-indent: -39.7pt;
665
667
  mso-pagination: widow-orphan lines-together;
666
668
  page-break-after: avoid;
667
- mso-outline-level: 2;
668
- mso-list: l1 level2 lfo6;
669
669
  mso-hyphenate: none;
670
670
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
671
671
  punctuation-wrap: simple;
@@ -680,7 +680,11 @@ h2 {
680
680
  mso-fareast-language: JA;
681
681
  mso-bidi-font-weight: normal; }
682
682
 
683
- h3 {
683
+ h2 {
684
+ mso-outline-level: 2;
685
+ mso-list: l1 level2 lfo6; }
686
+
687
+ h3, .h3 {
684
688
  mso-style-priority: 3;
685
689
  mso-style-unhide: no;
686
690
  mso-style-qformat: yes;
@@ -696,8 +700,6 @@ h3 {
696
700
  text-indent: -39.7pt;
697
701
  mso-pagination: widow-orphan lines-together;
698
702
  page-break-after: avoid;
699
- mso-outline-level: 3;
700
- mso-list: l1 level3 lfo6;
701
703
  mso-hyphenate: none;
702
704
  tab-stops: 39.7pt 59.55pt 79.4pt 99.25pt;
703
705
  font-size: {{normalfontsize}};
@@ -710,7 +712,11 @@ h3 {
710
712
  mso-fareast-language: JA;
711
713
  mso-bidi-font-weight: normal; }
712
714
 
713
- h4 {
715
+ h3 {
716
+ mso-outline-level: 3;
717
+ mso-list: l1 level3 lfo6; }
718
+
719
+ h4, .h4 {
714
720
  mso-style-priority: 4;
715
721
  mso-style-unhide: no;
716
722
  mso-style-qformat: yes;
@@ -726,8 +732,6 @@ h4 {
726
732
  text-indent: -51.05pt;
727
733
  mso-pagination: widow-orphan lines-together;
728
734
  page-break-after: avoid;
729
- mso-outline-level: 4;
730
- mso-list: l1 level4 lfo6;
731
735
  mso-hyphenate: none;
732
736
  tab-stops: 51.05pt 59.55pt 79.4pt 99.25pt;
733
737
  mso-layout-grid-align: none;
@@ -743,7 +747,11 @@ h4 {
743
747
  mso-fareast-language: JA;
744
748
  mso-bidi-font-weight: normal; }
745
749
 
746
- h5 {
750
+ h4 {
751
+ mso-outline-level: 4;
752
+ mso-list: l1 level4 lfo6; }
753
+
754
+ h5, .h5 {
747
755
  mso-style-priority: 5;
748
756
  mso-style-unhide: no;
749
757
  mso-style-qformat: yes;
@@ -759,8 +767,6 @@ h5 {
759
767
  text-indent: -51.05pt;
760
768
  mso-pagination: widow-orphan lines-together;
761
769
  page-break-after: avoid;
762
- mso-outline-level: 5;
763
- mso-list: l1 level5 lfo6;
764
770
  mso-hyphenate: none;
765
771
  tab-stops: 51.05pt 59.55pt 79.4pt 99.25pt;
766
772
  mso-layout-grid-align: none;
@@ -776,7 +782,11 @@ h5 {
776
782
  mso-fareast-language: JA;
777
783
  mso-bidi-font-weight: normal; }
778
784
 
779
- h6 {
785
+ h5 {
786
+ mso-outline-level: 5;
787
+ mso-list: l1 level5 lfo6; }
788
+
789
+ h6, .h6 {
780
790
  mso-style-priority: 6;
781
791
  mso-style-unhide: no;
782
792
  mso-style-qformat: yes;
@@ -792,14 +802,12 @@ h6 {
792
802
  text-indent: -79.4pt;
793
803
  mso-pagination: widow-orphan lines-together;
794
804
  page-break-after: avoid;
795
- mso-outline-level: 6;
796
805
  tab-stops: 79.4pt 99.25pt;
797
806
  mso-layout-grid-align: none;
798
807
  punctuation-wrap: simple;
799
808
  text-autospace: none;
800
809
  font-size: {{normalfontsize}};
801
810
  mso-bidi-font-size: 10.0pt;
802
- mso-list: l1 level6 lfo6;
803
811
  mso-hyphenate: none;
804
812
  font-family: {{headerfont}};
805
813
  color: black;
@@ -809,6 +817,10 @@ h6 {
809
817
  mso-fareast-language: JA;
810
818
  mso-bidi-font-weight: normal; }
811
819
 
820
+ h6 {
821
+ mso-outline-level: 6;
822
+ mso-list: l1 level6 lfo6; }
823
+
812
824
  p.MsoHeading7, li.MsoHeading7, div.MsoHeading7 {
813
825
  mso-style-unhide: no;
814
826
  mso-style-qformat: yes;
@@ -430,7 +430,7 @@ div.pseudocode, p.pseudocode, li.pseudocode
430
430
  font-size:10pt;}
431
431
 
432
432
 
433
- h1
433
+ h1, .h1
434
434
  {mso-style-priority:1;
435
435
  mso-style-unhide:no;
436
436
  mso-style-qformat:yes;
@@ -445,14 +445,12 @@ h1
445
445
  text-indent:-39.7pt;
446
446
  mso-pagination:widow-orphan lines-together;
447
447
  page-break-after:avoid;
448
- mso-outline-level:1;
449
448
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
450
449
  mso-layout-grid-align:none;
451
450
  punctuation-wrap:simple;
452
451
  text-autospace:none;
453
452
  font-size:$normalfontsize;
454
453
  mso-bidi-font-size:10.0pt;
455
- mso-list:l1 level1 lfo6;
456
454
  mso-hyphenate:none;
457
455
  font-family:$headerfont;
458
456
  mso-fareast-font-family:$headerfont;
@@ -465,6 +463,10 @@ h1
465
463
  mso-ansi-language:EN-GB;
466
464
  mso-fareast-language:JA;
467
465
  mso-bidi-font-weight:normal;}
466
+ h1 {
467
+ mso-outline-level:1;
468
+ mso-list:l1 level1 lfo6;
469
+ }
468
470
  p.supertitle
469
471
  {mso-style-priority:1;
470
472
  mso-style-unhide:no;
@@ -612,7 +614,7 @@ h1.Annex {
612
614
  mso-ansi-language:EN-GB;
613
615
  mso-fareast-language:JA;
614
616
  mso-bidi-font-weight:normal;}
615
- h2
617
+ h2, .h2
616
618
  {mso-style-priority:2;
617
619
  mso-style-unhide:no;
618
620
  mso-style-qformat:yes;
@@ -628,8 +630,6 @@ h2
628
630
  text-indent:-39.7pt;
629
631
  mso-pagination:widow-orphan lines-together;
630
632
  page-break-after:avoid;
631
- mso-outline-level:2;
632
- mso-list:l1 level2 lfo6;
633
633
  mso-hyphenate:none;
634
634
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
635
635
  punctuation-wrap:simple;
@@ -643,7 +643,11 @@ h2
643
643
  mso-ansi-language:EN-GB;
644
644
  mso-fareast-language:JA;
645
645
  mso-bidi-font-weight:normal;}
646
- h3
646
+ h2 {
647
+ mso-outline-level:2;
648
+ mso-list:l1 level2 lfo6;
649
+ }
650
+ h3, .h3
647
651
  {mso-style-priority:3;
648
652
  mso-style-unhide:no;
649
653
  mso-style-qformat:yes;
@@ -659,8 +663,6 @@ h3
659
663
  text-indent:-39.7pt;
660
664
  mso-pagination:widow-orphan lines-together;
661
665
  page-break-after:avoid;
662
- mso-outline-level:3;
663
- mso-list:l1 level3 lfo6;
664
666
  mso-hyphenate:none;
665
667
  tab-stops:39.7pt 59.55pt 79.4pt 99.25pt;
666
668
  font-size:$normalfontsize;
@@ -672,7 +674,11 @@ h3
672
674
  mso-ansi-language:EN-GB;
673
675
  mso-fareast-language:JA;
674
676
  mso-bidi-font-weight:normal;}
675
- h4
677
+ h3 {
678
+ mso-outline-level:3;
679
+ mso-list:l1 level3 lfo6;
680
+ }
681
+ h4, .h4
676
682
  {mso-style-priority:4;
677
683
  mso-style-unhide:no;
678
684
  mso-style-qformat:yes;
@@ -688,8 +694,6 @@ h4
688
694
  text-indent:-51.05pt;
689
695
  mso-pagination:widow-orphan lines-together;
690
696
  page-break-after:avoid;
691
- mso-outline-level:4;
692
- mso-list:l1 level4 lfo6;
693
697
  mso-hyphenate:none;
694
698
  tab-stops:51.05pt 59.55pt 79.4pt 99.25pt;
695
699
  mso-layout-grid-align:none;
@@ -704,7 +708,11 @@ h4
704
708
  mso-ansi-language:EN-GB;
705
709
  mso-fareast-language:JA;
706
710
  mso-bidi-font-weight:normal;}
707
- h5
711
+ h4 {
712
+ mso-outline-level:4;
713
+ mso-list:l1 level4 lfo6;
714
+ }
715
+ h5, .h5
708
716
  {mso-style-priority:5;
709
717
  mso-style-unhide:no;
710
718
  mso-style-qformat:yes;
@@ -720,8 +728,6 @@ h5
720
728
  text-indent:-51.05pt;
721
729
  mso-pagination:widow-orphan lines-together;
722
730
  page-break-after:avoid;
723
- mso-outline-level:5;
724
- mso-list:l1 level5 lfo6;
725
731
  mso-hyphenate:none;
726
732
  tab-stops:51.05pt 59.55pt 79.4pt 99.25pt;
727
733
  mso-layout-grid-align:none;
@@ -736,7 +742,11 @@ h5
736
742
  mso-ansi-language:EN-GB;
737
743
  mso-fareast-language:JA;
738
744
  mso-bidi-font-weight:normal;}
739
- h6
745
+ h5 {
746
+ mso-outline-level:5;
747
+ mso-list:l1 level5 lfo6;
748
+ }
749
+ h6, .h6
740
750
  {mso-style-priority:6;
741
751
  mso-style-unhide:no;
742
752
  mso-style-qformat:yes;
@@ -752,14 +762,12 @@ h6
752
762
  text-indent:-79.4pt;
753
763
  mso-pagination:widow-orphan lines-together;
754
764
  page-break-after:avoid;
755
- mso-outline-level:6;
756
765
  tab-stops:79.4pt 99.25pt;
757
766
  mso-layout-grid-align:none;
758
767
  punctuation-wrap:simple;
759
768
  text-autospace:none;
760
769
  font-size:$normalfontsize;
761
770
  mso-bidi-font-size:10.0pt;
762
- mso-list:l1 level6 lfo6;
763
771
  mso-hyphenate:none;
764
772
  font-family:$headerfont;
765
773
  color:black;
@@ -768,6 +776,10 @@ h6
768
776
  mso-ansi-language:EN-GB;
769
777
  mso-fareast-language:JA;
770
778
  mso-bidi-font-weight:normal;}
779
+ h6 {
780
+ mso-outline-level:6;
781
+ mso-list:l1 level6 lfo6;
782
+ }
771
783
  p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
772
784
  {mso-style-unhide:no;
773
785
  mso-style-qformat:yes;