metanorma-itu 1.4.3 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) 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 +54 -32
  8. data/lib/isodoc/itu/html/htmlstyle.scss +14 -8
  9. data/lib/isodoc/itu/html/scripts.html +0 -1
  10. data/lib/isodoc/itu/html/wordstyle.css +30 -18
  11. data/lib/isodoc/itu/html/wordstyle.scss +30 -18
  12. data/lib/isodoc/itu/itu.implementers-guide.xsl +1611 -1313
  13. data/lib/isodoc/itu/itu.in-force.xsl +1611 -1313
  14. data/lib/isodoc/itu/itu.recommendation-annex.xsl +1611 -1313
  15. data/lib/isodoc/itu/itu.recommendation-supplement.xsl +1611 -1313
  16. data/lib/isodoc/itu/itu.recommendation.xsl +1611 -1313
  17. data/lib/isodoc/itu/itu.resolution.xsl +1611 -1313
  18. data/lib/isodoc/itu/itu.service-publication.xsl +1611 -1313
  19. data/lib/isodoc/itu/itu.technical-paper.xsl +1611 -1313
  20. data/lib/isodoc/itu/itu.technical-report.xsl +1611 -1313
  21. data/lib/isodoc/itu/ref.rb +2 -2
  22. data/lib/{asciidoctor → metanorma}/itu/basicdoc.rng +0 -0
  23. data/lib/{asciidoctor → metanorma}/itu/biblio.rng +0 -0
  24. data/lib/{asciidoctor → metanorma}/itu/boilerplate.xml +0 -0
  25. data/lib/{asciidoctor → metanorma}/itu/cleanup.rb +1 -1
  26. data/lib/{asciidoctor → metanorma}/itu/converter.rb +3 -3
  27. data/lib/{asciidoctor → metanorma}/itu/front.rb +2 -2
  28. data/lib/{asciidoctor → metanorma}/itu/front_id.rb +1 -1
  29. data/lib/{asciidoctor → metanorma}/itu/isodoc.rng +49 -2
  30. data/lib/{asciidoctor → metanorma}/itu/itu.rng +1 -0
  31. data/lib/{asciidoctor → metanorma}/itu/reqt.rng +0 -0
  32. data/lib/{asciidoctor → metanorma}/itu/validate.rb +1 -1
  33. data/lib/metanorma/itu/version.rb +1 -1
  34. data/lib/metanorma/itu.rb +1 -0
  35. data/lib/metanorma-itu.rb +0 -1
  36. data/metanorma-itu.gemspec +1 -1
  37. metadata +16 -17
  38. data/lib/asciidoctor/itu.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae257da364e6e0e56b29c4da7d8a403812f5fd07ab0e8e5e538e0ff4ddcee57b
4
- data.tar.gz: d20a7c7aa06a781127d74bec94efa03a08cb77e1ab190b6afe31a7401ea3a960
3
+ metadata.gz: 5edf39d184a64b3dea930821b40da7c92071b6a41194d5faac3f8e6f75167528
4
+ data.tar.gz: f0501d3013f6b7f1b4d6b3b0d191084b2a653111d8fb7cdc8ac7821910a0f147
5
5
  SHA512:
6
- metadata.gz: d8b5d6a0cd4300502e68e1527d833d30bd6fef92d5a9bf5d3829d00942e93fdb06bd9bdb64d55e01dcb65f5b982a29c8c8283b52966f9abb7e7f8f3ac57b039c
7
- data.tar.gz: 4d9f70319c6e95b856c3df39f414dfe32b68e5149a6bc1982b95e86aff68bbbbc73a6eec34f0882786b756ef17b8d21a2dbeb403d9882239231ba7b32858151e
6
+ metadata.gz: 1e0fe821463e07e9db98a9d2cf8179135b92dd825999af71f4585ddeaf3370cdd478cf3b7a54b18175f016082bd7f1f95ec455432e73c2f88cdd268ff7c1d9d1
7
+ data.tar.gz: dac3cf8c61853963698b124fc6a909c62b44f08156a5be3bfa750d65ef6aaee411a51584f53c9e6e3abb0d2ecef1ae2bd52201fb6f8b278d10826483c70f19c9
@@ -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,61 @@ 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
+
714
736
  #toc-list ul {
715
737
  margin-bottom: 0.25em; }
716
738
 
@@ -771,7 +793,7 @@ nav #toc {
771
793
  @media screen and (min-width: 768px) {
772
794
  h1.toc-contents {
773
795
  margin-top: 1em; }
774
- ul#toc-list {
796
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
775
797
  padding: 0;
776
798
  margin: 0; } }
777
799
 
@@ -907,27 +929,27 @@ svg {
907
929
  font-style: italic; }
