metanorma-ogc 1.5.3 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +4 -32
  3. data/.gitignore +11 -0
  4. data/Gemfile +1 -0
  5. data/lib/isodoc/ogc/biblio.rb +7 -6
  6. data/lib/isodoc/ogc/html/htmlstyle.css +48 -28
  7. data/lib/isodoc/ogc/html/htmlstyle.scss +18 -11
  8. data/lib/isodoc/ogc/html/scripts.html +0 -1
  9. data/lib/isodoc/ogc/html/wordstyle.css +30 -18
  10. data/lib/isodoc/ogc/html/wordstyle.scss +30 -18
  11. data/lib/isodoc/ogc/html/wordstyle_wp.css +22 -12
  12. data/lib/isodoc/ogc/html/wordstyle_wp.scss +22 -12
  13. data/lib/isodoc/ogc/metadata.rb +1 -0
  14. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +500 -229
  15. data/lib/isodoc/ogc/ogc.best-practice.xsl +500 -229
  16. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +500 -229
  17. data/lib/isodoc/ogc/ogc.community-practice.xsl +500 -229
  18. data/lib/isodoc/ogc/ogc.community-standard.xsl +500 -229
  19. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +500 -229
  20. data/lib/isodoc/ogc/ogc.engineering-report.xsl +500 -229
  21. data/lib/isodoc/ogc/ogc.other.xsl +500 -229
  22. data/lib/isodoc/ogc/ogc.policy.xsl +500 -229
  23. data/lib/isodoc/ogc/ogc.reference-model.xsl +500 -229
  24. data/lib/isodoc/ogc/ogc.release-notes.xsl +500 -229
  25. data/lib/isodoc/ogc/ogc.standard.xsl +500 -229
  26. data/lib/isodoc/ogc/ogc.test-suite.xsl +500 -229
  27. data/lib/isodoc/ogc/ogc.user-guide.xsl +500 -229
  28. data/lib/isodoc/ogc/ogc.white-paper.xsl +467 -215
  29. data/lib/isodoc/ogc/presentation_xml_convert.rb +29 -5
  30. data/lib/isodoc/ogc/reqt.rb +1 -1
  31. data/lib/{asciidoctor → metanorma}/ogc/basicdoc.rng +0 -0
  32. data/lib/{asciidoctor → metanorma}/ogc/biblio.rng +0 -0
  33. data/lib/{asciidoctor → metanorma}/ogc/boilerplate.xml +0 -0
  34. data/lib/{asciidoctor → metanorma}/ogc/cleanup.rb +39 -10
  35. data/lib/{asciidoctor → metanorma}/ogc/converter.rb +14 -4
  36. data/lib/{asciidoctor → metanorma}/ogc/front.rb +2 -2
  37. data/lib/{asciidoctor → metanorma}/ogc/isodoc.rng +49 -2
  38. data/lib/{asciidoctor → metanorma}/ogc/ogc.rng +0 -0
  39. data/lib/{asciidoctor → metanorma}/ogc/reqt.rng +0 -0
  40. data/lib/{asciidoctor → metanorma}/ogc/validate.rb +1 -1
  41. data/lib/metanorma/ogc/version.rb +1 -1
  42. data/lib/metanorma/ogc.rb +1 -0
  43. data/lib/metanorma-ogc.rb +0 -1
  44. data/metanorma-ogc.gemspec +1 -1
  45. metadata +15 -16
  46. data/lib/asciidoctor/ogc.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5bb1ae7e71ccb9893d37252f166f957986676100103a0923a916e305d952c03
4
- data.tar.gz: 3ed27b1075d8dc53266349d70c809427b0c548708a9b6fe4018d8b4666d17f5c
3
+ metadata.gz: a2ea72db3debb8356d5047e7ab611b33e467d1393d0f9e1164100f56c8988bfb
4
+ data.tar.gz: 4cc91744a555f596fc9ac2bf56f54d0f18ee5d762b3de027338af3fd7b65d820
5
5
  SHA512:
