metanorma-ogc 1.5.4.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rake.yml +4 -32
  3. data/.gitignore +11 -0
  4. data/Gemfile +0 -1
  5. data/lib/isodoc/ogc/base_convert.rb +1 -1
  6. data/lib/isodoc/ogc/biblio.rb +7 -6
  7. data/lib/isodoc/ogc/html/html_ogc_titlepage.html +6 -0
  8. data/lib/isodoc/ogc/html/htmlstyle.css +49 -28
  9. data/lib/isodoc/ogc/html/htmlstyle.scss +19 -11
  10. data/lib/isodoc/ogc/html/word_ogc_titlepage.html +6 -1
  11. data/lib/isodoc/ogc/html/word_ogc_titlepage_wp.html +6 -1
  12. data/lib/isodoc/ogc/html/wordstyle.css +30 -18
  13. data/lib/isodoc/ogc/html/wordstyle.scss +30 -18
  14. data/lib/isodoc/ogc/html/wordstyle_wp.css +22 -12
  15. data/lib/isodoc/ogc/html/wordstyle_wp.scss +22 -12
  16. data/lib/isodoc/ogc/metadata.rb +4 -0
  17. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +1677 -1309
  18. data/lib/isodoc/ogc/ogc.best-practice.xsl +1677 -1309
  19. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +1677 -1309
  20. data/lib/isodoc/ogc/ogc.community-practice.xsl +1677 -1309
  21. data/lib/isodoc/ogc/ogc.community-standard.xsl +1677 -1309
  22. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +1677 -1309
  23. data/lib/isodoc/ogc/ogc.engineering-report.xsl +1677 -1309
  24. data/lib/isodoc/ogc/ogc.other.xsl +1677 -1309
  25. data/lib/isodoc/ogc/ogc.policy.xsl +1677 -1309
  26. data/lib/isodoc/ogc/ogc.reference-model.xsl +1677 -1309
  27. data/lib/isodoc/ogc/ogc.release-notes.xsl +1677 -1309
  28. data/lib/isodoc/ogc/ogc.standard.xsl +1677 -1309
  29. data/lib/isodoc/ogc/ogc.test-suite.xsl +1677 -1309
  30. data/lib/isodoc/ogc/ogc.user-guide.xsl +1677 -1309
  31. data/lib/isodoc/ogc/ogc.white-paper.xsl +1655 -1303
  32. data/lib/isodoc/ogc/presentation_xml_convert.rb +35 -18
  33. data/lib/isodoc/ogc/reqt.rb +17 -3
  34. data/lib/{asciidoctor → metanorma}/ogc/basicdoc.rng +0 -0
  35. data/lib/{asciidoctor → metanorma}/ogc/biblio.rng +2 -2
  36. data/lib/{asciidoctor → metanorma}/ogc/boilerplate.xml +0 -0
  37. data/lib/{asciidoctor → metanorma}/ogc/cleanup.rb +54 -10
  38. data/lib/{asciidoctor → metanorma}/ogc/converter.rb +13 -3
  39. data/lib/{asciidoctor → metanorma}/ogc/front.rb +15 -3
  40. data/lib/{asciidoctor → metanorma}/ogc/isodoc.rng +104 -3
  41. data/lib/{asciidoctor → metanorma}/ogc/ogc.rng +0 -0
  42. data/lib/{asciidoctor → metanorma}/ogc/reqt.rng +0 -0
  43. data/lib/{asciidoctor → metanorma}/ogc/validate.rb +39 -1
  44. data/lib/metanorma/ogc/version.rb +1 -1
  45. data/lib/metanorma/ogc.rb +1 -0
  46. data/lib/metanorma-ogc.rb +0 -1
  47. data/metanorma-ogc.gemspec +1 -1
  48. metadata +14 -15
  49. data/lib/asciidoctor/ogc.rb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 237dae6888c593bf44ad5b0d1f7ab5f6911f9ad32adf109bbd609594cffb8088
4
- data.tar.gz: 0376a84dded3cc7f7f261f8233b7f3bcf0866b6869d78f7c42666a77bf30b64e
3
+ metadata.gz: 44ee1a340ca37855ff816bf3165f9a3c621a49b6cf84c066c1da4c5e59ccddfc
4
+ data.tar.gz: 91717d247b8885191960133aad5ed66a922bd4fc24380d851025b933acce9205
5
5
  SHA512:
