metanorma-iho 0.4.4 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 587ec460bc251b89adf66c9dbec0b095719d2efbc0e73ad99fdf476aa7f53d0a
4
- data.tar.gz: 2362fd44a6030540f43abf8c85f2ceaacbb5dbdb1c2bb5244bae225d46c650d9
3
+ metadata.gz: 9fafafd3ab36e3c13c4f6e457fe3d2945af2edd5a3b6845900f48d389c5d99a9
4
+ data.tar.gz: 69284c7815c737dfdcbf0acae6a22c5ba1cf4da252f30c370fa07a16ee665375
5
5
  SHA512:
6
- metadata.gz: 3bcf07f81a1c70c40a04400e944cbf8642720273f04c0dc8bcc14a3e8c7bc8da78ce028bf410598768dff2316d5624643e3d618e815bc072ba21a94f7bb56ebb
7
- data.tar.gz: 28467c427d0465e9351d4949ee68d1182ea7672770a154435a3bd82daacc82891f2e1d5ff2e09ecd58841a3c9f9f42982c1c9a201466713cd2b7a0d358adfc60
6
+ metadata.gz: 738bb5b33af8f34d89bbe90b71927d6ecb9b2e134bf82a256d91c05fd3063e0705506125c9d3cb5cb3a9dd416283a878f3db793fe865f0753acf7759ab348f24
7
+ data.tar.gz: 6bd55bdd1c6bc66abcd5d059aacdf092355e6311534f434465758ab8dfc9e092257f2ee4a65fb7c32d50e52b7388df093b0bc109726cfcd65ddb3f5854a3888e
@@ -10,34 +10,6 @@ on:
10
10
 
11
11
  jobs:
12
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@master
24
-
25
- - uses: ruby/setup-ruby@v1
26
- with:
27
- ruby-version: ${{ matrix.ruby }}
28
- bundler-cache: true
29
-
30
- - uses: metanorma/metanorma-build-scripts/plantuml-setup-action@master
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 }}"}'
13
+ uses: metanorma/metanorma-build-scripts/.github/workflows/generic-rake.yml@main
14
+ secrets:
15
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
data/.gitignore CHANGED
@@ -1 +1,12 @@
1
1
  .rubocop-https--*
2
+
3
+ /.rspec_status
4
+ /Gemfile.devel
5
+ /Gemfile.lock
6
+ /coverage/
7
+ /test.doc
8
+ /test.err
9
+ /test.html
10
+ /test.pdf
11
+ /test.presentation.xml
12
+ /test_*_htmlimages/
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "asciidoctor/rsd"
4
+ require "metanorma/iho"
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.
@@ -27,7 +27,7 @@ module IsoDoc
27
27
  xml.span do |s|
28
28
  node&.children&.each { |x| parse(x, s) }
29
29
  end
30
- end.join("")
30
+ end.join
31
31
  end
32
32
 
33
33
  def multiplenames_and(names)
@@ -56,13 +56,15 @@ module IsoDoc
56
56
  def inline_bibitem_ref_code(bib)
57
57
  id = bib.at(ns("./docidentifier[not(@type = 'DOI' or "\
58
58
  "@type = 'metanorma' or @type = 'ISSN' or "\
59
- "@type = 'ISBN' or @type = 'rfc-anchor')]"))
60
- id ||= bib.at(ns("./docidentifier[not(@type = 'metanorma')]"))
61
- return [nil, id, nil] if id
59
+ "@type = 'ISBN' or @type = 'rfc-anchor' or "\
60
+ "@type = 'metanorma-ordinal')]"))
61
+ id ||= bib.at(ns("./docidentifier[not(@type = 'metanorma' or "\
62
+ "@type = 'metanorma-ordinal')]"))
63
+ return [nil, id, nil, nil] if id
62
64
 
63
65
  id = Nokogiri::XML::Node.new("docidentifier", bib.document)
64
66
  id << "(NO ID)"
65
- [nil, id, nil]
67
+ [nil, id, nil, nil]
66
68
  end
67
69
 
68
70
  def extract_edition(bib)
@@ -101,9 +103,9 @@ module IsoDoc
101
103
  c = p.at(ns("./completename")) and return c.text
102
104
  s = p&.at(ns("./surname"))&.text or return
103
105
  i = p.xpath(ns("./initial")) and