6
- metadata.gz: 63c9dc50ccc0094aa55ddf0313c9a5d1274330537d7af307fb5118dc122352d3ecf5f928dcf6f6a6fb686cee588d013eb656fbf1725e67ca6d17dc776428dc88
7
- data.tar.gz: 73e2d1c0a868d9be6e8320504ffab6062368b95d2af4241e16f4d686e0f4e5bb0d78115a90d1bd3b86d09bc10d50d5ad40380801ac1f2d4ab6d2244bf56cdc94
6
+ metadata.gz: 135588fdcec82c7eb91b3c6851b87c70ca8ee40a8c3d06240ed909dedaf9a11a85150e2b8c96e227eec9b0df5e97e0d148f2d2caeba5f28ab14879cae0c32da2
7
+ data.tar.gz: 063c4282b5ec0881a83bc820a7e9966fa7ae73feb7ef15ef92f139df340b5a09dbe057586a9d8624e1a36bbc7426e5e589d282d43246fc7b58f9794182f37aea
@@ -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
@@ -1,3 +1,14 @@
1
1
  .DS_Store
2
2
 
3
3
  .rubocop-https--*
4
+
5
+ /.rspec_status
6
+ /Gemfile.devel
7
+ /Gemfile.lock
8
+ /coverage/
9
+ /test.doc
10
+ /test.err
11
+ /test.html
12
+ /test.pdf
13
+ /test.presentation.xml
14
+ /test_*_htmlimages/
data/Gemfile CHANGED
@@ -9,3 +9,4 @@ gemspec
9
9
  if File.exist? "Gemfile.devel"
10
10
  eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
11
11
  end
12
+
@@ -12,7 +12,7 @@ module IsoDoc
12
12
  list.p **attr_code(iso_bibitem_entry_attrs(bib, bibliography)) do |r|
13
13
  id = bibitem_ref_code(bib)
14
14
  identifier = render_identifier(id)
15
- identifier[1] = nil
15
+ identifier[:sdo] = nil
16
16
  if bibliography
17
17
  ref_entry_code(r, ordinal, identifier, id)
18
18
  end
@@ -124,7 +124,7 @@ module IsoDoc
124
124
  u = extract_uri(bib)
125
125
  out << "#{author || pub_abbrev}: " if author || pub_abbrev
126
126
  id = render_identifier(inline_bibitem_ref_code(bib))
127
- out << id[1] if id[1]
127
+ out << id[:sdo] if id[:sdo]
128
128
  out << " (Draft)" if ogc_draft_ref?(bib)
129
129
  out << ", "
130
130
  out.i do |i|
@@ -143,13 +143,14 @@ module IsoDoc
143
143
  def inline_bibitem_ref_code(bib)
144
144
  id = bib.at(ns("./docidentifier[not(@type = 'DOI' "\
145
145
  "or @type = 'metanorma' or @type = 'ISSN' "\
146
- "or @type = 'ISBN' or @type = 'rfc-anchor')]"))
147
- id ||= bib.at(ns("./docidentifier[not(@type = 'metanorma')]"))
148
- return [nil, id, nil] if id
146
+ "or @type = 'ISBN' or @type = 'metanorma-ordinal')]"))
147
+ id ||= bib.at(ns("./docidentifier[not(@type = 'metanorma' or "\
148
+ "@type = 'metanorma-ordinal')]"))
149
+ return [nil, id, nil, nil] if id
149
150
 
150
151
  id = Nokogiri::XML::Node.new("docidentifier", bib.document)
151
152
  id << "(NO ID)"
152
- [nil, id, nil]
153
+ [nil, id, nil, nil]
153
154
  end
154
155
  end
155
156
  end