908
930
 
909
931
  /* Headings */
910
- h1, h2, h3, h4, h5, h6, .h1Annex {
932
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
911
933
  font-weight: 400;
912
934
  margin-top: 1.6em;
913
935
  margin-bottom: 0.3em; }
914
936
 
915
937
  @media print {
916
- h1, h2, h3, h4, .h1Annex {
938
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
917
939
  page-break-after: avoid;
918
940
  margin-top: 1.2em; } }
919
941
 
920
- h1, .h1Annex {
942
+ h1, .h1Annex, p.h1 {
921
943
  font-size: 1.4em;
922
944
  text-transform: uppercase;
923
945
  margin-top: 2em; }
924
- h1#content, #content.h1Annex {
946
+ h1#content, #content.h1Annex, p#content.h1 {
925
947
  margin-top: 2em; }
926
948
  @media print {
927
- h1, .h1Annex {
949
+ h1, .h1Annex, p.h1 {
928
950
  font-size: 1.5em;
929
951
  line-height: 1.5; }
930
- h1.content, .h1Annex.content {
952
+ h1.content, .h1Annex.content, p.h1.content {
931
953
  margin-top: 2em;
932
954
  line-height: 2.5em; } }
933
955
  p.supertitle {
@@ -941,21 +963,21 @@ p.supertitle {
941
963
  p.supertitle.content {
942
964
  margin-top: 2em;
943
965
  line-height: 2.5em; } }
944
- h2 {
966
+ h2, .h2 {
945
967
  margin-top: 1.7em;
946
968
  font-size: 1.5em; }
947
- h2 p {
969
+ h2 p, .h2 p {
948
970
  display: inline; }
949
971
  @media print {
950
- h2 {
972
+ h2, .h2 {
951
973
  font-size: 1.2em; } }
952
- h3 {
974
+ h3, .h3 {
953
975
  margin-top: 1.5em;
954
976
  font-size: 1.4em; }
955
977
  @media print {
956
- h3 {
978
+ h3, .h3 {
957
979
  font-size: 1em; } }
958
- h4 {
980
+ h4, .h4 {
959
981
  font-size: 1.2em; }
960
982
 
961
983
  /* 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,12 @@ 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
+ }
99
+
100
+
95
101
  #toc-list {
96
102
  ul {
97
103
  margin-bottom: 0.25em;
@@ -136,7 +142,7 @@ nav {
136
142
  margin-top: 1em;
137
143
  }
138
144
 
139
- ul#toc-list {
145
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
140
146
  padding: 0;
141
147
  margin: 0;
142
148
  }
@@ -215,20 +221,20 @@ svg {
215
221
 
216
222
  /* Headings */
217
223
 
218
- h1, h2, h3, h4, h5, h6, .h1Annex {
224
+ h1, h2, h3, h4, h5, h6, .h1Annex, p.h1, .h2, .h3, .h4, .h5, .h6 {
219
225
  font-weight: 400;
220
226
  margin-top: 1.6em;
221
227
  margin-bottom: 0.3em;
222
228
  }
223
229
 
224
- h1, h2, h3, h4, .h1Annex {
230
+ h1, h2, h3, h4, .h1Annex, p.h1, .h2, .h3, .h4 {
225
231
  @media print {
226
232
  page-break-after: avoid;
227
233
  margin-top: 1.2em;
228
234
  }
229
235
  }
230
236
 
231
- h1, .h1Annex {
237
+ h1, .h1Annex, p.h1 {
232
238
  font-size: 1.4em;
233
239
  text-transform: uppercase;
234
240
  margin-top: 2em;
@@ -265,7 +271,7 @@ p.supertitle {
265
271
 
266
272
  }
267
273
 
268
- h2 {
274
+ h2, .h2 {
269
275
  margin-top: 1.7em;
270
276
  font-size: 1.5em;
271
277
 
@@ -278,7 +284,7 @@ h2 {
278
284
  }
279
285
  }
280
286
 
281
- h3 {
287
+ h3, .h3 {
282
288
  margin-top: 1.5em;
283
289
  font-size: 1.4em;
284
290
 
@@ -287,7 +293,7 @@ h3 {
287
293
  }
288
294
  }
289
295
 
290
- h4 {
296
+ h4, .h4 {
291
297
  font-size: 1.2em;
292
298
  }
293
299
 
@@ -17,7 +17,6 @@ $('#toggle').on('click', function(){
17
17
  else {
18
18
  $('nav').show();
19
19
  $('nav').animate({ 'left': '0px' }, 'slow');
20
- $('.container').animate({ 'padding-left': '360px' }, 'slow');
21
20
  }
22
21
  });
23
22
  </script>
@@ -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;