104
- front = i.map { |e| e.text.gsub(/[^[:upper:]]/, "") }.join("")
106
+ front = i.map { |e| e.text.gsub(/[^[:upper:]]/, "") }.join
105
107
  i.empty? and f = p.xpath(ns("./forename")) and
106
- front = f.map { |e| e.text[0].upcase }.join("")
108
+ front = f.map { |e| e.text[0].upcase }.join
107
109
  front ? "#{s} #{front}" : s
108
110
  end
109
111
 
@@ -117,10 +119,10 @@ module IsoDoc
117
119
  ftitle&.children&.each { |n| parse(n, out) }
118
120
  else
119
121
  id = render_identifier(inline_bibitem_ref_code(bib))
120
- out << id[1] if id[1]
122
+ out << id[:sdo] if id[:sdo]
121
123
  ed = extract_edition(bib) if iho?(bib)
122
124
  out << " edition #{ed}" if ed
123
- out << ": " if id[1] || ed
125
+ out << ": " if id[:sdo] || ed
124
126
  iso_title(bib)&.children&.each { |n| parse(n, out) }
125
127
  out << ", "
126
128
  author = extract_author(bib)
@@ -75,6 +75,12 @@ code *, pre *, tt *, kbd *, samp * {
75
75
  font-family: {{monospacefont}} !important;
76
76
  font-variant-ligatures: none; }
77
77
 
78
+ p code, dt code, li code, label code, legend code, caption code, th code, td code,
79
+ p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
80
+ p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
81
+ p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
82
+ font-size: {{monospacefontsize}}; }
83
+
78
84
  article, aside, details, figcaption, figure,
79
85
  footer, header, hgroup, menu, nav, section {
80
86
  display: block; }
@@ -86,6 +92,9 @@ table {
86
92
  h1, h2, h3, h4, h5, h6 {
87
93
  font-family: {{headerfont}}; }
88
94
 
95
+ .h1, .h2, .h3, .h4, .h5, .h6 {
96
+ font-family: {{headerfont}}; }
97
+
89
98
  blockquote, q {
90
99
  quotes: none; }
91
100
  blockquote:before, blockquote:after, q:before, q:after {
@@ -239,51 +248,56 @@ body {
239
248
  main {
240
249
  margin: 0 3em 0 6em; }
241
250
 
242
- #toc {
251
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
243
252
  font-family: {{bodyfont}};
244
253
  font-weight: 400; }
245
- #toc ul {
254
+ #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
246
255
  margin: 0;
247
256
  padding: 0;
248
257
  list-style: none; }
249
- #toc ul li a {
258
+ #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
250
259
  padding: 5px 10px; }
251
- #toc ul a {
260
+ #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
252
261
  color: #05164d;
253
262
  text-decoration: none;
254
263
  display: block; }
255
- #toc ul a:hover {
264
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
256
265
  box-shadow: none;
257
266
  color: #05164d; }
258
- #toc .h2 {
267
+ #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
259
268
  padding-left: 30px; }
260
- #toc .h3 {
269
+ #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
261
270
  padding-left: 50px; }
262
- #toc .toc-active, #toc li:hover {
271
+ #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 {
263
272
  background: #fedc5b;
264
273
  box-shadow: inset -5px 0px 10px -5px #fedc5b !important; }
265
- #toc .toc-active a, #toc li:hover a {
274
+ #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 {
266
275
  color: #05164d; }
267
276
  @media print {
268
- #toc .toc-active, #toc li:hover {
277
+ #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 {
269
278
  background: white;
270
279
  box-shadow: none !important; }
271
- #toc .toc-active a {
280
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
272
281
  color: #05164d; }
273
- #toc li:hover a {
282
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
274
283
  color: black; } }
275
284
  @media screen and (max-width: 768px) {
276
- #toc {
285
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
277
286
  padding: 0 1.5em;
278
287
  overflow: visible; } }
279
- #toc .toc-active a {
288
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
280
289
  color: #05164d; }
281
- #toc li a {
290
+ #toc li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
282
291
  text-transform: uppercase; }
283
- #toc ul a:hover {
292
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
284
293
  box-shadow: none;
285
294
  color: #05164d; }
286
295
 