@@ -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 {
@@ -151,6 +160,12 @@ a.FootnoteRef + a.FootnoteRef:before {
151
160
  #white-paper {
152
161
  border-bottom: solid 3px #39CCCC; }
153
162
 
163
+ #technical-paper-band {
164
+ background-color: #39CCCC; }
165
+
166
+ #technical-paper {
167
+ border-bottom: solid 3px #39CCCC; }
168
+
154
169
  #engineering-report-band {
155
170
  background-color: #39CCCC; }
156
171
 
@@ -499,55 +514,59 @@ dl {
499
514
  dl pre {
500
515
  overflow-x: scroll; }
501
516
 
502
- #toc ul {
517
+ #toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
503
518
  margin: 0;
504
519
  padding: 0;
505
520
  list-style: none; }
506
- #toc ul li a {
521
+ #toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
507
522
  padding: 5px 10px; }
508
- #toc ul a {
523
+ #toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
509
524
  color: #00335b;
510
525
  text-decoration: none;
511
526
  display: block; }
512
- #toc ul a:hover {
527
+ #toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
513
528
  box-shadow: none;
514
529
  color: white; }
515
530
 
516
- #toc .h2 {
531
+ #toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
517
532
  padding-left: 30px; }
518
533
 
519
- #toc .h3 {
534
+ #toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
520
535
  padding-left: 50px; }
521
536
 
522
- #toc .toc-active, #toc li:hover {
537
+ #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 {
523
538
  background: #00335b;
524
539
  box-shadow: inset -5px 0px 10px -5px #00335b !important; }
525
- #toc .toc-active a, #toc li:hover a {
540
+ #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 {
526
541
  color: white; }
527
542
 
528
543
  @media print {
529
- #toc .toc-active, #toc li:hover {
544
+ #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 {
530
545
  background: white;
531
546
  box-shadow: none !important; }
532
- #toc .toc-active a {
547
+ #toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
533
548
  color: #00335b; }
534
- #toc li:hover a {
549
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
535
550
  color: black; } }
536
551
 
537
- #toc li a {
552
+ #toc li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
538
553
  font-size: 14px; }
539
554
 
540
- #toc li:before {
555
+ #toc li:before, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
541
556
  content: " ";
542
557
  display: none; }
543
558
 
544
- #toc .toc-active, #toc li:hover {
559
+ #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 {
545
560
  font-weight: 600; }
546
561
 
547
- #toc li:hover a {
562
+ #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
548
563
  background: none;
549
564
  box-shadow: none; }
550
565
 