6
- metadata.gz: 6f9b4f21f1c69bbb87f73727a6c77a09399afd1745b7fc9b10efff2b4b0245beba920f428eba17adec3aa1825b942f73258d8027b03ead7b6e89c91acf9335a4
7
- data.tar.gz: 5de27f6083e45917d32d11de6256c34449a1c23a3905d52cb7e300b3ae004d0ab4ae27c5f9cd939db47fc3964325e7a617a76340fe268d301729f7712fe431d5
6
+ metadata.gz: d59fdeee4090b4b49224172713ed75482c99bc8fdf06bb2580637d92122228ef7fe8278352f202cd3efcba6a6cce8e9f31916ef0b6e89799e20e4191e7222fde
7
+ data.tar.gz: eb7235d7c53b998ca950074562df5e3192972b1628c939b658abf06548db9047339e8c8418d6576cd43e04be8605370fcb849ce3f39a8c5225501f334b9ed949
@@ -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
@@ -10,4 +10,3 @@ if File.exist? "Gemfile.devel"
10
10
  eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
11
11
  end
12
12
 
13
- gem "metanorma-cli"
@@ -28,7 +28,7 @@ module IsoDoc
28
28
  def term_cleanup(docxml)
29
29
  docxml.xpath("//p[@class = 'Terms']").each do |d|
30
30
  term_cleanup_merge_termnum(d)
31
- term_cleanup_merge_admitted(d)
31
+ # term_cleanup_merge_admitted(d)
32
32
  end
33
33
  docxml
34
34
  end
@@ -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
@@ -35,6 +35,12 @@
35
35
  -->
36
36
 
37
37
  <div class="authors">
38
+ {% if contributors %}
39
+ {% for contributor in contributors %}
40
+ <span>{{ contributor }} <span class="roletag">Contributor</span></span>
41
+ {% endfor %}
42
+ {% endif %}
43
+
38
44
  {% if editors %}
39
45
  {% for editor in editors %}
40
46
  <span>{{ editor }} <span class="roletag">Editor</span></span>