296
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
297
+ margin-top: 0;
298
+ margin-bottom: 0;
299
+ font-size: 100%; }
300
+
287
301
  @media screen and (min-width: 768px) {
288
302
  nav {
289
303
  position: fixed;
@@ -368,7 +382,7 @@ main {
368
382
  display: none; }
369
383
  h1.toc-contents {
370
384
  margin-top: 1em; }
371
- ul#toc-list {
385
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
372
386
  padding: 0;
373
387
  margin: 0; } }
374
388
 
@@ -537,27 +551,28 @@ h2,
537
551
  h3,
538
552
  h4,
539
553
  h5,
540
- h6 {
554
+ h6,
555
+ .h1, .h2, .h3, .h4, .h5, .h6 {
541
556
  font-family: {{headerfont}};
542
557
  color: #05164D;
543
558
  font-weight: 300;
544
559
  margin-top: 1.6em;
545
560
  margin-bottom: 0.3em; }
546
561
 
547
- h1 {
562
+ h1, .h1 {
548
563
  font-size: 1.6em;
549
564
  text-transform: uppercase;
550
565
  margin-top: 2em; }
551
566
 
552
- h1#content {
567
+ h1#content, #content.h1 {
553
568
  margin-top: 2em; }
554
569
 
555
- h2 {
570
+ h2, .h2 {
556
571
  margin-top: 1.3em;
557
572
  font-size: 1.3em;
558
573
  font-weight: 400; }
559
574
 
560
- h3 {
575
+ h3, .h3 {
561
576
  margin-top: 1.1em;
562
577
  font-size: 1.1em;
563
578
  font-weight: 100; }
@@ -842,7 +857,7 @@ p {
842
857
  margin-top: 1em;
843
858
  margin-bottom: 1em; }
844
859
 
845
- h2 p {
860
+ h2 p, .h2 p {
846
861
  display: inline; }
847
862
 
848
863
  /*
@@ -975,7 +990,8 @@ To top button
975
990
  h1,
976
991
  h2,
977
992
  h3,
978
- h4 {
993
+ h4,
994
+ .h1, .h2, .h3, .h4 {
979
995
  page-break-after: avoid;
980
996
  margin-top: 1.2em; }
981
997
  .note,
@@ -998,15 +1014,15 @@ To top button
998
1014
  background-color: white; }
999
1015
  .container {
1000
1016
  padding-left: 0; }
1001
- h1.content {
1017
+ h1.content, .h1.content {
1002
1018
  margin-top: 2em;
1003
1019
  line-height: 2.5em; }
1004
- h1 {
1020
+ h1, .h1 {
1005
1021
  font-size: 1.5em;
1006
1022
  line-height: 1.5; }
1007
- h2 {
1023
+ h2, .h2 {
1008
1024
  font-size: 1.2em; }
1009
- h3 {
1025
+ h3, .h3 {
1010
1026
  font-size: 1em; }
1011
1027
  .Note {
1012
1028
  background-color: #fedc5b;
@@ -18,7 +18,7 @@ main {
18
18
  margin: 0 3em 0 6em;
19
19
  }
20
20
 
21
- #toc {
21
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
22
22
  @include toc(#05164d, #fedc5b, #05164d);
23
23
  @include sidebarToc();
24
24
 
@@ -38,6 +38,12 @@ main {
38
38
  }
39
39
  }
40
40
 
41
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
42
+ margin-top: 0;
43
+ margin-bottom: 0;
44
+ font-size: 100%;
45
+ }
46
+
41
47
  nav {
42
48
  @include sidebarNav(#f7f7f7, 323px, 45px);
43
49
  }
@@ -72,7 +78,7 @@ nav {
72
78
  margin-top: 1em;
73
79
  }
74
80
 
75
- ul#toc-list {
81
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
76
82
  padding: 0;
77
83
  margin: 0;
78
84
  }
@@ -203,7 +209,8 @@ h2,
203
209
  h3,
204
210
  h4,
205
211
  h5,
206
- h6 {
212
+ h6,
213
+ .h1, .h2, .h3, .h4, .h5, .h6 {
207
214
  font-family: $headerfont;
208
215
  color: #05164D;
209
216
  font-weight: 300;
@@ -211,23 +218,23 @@ h6 {
211
218
  margin-bottom: 0.3em;
212
219
  }
213
220
 
214
- h1 {
221
+ h1, .h1 {
215
222
  font-size: 1.6em;
216
223
  text-transform: uppercase;
217
224
  margin-top: 2em;
218
225
  }
219
226
 
220
- h1#content {
227
+ h1#content, .h1#content {
221
228
  margin-top: 2em;
222
229
  }
223
230
 
224
- h2 {
231
+ h2, .h2 {
225
232
  margin-top: 1.3em;
226
233
  font-size: 1.3em;
227
234
  font-weight: 400;
228
235
  }
229
236
 
230
- h3 {
237
+ h3, .h3 {
231
238
  margin-top: 1.1em;
232
239
  font-size: 1.1em;
233
240
  font-weight: 100;
@@ -503,7 +510,7 @@ p {
503
510
  margin-bottom: 1em;
504
511
  }
505
512
 
506
- h2 p {
513
+ h2 p, .h2 p {
507
514
  display: inline;
508
515
  }
509
516
 
@@ -681,7 +688,8 @@ To top button
681
688
  h1,
682
689
  h2,
683
690
  h3,
684
- h4 {
691
+ h4,
692
+ .h1, .h2, .h3, .h4 {
685
693
  page-break-after: avoid;
686
694
  margin-top: 1.2em;
687
695
  }
@@ -720,21 +728,21 @@ To top button
720
728
  padding-left: 0;
721
729
  }
722
730
 
723
- h1.content {
731
+ h1.content, .h1.content {
724
732
  margin-top: 2em;
725
733
  line-height: 2.5em;
726
734
  }
727
735
 
728
- h1 {
736
+ h1, .h1 {
729
737
  font-size: 1.5em;
730
738
  line-height: 1.5;
731
739
  }
732
740
 
733
- h2 {
741
+ h2, .h2 {
734
742
  font-size: 1.2em
735
743
  }
736
744
 
737
- h3 {
745
+ h3, .h3 {
738
746
  font-size: 1em;
739
747
  }
740
748
 
@@ -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: 20.0pt list 21.6pt left 28.0pt;
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;
@@ -456,7 +458,7 @@ h1.Annex {
456
458
  mso-fareast-language: JA;
457
459
  mso-bidi-font-weight: normal; }
458
460
 
459
- h2 {
461
+ h2, .h2 {
460
462
  mso-style-priority: 2;
461
463
  mso-style-unhide: no;
462
464
  mso-style-qformat: yes;
@@ -472,8 +474,6 @@ h2 {
472
474
  line-height: 12.5pt;
473
475
  mso-pagination: widow-orphan;
474
476
  page-break-after: avoid;
475
- mso-outline-level: 2;
476
- mso-list: l1 level2 lfo6;
477
477
  mso-hyphenate: none;
478
478
  tab-stops: 27.0pt 35.0pt;
479
479
  font-size: {{normalfontsize}};
@@ -485,7 +485,11 @@ h2 {
485
485
  mso-fareast-language: JA;
486
486
  mso-bidi-font-weight: normal; }
487
487
 
488
- h3 {
488
+ h2 {
489
+ mso-outline-level: 2;
490
+ mso-list: l1 level2 lfo6; }
491
+
492
+ h3, .h3 {
489
493
  mso-style-priority: 3;
490
494
  mso-style-unhide: no;
491
495
  mso-style-qformat: yes;
@@ -501,8 +505,6 @@ h3 {
501
505
  line-height: {{normalfontsize}};
502
506
  mso-pagination: widow-orphan;
503
507
  page-break-after: avoid;
504
- mso-outline-level: 3;
505
- mso-list: l1 level3 lfo6;
506
508
  mso-hyphenate: none;
507
509
  tab-stops: list 36.0pt left 44.0pt;
508
510
  font-size: {{smallerfontsize}};
@@ -513,7 +515,11 @@ h3 {
513
515
  mso-fareast-language: JA;
514
516
  mso-bidi-font-weight: normal; }
515
517
 
516
- h4 {
518
+ h3 {
519
+ mso-outline-level: 3;
520
+ mso-list: l1 level3 lfo6; }
521
+
522
+ h4, .h4 {
517
523
  mso-style-priority: 4;
518
524
  mso-style-unhide: no;
519
525
  mso-style-qformat: yes;
@@ -529,8 +535,6 @@ h4 {
529
535
  line-height: {{normalfontsize}};
530
536
  mso-pagination: widow-orphan;
531
537
  page-break-after: avoid;
532
- mso-outline-level: 4;
533
- mso-list: l1 level4 lfo6;
534
538
  mso-hyphenate: none;
535
539
  tab-stops: 51.05pt 57.0pt 68.0pt;
536
540
  font-size: {{smallerfontsize}};
@@ -541,7 +545,11 @@ h4 {
541
545
  mso-fareast-language: JA;
542
546
  mso-bidi-font-weight: normal; }
543
547
 
544
- h5 {
548
+ h4 {
549
+ mso-outline-level: 4;
550
+ mso-list: l1 level4 lfo6; }
551
+
552
+ h5, .h5 {
545
553
  mso-style-priority: 5;
546
554
  mso-style-unhide: no;
547
555
  mso-style-qformat: yes;
@@ -557,8 +565,6 @@ h5 {
557
565
  line-height: {{normalfontsize}};
558
566
  mso-pagination: widow-orphan;
559
567
  page-break-after: avoid;
560
- mso-outline-level: 5;
561
- mso-list: l1 level5 lfo6;
562
568
  mso-hyphenate: none;
563
569
  tab-stops: 51.05pt list 54.0pt;
564
570
  font-size: {{smallerfontsize}};
@@ -569,7 +575,11 @@ h5 {
569
575
  mso-fareast-language: JA;
570
576
  mso-bidi-font-weight: normal; }
571
577
 
572
- h6 {
578
+ h5 {
579
+ mso-outline-level: 5;
580
+ mso-list: l1 level5 lfo6; }
581
+
582
+ h6, .h6 {
573
583
  mso-style-priority: 6;
574
584
  mso-style-unhide: no;
575
585
  mso-style-qformat: yes;
@@ -585,8 +595,6 @@ h6 {
585
595
  line-height: {{normalfontsize}};
586
596
  mso-pagination: widow-orphan;
587
597
  page-break-after: avoid;
588
- mso-outline-level: 6;
589
- mso-list: l1 level6 lfo6;
590
598
  mso-hyphenate: none;
591
599
  tab-stops: 51.05pt list 72.0pt;
592
600
  font-size: {{smallerfontsize}};
@@ -597,6 +605,10 @@ h6 {
597
605
  mso-fareast-language: JA;
598
606
  mso-bidi-font-weight: normal; }
599
607
 
608
+ h6 {
609
+ mso-outline-level: 6;
610
+ mso-list: l1 level6 lfo6; }
611
+
600
612
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
601
613
  mso-style-priority: 39;
602
614
  mso-style-unhide: no;
@@ -340,7 +340,7 @@ div.figure, p.figure
340
340
 
341
341
 
342
342
 
343
- h1
343
+ h1, .h1
344
344
  {mso-style-priority:1;
345
345
  mso-style-unhide:no;
346
346
  mso-style-qformat:yes;
@@ -355,8 +355,6 @@ h1
355
355
  line-height:13.5pt;
356
356
  mso-pagination:widow-orphan;
357
357
  page-break-after:avoid;
358
- mso-outline-level:1;
359
- mso-list:l1 level1 lfo6;
360
358
  mso-hyphenate:none;
361
359
  tab-stops:20.0pt list 21.6pt left 28.0pt;
362
360
  font-size:13.0pt;
@@ -368,6 +366,10 @@ h1
368
366
  mso-ansi-language:EN-GB;
369
367
  mso-fareast-language:JA;
370
368
  mso-bidi-font-weight:normal;}
369
+ h1 {
370
+ mso-outline-level:1;
371
+ mso-list:l1 level1 lfo6;
372
+ }
371
373
  h1.Annex
372
374
  {mso-style-priority:1;
373
375
  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:27.0pt 35.0pt;
446
446
  font-size:$normalfontsize;
@@ -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:$normalfontsize;
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:list 36.0pt left 44.0pt;
474
476
  font-size:$smallerfontsize;
@@ -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:$normalfontsize;
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:51.05pt 57.0pt 68.0pt;
501
505
  font-size:$smallerfontsize;
@@ -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:$normalfontsize;
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:51.05pt list 54.0pt;
528
534
  font-size:$smallerfontsize;
@@ -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:$normalfontsize;
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:51.05pt list 72.0pt;
555
563
  font-size:$smallerfontsize;
@@ -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;