566
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
567
+ margin-top: 0;
568
+ margin-bottom: 0; }
569
+
551
570
  @media screen and (min-width: 768px) {
552
571
  nav {
553
572
  position: fixed;
@@ -609,7 +628,7 @@ dl {
609
628
  @media screen and (min-width: 768px) {
610
629
  h1.toc-contents {
611
630
  margin-top: 1em; }
612
- ul#toc-list {
631
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
613
632
  padding: 0;
614
633
  margin: 0; } }
615
634
 
@@ -718,32 +737,33 @@ p {
718
737
  margin-top: 1em;
719
738
  margin-bottom: 1em; }
720
739
 
721
- h1, h2, h3, h4, h5, h6 {
740
+ h1, h2, h3, h4, h5, h6,
741
+ .h1, .h2, .h3, .h4, .h5, .h6 {
722
742
  color: #00335b;
723
743
  font-weight: 400;
724
744
  margin-top: 1.6em;
725
745
  margin-bottom: 0.3em; }
726
746
 
727
- h1 {
747
+ h1, .h1 {
728
748
  font-size: 1.8em;
729
749
  text-transform: uppercase;
730
750
  margin-top: 2em; }
731
- h1 #content {
751
+ h1 #content, .h1 #content {
732
752
  margin-top: 2em; }
733
753
 
734
- h2 {
754
+ h2, .h2 {
735
755
  margin-top: 1.3em;
736
756
  font-size: 1.7em;
737
757
  font-weight: 300; }
738
- h2 p {
758
+ h2 p, .h2 p {
739
759
  display: inline; }
740
760
 
741
- h3 {
761
+ h3, .h3 {
742
762
  margin-top: 1.3em;
743
763
  font-size: 1.5em;
744
764
  font-weight: 100; }
745
765
 
746
- h4 {
766
+ h4, .h4 {
747
767
  font-size: 1.4em; }
748
768
 
749
769
  .contact-info {
@@ -1083,18 +1103,18 @@ a.anchorjs-link:hover {
1083
1103
  margin: 2cm 1cm; }
1084
1104
 
1085
1105
  @media print {
1086
- h1, h2, h3, h4 {
1106
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
1087
1107
  page-break-after: avoid;
1088
1108
  margin-top: 1.2em; }
1089
- h1 {
1109
+ h1, .h1 {
1090
1110
  font-size: 1.5em;
1091
1111
  line-height: 1.5; }
1092
- h1.content {
1112
+ h1.content, .h1.content {
1093
1113
  margin-top: 2em;
1094
1114
  line-height: 2.5em; }
1095
- h2 {
1115
+ h2, .h2 {
1096
1116
  font-size: 1.2em; }
1097
- h3 {
1117
+ h3, .h3 {
1098
1118
  font-size: 1em; }
1099
1119
  .prefatory-section {
1100
1120
  page-break-before: always; }
@@ -6,6 +6,7 @@ $doctype-colors-list: (
6
6
  best-practice: #39CCCC,
7
7
  discussion-paper: #39CCCC,
8
8
  white-paper: #39CCCC,
9
+ technical-paper: #39CCCC,
9
10
  engineering-report: #39CCCC,
10
11
 
11
12
  release-notes: #FFDC00,
@@ -63,7 +64,7 @@ dl {
63
64
  }
64
65
  }
65
66
 
66
- #toc {
67
+ #toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
67
68
  @include toc($colorLink: #00335b, $colorLinkActiveBg: #00335b, $colorLinkActiveFg: white);
68
69
 
69
70
  li a {
@@ -85,6 +86,11 @@ dl {
85
86
  }
86
87
  }
87
88
 
89
+ #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
90
+ margin-top: 0;
91
+ margin-bottom: 0;
92
+ }
93
+
88
94
  nav {
89
95
  @include sidebarNav(#f1f8ff, 323px, 45px);
90
96
 
@@ -111,7 +117,7 @@ nav {
111
117
  margin-top: 1em;
112
118
  }
113
119
 
114
- ul#toc-list {
120
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
115
121
  padding: 0;
116
122
  margin: 0;
117
123
  }
@@ -172,14 +178,15 @@ p {
172
178
  margin-bottom: 1em;
173
179
  }
174
180
 
175
- h1, h2, h3, h4, h5, h6 {
181
+ h1, h2, h3, h4, h5, h6,
182
+ .h1, .h2, .h3, .h4, .h5, .h6 {
176
183
  color: #00335b;
177
184
  font-weight: 400;
178
185
  margin-top: 1.6em;
179
186
  margin-bottom: 0.3em;
180
187
  }
181
188
 
182
- h1 {
189
+ h1, .h1 {
183
190
  font-size: 1.8em;
184
191
  text-transform: uppercase;
185
192
  margin-top: 2em;
@@ -189,7 +196,7 @@ h1 {
189
196
  }
190
197
  }
191
198
 
192
- h2 {
199
+ h2, .h2 {
193
200
  margin-top: 1.3em;
194
201
  font-size: 1.7em;
195
202
  font-weight: 300;
@@ -199,13 +206,13 @@ h2 {
199
206
  }
200
207
  }
201
208
 
202
- h3 {
209
+ h3, .h3 {
203
210
  margin-top: 1.3em;
204
211
  font-size: 1.5em;
205
212
  font-weight: 100;
206
213
  }
207
214
 
208
- h4 {
215
+ h4, .h4 {
209
216
  font-size: 1.4em;
210
217
  }
211
218
 
@@ -555,12 +562,12 @@ a.anchorjs-link {
555
562
  }
556
563
 
557
564
  @media print {
558
- h1, h2, h3, h4 {
565
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
559
566
  page-break-after: avoid;
560
567
  margin-top: 1.2em;
561
568
  }
562
569
 
563
- h1 {
570
+ h1, .h1 {
564
571
  font-size: 1.5em;
565
572
  line-height: 1.5;
566
573
 
@@ -570,11 +577,11 @@ a.anchorjs-link {
570
577
  }
571
578
  }
572
579
 
573
- h2 {
580
+ h2, .h2 {
574
581
  font-size: 1.2em
575
582
  }
576
583
 
577
- h3 {
584
+ h3, .h3 {
578
585
  font-size: 1em;
579
586
  }
580
587
 
@@ -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>
@@ -370,7 +370,7 @@ span.blackgraphtx {
370
370
  div.figure, p.figure {
371
371
  text-align: center; }
372
372
 
373
- h1 {
373
+ h1, .h1 {
374
374
  mso-style-priority: 1;
375
375
  mso-style-unhide: no;
376
376
  mso-style-qformat: yes;
@@ -385,8 +385,6 @@ h1 {
385
385
  line-height: 13.5pt;
386
386
  mso-pagination: widow-orphan;
387
387
  page-break-after: avoid;
388
- mso-outline-level: 1;
389
- mso-list: l1 level1 lfo6;
390
388
  mso-hyphenate: none;
391
389
  tab-stops: 0.7cm;
392
390
  font-size: 13.0pt;
@@ -399,6 +397,10 @@ h1 {
399
397
  mso-fareast-language: JA;
400
398
  mso-bidi-font-weight: normal; }
401
399
 
400
+ h1 {
401
+ mso-outline-level: 1;
402
+ mso-list: l1 level1 lfo6; }
403
+
402
404
  h1.Annex {
403
405
  mso-style-priority: 1;
404
406
  mso-style-unhide: no;
@@ -457,7 +459,7 @@ h1.Annex {
457
459
  mso-fareast-language: JA;
458
460
  mso-bidi-font-weight: normal; }
459
461
 
460
- h2 {
462
+ h2, .h2 {
461
463
  mso-style-priority: 2;
462
464
  mso-style-unhide: no;
463
465
  mso-style-qformat: yes;
@@ -473,8 +475,6 @@ h2 {
473
475
  line-height: 12.5pt;
474
476
  mso-pagination: widow-orphan;
475
477
  page-break-after: avoid;
476
- mso-outline-level: 2;
477
- mso-list: l1 level2 lfo6;
478
478
  mso-hyphenate: none;
479
479
  tab-stops: 1.0cm;
480
480
  font-size: 12.0pt;
@@ -486,7 +486,11 @@ h2 {
486
486
  mso-fareast-language: JA;
487
487
  mso-bidi-font-weight: normal; }
488
488
 
489
- h3 {
489
+ h2 {
490
+ mso-outline-level: 2;
491
+ mso-list: l1 level2 lfo6; }
492
+
493
+ h3, .h3 {
490
494
  mso-style-priority: 3;
491
495
  mso-style-unhide: no;
492
496
  mso-style-qformat: yes;
@@ -502,8 +506,6 @@ h3 {
502
506
  line-height: 12.0pt;
503
507
  mso-pagination: widow-orphan;
504
508
  page-break-after: avoid;
505
- mso-outline-level: 3;
506
- mso-list: l1 level3 lfo6;
507
509
  mso-hyphenate: none;
508
510
  tab-stops: 1.3cm;
509
511
  font-size: 11.0pt;
@@ -514,7 +516,11 @@ h3 {
514
516
  mso-fareast-language: JA;
515
517
  mso-bidi-font-weight: normal; }
516
518
 
517
- h4 {
519
+ h3 {
520
+ mso-outline-level: 3;
521
+ mso-list: l1 level3 lfo6; }
522
+
523
+ h4, .h4 {
518
524
  mso-style-priority: 4;
519
525
  mso-style-unhide: no;
520
526
  mso-style-qformat: yes;
@@ -530,8 +536,6 @@ h4 {
530
536
  line-height: 12.0pt;
531
537
  mso-pagination: widow-orphan;
532
538
  page-break-after: avoid;
533
- mso-outline-level: 4;
534
- mso-list: l1 level4 lfo6;
535
539
  mso-hyphenate: none;
536
540
  tab-stops: 1.6cm;
537
541
  font-size: 11.0pt;
@@ -542,7 +546,11 @@ h4 {
542
546
  mso-fareast-language: JA;
543
547
  mso-bidi-font-weight: normal; }
544
548
 
545
- h5 {
549
+ h4 {
550
+ mso-outline-level: 4;
551
+ mso-list: l1 level4 lfo6; }
552
+
553
+ h5, .h5 {
546
554
  mso-style-priority: 5;
547
555
  mso-style-unhide: no;
548
556
  mso-style-qformat: yes;
@@ -558,8 +566,6 @@ h5 {
558
566
  line-height: 12.0pt;
559
567
  mso-pagination: widow-orphan;
560
568
  page-break-after: avoid;
561
- mso-outline-level: 5;
562
- mso-list: l1 level5 lfo6;
563
569
  mso-hyphenate: none;
564
570
  tab-stops: 1.9cm;
565
571
  font-size: 11.0pt;
@@ -570,7 +576,11 @@ h5 {
570
576
  mso-fareast-language: JA;
571
577
  mso-bidi-font-weight: normal; }
572
578
 
573
- h6 {
579
+ h5 {
580
+ mso-outline-level: 5;
581
+ mso-list: l1 level5 lfo6; }
582
+
583
+ h6, .h6 {
574
584
  mso-style-priority: 6;
575
585
  mso-style-unhide: no;
576
586
  mso-style-qformat: yes;
@@ -586,8 +596,6 @@ h6 {
586
596
  line-height: 12.0pt;
587
597
  mso-pagination: widow-orphan;
588
598
  page-break-after: avoid;
589
- mso-outline-level: 6;
590
- mso-list: l1 level6 lfo6;
591
599
  mso-hyphenate: none;
592
600
  tab-stops: 2.2cm;
593
601
  font-size: 11.0pt;
@@ -598,6 +606,10 @@ h6 {
598
606
  mso-fareast-language: JA;
599
607
  mso-bidi-font-weight: normal; }
600
608
 
609
+ h6 {
610
+ mso-outline-level: 6;
611
+ mso-list: l1 level6 lfo6; }
612
+
601
613
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
602
614
  mso-style-priority: 39;
603
615
  mso-style-unhide: no;
@@ -339,7 +339,7 @@ div.figure, p.figure
339
339
  {text-align: center;}
340
340
 
341
341
 
342
- h1
342
+ h1, .h1
343
343
  {mso-style-priority:1;
344
344
  mso-style-unhide:no;
345
345
  mso-style-qformat:yes;
@@ -354,8 +354,6 @@ h1
354
354
  line-height:13.5pt;
355
355
  mso-pagination:widow-orphan;
356
356
  page-break-after:avoid;
357
- mso-outline-level:1;
358
- mso-list:l1 level1 lfo6;
359
357
  mso-hyphenate:none;
360
358
  tab-stops:0.7cm;
361
359
  font-size:13.0pt;
@@ -367,6 +365,10 @@ h1
367
365
  mso-ansi-language:EN-GB;
368
366
  mso-fareast-language:JA;
369
367
  mso-bidi-font-weight:normal;}
368
+ h1 {
369
+ mso-outline-level:1;
370
+ mso-list:l1 level1 lfo6;
371
+ }
370
372
  h1.Annex
371
373
  {mso-style-priority:1;
372
374
  mso-style-unhide:no;
@@ -423,7 +425,7 @@ h1.Annex
423
425
  mso-ansi-language:EN-GB;
424
426
  mso-fareast-language:JA;
425
427
  mso-bidi-font-weight:normal;}
426
- h2
428
+ h2, .h2
427
429
  {mso-style-priority:2;
428
430
  mso-style-unhide:no;
429
431
  mso-style-qformat:yes;
@@ -439,8 +441,6 @@ h2
439
441
  line-height:12.5pt;
440
442
  mso-pagination:widow-orphan;
441
443
  page-break-after:avoid;
442
- mso-outline-level:2;
443
- mso-list:l1 level2 lfo6;
444
444
  mso-hyphenate:none;
445
445
  tab-stops:1.0cm;
446
446
  font-size:12.0pt;
@@ -451,7 +451,11 @@ h2
451
451
  mso-ansi-language:EN-GB;
452
452
  mso-fareast-language:JA;
453
453
  mso-bidi-font-weight:normal;}
454
- h3
454
+ h2 {
455
+ mso-outline-level:2;
456
+ mso-list:l1 level2 lfo6;
457
+ }
458
+ h3, .h3
455
459
  {mso-style-priority:3;
456
460
  mso-style-unhide:no;
457
461
  mso-style-qformat:yes;
@@ -467,8 +471,6 @@ h3
467
471
  line-height:12.0pt;
468
472
  mso-pagination:widow-orphan;
469
473
  page-break-after:avoid;
470
- mso-outline-level:3;
471
- mso-list:l1 level3 lfo6;
472
474
  mso-hyphenate:none;
473
475
  tab-stops:1.3cm;
474
476
  font-size:11.0pt;
@@ -478,7 +480,11 @@ h3
478
480
  mso-ansi-language:EN-GB;
479
481
  mso-fareast-language:JA;
480
482
  mso-bidi-font-weight:normal;}
481
- h4
483
+ h3 {
484
+ mso-outline-level:3;
485
+ mso-list:l1 level3 lfo6;
486
+ }
487
+ h4, .h4
482
488
  {mso-style-priority:4;
483
489
  mso-style-unhide:no;
484
490
  mso-style-qformat:yes;
@@ -494,8 +500,6 @@ h4
494
500
  line-height:12.0pt;
495
501
  mso-pagination:widow-orphan;
496
502
  page-break-after:avoid;
497
- mso-outline-level:4;
498
- mso-list:l1 level4 lfo6;
499
503
  mso-hyphenate:none;
500
504
  tab-stops:1.6cm;
501
505
  font-size:11.0pt;
@@ -505,7 +509,11 @@ h4
505
509
  mso-ansi-language:EN-GB;
506
510
  mso-fareast-language:JA;
507
511
  mso-bidi-font-weight:normal;}
508
- h5
512
+ h4 {
513
+ mso-outline-level:4;
514
+ mso-list:l1 level4 lfo6;
515
+ }
516
+ h5, .h5
509
517
  {mso-style-priority:5;
510
518
  mso-style-unhide:no;
511
519
  mso-style-qformat:yes;
@@ -521,8 +529,6 @@ h5
521
529
  line-height:12.0pt;
522
530
  mso-pagination:widow-orphan;
523
531
  page-break-after:avoid;
524
- mso-outline-level:5;
525
- mso-list:l1 level5 lfo6;
526
532
  mso-hyphenate:none;
527
533
  tab-stops:1.9cm;
528
534
  font-size:11.0pt;
@@ -532,7 +538,11 @@ h5
532
538
  mso-ansi-language:EN-GB;
533
539
  mso-fareast-language:JA;
534
540
  mso-bidi-font-weight:normal;}
535
- h6
541
+ h5 {
542
+ mso-outline-level:5;
543
+ mso-list:l1 level5 lfo6;
544
+ }
545
+ h6, .h6
536
546
  {mso-style-priority:6;
537
547
  mso-style-unhide:no;
538
548
  mso-style-qformat:yes;
@@ -548,8 +558,6 @@ h6
548
558
  line-height:12.0pt;
549
559
  mso-pagination:widow-orphan;
550
560
  page-break-after:avoid;
551
- mso-outline-level:6;
552
- mso-list:l1 level6 lfo6;
553
561
  mso-hyphenate:none;
554
562
  tab-stops:2.2cm;
555
563
  font-size:11.0pt;
@@ -559,6 +567,10 @@ h6
559
567
  mso-ansi-language:EN-GB;
560
568
  mso-fareast-language:JA;
561
569
  mso-bidi-font-weight:normal;}
570
+ h6 {
571
+ mso-outline-level:6;
572
+ mso-list:l1 level6 lfo6;
573
+ }
562
574
  p.MsoToc1, li.MsoToc1, div.MsoToc1
563
575
  {mso-style-priority:39;
564
576
  mso-style-unhide:no;