@@ -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,60 @@ 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
+ font-size: 100%; }
570
+
551
571
  @media screen and (min-width: 768px) {
552
572
  nav {
553
573
  position: fixed;
@@ -609,7 +629,7 @@ dl {
609
629
  @media screen and (min-width: 768px) {
610
630
  h1.toc-contents {
611
631
  margin-top: 1em; }
612
- ul#toc-list {
632
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
613
633
  padding: 0;
614
634
  margin: 0; } }
615
635
 
@@ -718,32 +738,33 @@ p {
718
738
  margin-top: 1em;
719
739
  margin-bottom: 1em; }
720
740
 
721
- h1, h2, h3, h4, h5, h6 {
741
+ h1, h2, h3, h4, h5, h6,
742
+ .h1, .h2, .h3, .h4, .h5, .h6 {
722
743
  color: #00335b;
723
744
  font-weight: 400;
724
745
  margin-top: 1.6em;
725
746
  margin-bottom: 0.3em; }
726
747
 
727
- h1 {
748
+ h1, .h1 {
728
749
  font-size: 1.8em;
729
750
  text-transform: uppercase;
730
751
  margin-top: 2em; }
731
- h1 #content {
752
+ h1 #content, .h1 #content {
732
753
  margin-top: 2em; }
733
754
 
734
- h2 {
755
+ h2, .h2 {
735
756
  margin-top: 1.3em;
736
757
  font-size: 1.7em;
737
758
  font-weight: 300; }
738
- h2 p {
759
+ h2 p, .h2 p {
739
760
  display: inline; }
740
761
 
741
- h3 {
762
+ h3, .h3 {
742
763
  margin-top: 1.3em;
743
764
  font-size: 1.5em;
744
765
  font-weight: 100; }
745
766
 
746
- h4 {
767
+ h4, .h4 {
747
768
  font-size: 1.4em; }
748
769
 
749
770
  .contact-info {
@@ -1083,18 +1104,18 @@ a.anchorjs-link:hover {
1083
1104
  margin: 2cm 1cm; }
1084
1105
 
1085
1106
  @media print {
1086
- h1, h2, h3, h4 {
1107
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
1087
1108
  page-break-after: avoid;
1088
1109
  margin-top: 1.2em; }
1089
- h1 {
1110
+ h1, .h1 {
1090
1111
  font-size: 1.5em;
1091
1112
  line-height: 1.5; }
1092
- h1.content {
1113
+ h1.content, .h1.content {
1093
1114
  margin-top: 2em;
1094
1115
  line-height: 2.5em; }
1095
- h2 {
1116
+ h2, .h2 {
1096
1117
  font-size: 1.2em; }
1097
- h3 {
1118
+ h3, .h3 {
1098
1119
  font-size: 1em; }
1099
1120
  .prefatory-section {
1100
1121
  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,12 @@ 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
+ font-size: 100%;
93
+ }
94
+
88
95
  nav {
89
96
  @include sidebarNav(#f1f8ff, 323px, 45px);
90
97
 
@@ -111,7 +118,7 @@ nav {
111
118
  margin-top: 1em;
112
119
  }
113
120
 
114
- ul#toc-list {
121
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
115
122
  padding: 0;
116
123
  margin: 0;
117
124
  }
@@ -172,14 +179,15 @@ p {
172
179
  margin-bottom: 1em;
173
180
  }
174
181
 
175
- h1, h2, h3, h4, h5, h6 {
182
+ h1, h2, h3, h4, h5, h6,
183
+ .h1, .h2, .h3, .h4, .h5, .h6 {
176
184
  color: #00335b;
177
185
  font-weight: 400;
178
186
  margin-top: 1.6em;
179
187
  margin-bottom: 0.3em;
180
188
  }
181
189
 
182
- h1 {
190
+ h1, .h1 {
183
191
  font-size: 1.8em;
184
192
  text-transform: uppercase;
185
193
  margin-top: 2em;
@@ -189,7 +197,7 @@ h1 {
189
197
  }
190
198
  }
191
199
 
192
- h2 {
200
+ h2, .h2 {
193
201
  margin-top: 1.3em;
194
202
  font-size: 1.7em;
195
203
  font-weight: 300;
@@ -199,13 +207,13 @@ h2 {
199
207
  }
200
208
  }
201
209
 
202
- h3 {
210
+ h3, .h3 {
203
211
  margin-top: 1.3em;
204
212
  font-size: 1.5em;
205
213
  font-weight: 100;
206
214
  }
207
215
 
208
- h4 {
216
+ h4, .h4 {
209
217
  font-size: 1.4em;
210
218
  }
211
219
 
@@ -555,12 +563,12 @@ a.anchorjs-link {
555
563
  }
556
564
 
557
565
  @media print {
558
- h1, h2, h3, h4 {
566
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
559
567
  page-break-after: avoid;
560
568
  margin-top: 1.2em;
561
569
  }
562
570
 
563
- h1 {
571
+ h1, .h1 {
564
572
  font-size: 1.5em;
565
573
  line-height: 1.5;
566
574
 
@@ -570,11 +578,11 @@ a.anchorjs-link {
570
578
  }
571
579
  }
572
580
 
573
- h2 {
581
+ h2, .h2 {
574
582
  font-size: 1.2em
575
583
  }
576
584
 
577
- h3 {
585
+ h3, .h3 {
578
586
  font-size: 1em;
579
587
  }
580
588
 
@@ -30,9 +30,14 @@ style='mso-no-proof:yes;font-size:10.0pt'>Version: {{ edition }}</span></span></
30
30
  <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
31
31
  style='mso-no-proof:yes;font-size:10.0pt'>Category: {{ doctype }}</span></span></p>
32
32
 
33
+ {% if contributors %}
34
+ <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
35
+ style='mso-no-proof:yes;font-size:10.0pt'>Contributor{% if contributors.size > 1 %}s{% endif %}: {{ contributors | join: ", " }}</span></span></p>
36
+ {% endif %}
37
+
33
38
  {% if editors %}
34
39
  <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
35
- style='mso-no-proof:yes;font-size:10.0pt'>Editor: {{ editors | join: ", " }}</span></span></p>
40
+ style='mso-no-proof:yes;font-size:10.0pt'>Editor{% if editors.size > 1 %}s{% endif %}: {{ editors | join: ", " }}</span></span></p>
36
41
  {% endif %}
37
42
 
38
43
  <p class="MsoNormal" align="center" style='text-align:center;line-height:18.0pt;margin-bottom:0.0pt'><b
@@ -50,9 +50,14 @@ style='mso-no-proof:yes;font-size:10.0pt'>Version: {{ edition }}</span></p>
50
50
  <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
51
51
  style='mso-no-proof:yes;font-size:10.0pt'>Category: {{ doctype }}</span></p>
52
52
 
53
+ {% if contributors %}
54
+ <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
55
+ style='mso-no-proof:yes;font-size:10.0pt'>Contributor{% if contributors.size > 1 %}s{% endif %}: {{ contributors | join: ", " }}</span></span></p>
56
+ {% endif %}
57
+
53
58
  {% if editors %}
54
59
  <p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
55
- style='mso-no-proof:yes;font-size:10.0pt'>Editor: {{ editors | join: ", " }}</span></p>
60
+ style='mso-no-proof:yes;font-size:10.0pt'>Editor{% if editors.size > 1 %}s{% endif %}: {{ editors | join: ", " }}</span></span></p>
56
61
  {% endif %}
57
62
 
58
63
  <div style="margin-top:1.0cm;">
@@ -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;