isodoc 2.0.5 → 2.0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1cd1a1265557222ad7684ab50c08fd55d8cc92b46a3997a298f61c0e8b151bc
4
- data.tar.gz: 394d232d1f1b9e9b4d138df36b555b090b923c96a3f848e7a88cd9d72a3e173a
3
+ metadata.gz: 127ed935ef3052a904bd3d13f513b6e4772faf36defe3035317f4ea0586ec249
4
+ data.tar.gz: b2cb57af77963c233565bf0599d92f591b17167c80d76752473e83b768f1e260
5
5
  SHA512:
6
- metadata.gz: 38809fca460021e23cdebe0beb21ba510e59120edba915a760ccbe5248cb73381b0694c0842cfd8bedc00f7d45298765281a36a84ad6bd4283e608f80424f67d
7
- data.tar.gz: d2ea4b7bb2b0f461ff511da937a9e1ee359321bb228eba89c9ad2808b1e39c92b39af45100503be594c94f74fea0d0571641314f22e0cef645e91c7555e014b5
6
+ metadata.gz: 143929b58729e90e51149b2db84c08fac0dbc5a4e358ab8759e8cdc2977e4c055ba556ca337173bfbd9fa4a3da118cb0c0b1aee9f9bbb61d8c1515621dc490fb
7
+ data.tar.gz: 61d77e9f87e6d6358beabb8a730cad9c35f79848ae4e31938f2b725aefbe044fb54d1a54006d710b1d235c3353e4cab7c9109bcb5d0c044e22d358e8ddb22475
@@ -0,0 +1,24 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: release
4
+
5
+ on:
6
+ workflow_dispatch:
7
+ inputs:
8
+ next_version:
9
+ description: |
10
+ Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
+ required: true
12
+ default: 'skip'
13
+ push:
14
+ tags: [ v* ]
15
+
16
+ jobs:
17
+ release:
18
+ uses: metanorma/metanorma-build-scripts/.github/workflows/rubygems-release.yml@main
19
+ with:
20
+ next_version: ${{ github.event.inputs.next_version }}
21
+ event_name: ${{ github.event_name }}
22
+ secrets:
23
+ rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
24
+
@@ -36,7 +36,7 @@ module IsoDoc::HtmlFunction
36
36
  def footnote_backlinks(docxml)
37
37
  seen = {}
38
38
  docxml.xpath('//a[@class = "FootnoteRef"]').each_with_index do |x, i|
39
- seen[x["href"]] and next or seen[x["href"]] = true
39
+ (seen[x["href"]] and next) or seen[x["href"]] = true
40
40
  fn = docxml.at(%<//*[@id = '#{x['href'].sub(/^#/, '')}']>) || next
41
41
  footnote_backlinks1(x, fn)
42
42
  x["id"] ||= "fnref:#{i + 1}"
@@ -5,10 +5,9 @@ module IsoDoc
5
5
  if a.at(ns("./name/completename"))
6
6
  ret << a.at(ns("./name/completename")).text
7
7
  else
8
- forenames = a.xpath(ns("./name/forename"))
9
- fn = forenames.each_with_object([]) { |f, m| m << f.text }
10
- surname = a&.at(ns("./name/surname"))&.text
11
- ret << "#{fn.join(' ')} #{surname}"
8
+ fn = a.xpath(ns("./name/forename"))
9
+ .each_with_object([]) { |f, m| m << f.text }
10
+ ret << "#{fn.join(' ')} #{a&.at(ns('./name/surname'))&.text}"
12
11
  end
13
12
  end
14
13
  end
@@ -50,7 +50,7 @@ module IsoDoc
50
50
  node["droploc"] = true
51
51
  ret = resolve_eref_connectives(eref_locality_stacks(refs, target,
52
52
  node))
53
- node["droploc"] = droploc
53
+ node.delete("droploc") unless droploc
54
54
  eref_localities1(target,
55
55
  refs.first.at(ns("./locality/@type")).text,
56
56
  l10n(ret[1..-1].join), nil, node, @lang)
@@ -114,14 +114,18 @@ module IsoDoc
114
114
  added.each { |a| m << a }
115
115
  next if i == refs.size - 1
116
116
 
117
- m << if r&.next_element&.name == "localityStack"
118
- r.next_element["connective"]
119
- else locality_delimiter(r)
120
- end
117
+ m << eref_locality_delimiter(r)
121
118
  end
122
119
  ret.empty? ? ret : [", "] + ret
123
120
  end
124
121
 
122
+ def eref_locality_delimiter(ref)
123
+ if ref&.next_element&.name == "localityStack"
124
+ ref.next_element["connective"]
125
+ else locality_delimiter(ref)
126
+ end
127
+ end
128
+
125
129
  def eref_locality_stack(ref, idx, target, node)
126
130
  ret = []
127
131
  if ref.name == "localityStack"
@@ -134,6 +138,7 @@ module IsoDoc
134
138
  else
135
139
  l = eref_localities0(ref, idx, target, node) and ret << l
136
140
  end
141
+ ret[-1] == ", " and ret.pop
137
142
  ret
138
143
  end
139
144
 
@@ -13,7 +13,7 @@ module IsoDoc
13
13
  super
14
14
  end
15
15
 
16
- def convert1(docxml, filename, dir)
16
+ def convert1(docxml, _filename, _dir)
17
17
  @xrefs.parse docxml
18
18
  info docxml, nil
19
19
  conversions(docxml)
@@ -76,11 +76,11 @@ module IsoDoc
76
76
  end
77
77
 
78
78
  def postprocess(result, filename, _dir)
79
- toXML(result, filename)
79
+ to_xml(result, filename)
80
80
  @files_to_delete.each { |f| FileUtils.rm_rf f }
81
81
  end
82
82
 
83
- def toXML(result, filename)
83
+ def to_xml(result, filename)
84
84
  File.open(filename, "w:UTF-8") { |f| f.write(result) }
85
85
  end
86
86
  end
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "2.0.5".freeze
2
+ VERSION = "2.0.5.3".freeze
3
3
  end
@@ -233,7 +233,7 @@ module IsoDoc
233
233
  end
234
234
 
235
235
  def suffix_url(url)
236
- return url if url.nil? || %r{^https?://}.match?(url)
236
+ return url if url.nil? || %r{^https?://|^#}.match?(url)
237
237
  return url unless File.extname(url).empty?
238
238
 
239
239
  url.sub(/#{File.extname(url)}$/, ".doc")
@@ -107,9 +107,8 @@ module IsoDoc
107
107
  x += 1
108
108
  end
109
109
  (r..(r + rs - 1)).each do |y2|
110
- (x..(x + cs - 1)).each do |x2|
111
- cells2d[y2][x2] = 1
112
- end
110
+ cells2d[y2].nil? and next
111
+ (x..(x + cs - 1)).each { |x2| cells2d[y2][x2] = 1 }
113
112
  end
114
113
  width = (x..(x + cs - 1)).each_with_object({ width: 0 }) do |z, m|
115
114
  m[:width] += w[z]
@@ -35,7 +35,7 @@ module IsoDoc
35
35
  @labels["termnote"].gsub(/%/, note.to_s)
36
36
  end
37
37
 
38
- def increment_label(elems, node, counter, increment = true)
38
+ def increment_label(elems, node, counter, increment: true)
39
39
  return "" if elems.size == 1 && !node["number"]
40
40
 
41
41
  counter.increment(node) if increment
@@ -62,10 +62,9 @@ module IsoDoc
62
62
  c = Counter.new
63
63
  examples.reject { |n| blank?(n["id"]) }.each do |n|
64
64
  c.increment(n)
65
- idx = increment_label(examples, n, c, false)
66
- @anchors[n["id"]] =
67
- anchor_struct(idx, n, @labels["example_xref"], "termexample",
68
- n["unnumbered"])
65
+ idx = increment_label(examples, n, c, increment: false)
66
+ @anchors[n["id"]] = anchor_struct(idx, n, @labels["example_xref"],
67
+ "termexample", n["unnumbered"])
69
68
  end
70
69
  end
71
70
  end
@@ -2,7 +2,7 @@ require "metanorma"
2
2
 
3
3
  module IsoDoc
4
4
  class XslfoPdfConvert < ::IsoDoc::Convert
5
- # MN2PDF_OPTIONS = :mn2pdf
5
+ MN_OPTIONS_KEY = :mn2pdf
6
6
  MN2PDF_FONT_MANIFEST = :font_manifest
7
7
  MN2PDF_OPTIONS = { pdfencryptionlength: "--encryption-length",
8
8
  pdfownerpassword: "--owner-password",
@@ -43,7 +43,7 @@ module IsoDoc
43
43
 
44
44
  def pdf_options(_docxml)
45
45
  ret = {}
46
- font_manifest = @options[MN2PDF_FONT_MANIFEST] and
46
+ font_manifest = @options.dig(MN_OPTIONS_KEY, MN2PDF_FONT_MANIFEST) and
47
47
  ret[MN2PDF_FONT_MANIFEST] = font_manifest
48
48
  @aligncrosselements && !@aligncrosselements.empty? and
49
49
  ret["--param align-cross-elements="] =
@@ -1,10 +1,9 @@
1
-
2
1
  module Metanorma
3
2
  module Output
4
3
 
5
4
  class Base
6
5
 
7
- def convert(in_path, out_path)
6
+ def convert(_in_path, _out_path)
8
7
  raise "This is an abstract class"
9
8
  end
10
9
 
@@ -2203,13 +2203,12 @@ RSpec.describe IsoDoc do
2203
2203
  </bibitem>
2204
2204
  </references>
2205
2205
  </bibliography>
2206
-
2207
2206
  </itu-standard>
2208
2207
  INPUT
2209
2208
  output = <<~OUTPUT
2210
2209
  <itu-standard xmlns='https://www.calconnect.org/standards/itu' type='presentation'>
2211
2210
  <p id='_'>
2212
- <eref type='inline' bibitemid='ref1' citeas='XYZ' droploc=''>
2211
+ <eref type='inline' bibitemid='ref1' citeas='XYZ'>
2213
2212
  <localityStack connective='from'>
2214
2213
  <locality type='clause'>
2215
2214
  <referenceFrom>3</referenceFrom>
@@ -2240,7 +2239,7 @@ RSpec.describe IsoDoc do
2240
2239
  </eref>
2241
2240
  text
2242
2241
  </p>
2243
- <eref type='inline' bibitemid='ref1' citeas='XYZ' droploc=''>
2242
+ <eref type='inline' bibitemid='ref1' citeas='XYZ'>
2244
2243
  <localityStack connective='and'>
2245
2244
  <locality type='clause'>
2246
2245
  <referenceFrom>3</referenceFrom>
@@ -2253,7 +2252,7 @@ RSpec.describe IsoDoc do
2253
2252
  </localityStack>
2254
2253
  XYZ, Clause 3 and 5
2255
2254
  </eref>
2256
- <eref type='inline' bibitemid='ref1' citeas='XYZ' droploc=''>
2255
+ <eref type='inline' bibitemid='ref1' citeas='XYZ'>
2257
2256
  <localityStack connective='and'>
2258
2257
  <locality type='clause'>
2259
2258
  <referenceFrom>3</referenceFrom>
@@ -2297,7 +2296,7 @@ RSpec.describe IsoDoc do
2297
2296
  </localityStack>
2298
2297
  text
2299
2298
  </eref>
2300
- <eref type='inline' bibitemid='ref1' citeas='XYZ' droploc=''>
2299
+ <eref type='inline' bibitemid='ref1' citeas='XYZ'>
2301
2300
  <localityStack connective='from'>
2302
2301
  <locality type='clause'>
2303
2302
  <referenceFrom>3</referenceFrom>
@@ -15,7 +15,7 @@ RSpec.describe IsoDoc do
15
15
  convert = IsoDoc::XslfoPdfConvert.new(
16
16
  {
17
17
  datauriimage: false,
18
- IsoDoc::XslfoPdfConvert::MN2PDF_OPTIONS => {
18
+ IsoDoc::XslfoPdfConvert::MN_OPTIONS_KEY => {
19
19
  IsoDoc::XslfoPdfConvert::MN2PDF_FONT_MANIFEST => nil,
20
20
  },
21
21
  },
@@ -32,8 +32,7 @@ RSpec.describe IsoDoc do
32
32
  convert = IsoDoc::XslfoPdfConvert.new(
33
33
  {
34
34
  datauriimage: false,
35
- IsoDoc::XslfoPdfConvert::MN2PDF_OPTIONS => mn2pdf_opts,
36
- font_manifest: "/tmp/manifest.yml",
35
+ IsoDoc::XslfoPdfConvert::MN_OPTIONS_KEY => mn2pdf_opts,
37
36
  },
38
37
  )
39
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath
@@ -372,6 +372,7 @@ extensions: []
372
372
  extra_rdoc_files: []
373
373
  files:
374
374
  - ".github/workflows/rake.yml"
375
+ - ".github/workflows/release.yml"
375
376
  - ".hound.yml"
376
377
  - ".oss-guides.rubocop.yml"
377
378
  - ".rubocop.yml"
@@ -390,23 +391,15 @@ files:
390
391
  - lib/isodoc-yaml/i18n-ru.yaml
391
392
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
392
393
  - lib/isodoc.rb
393
- - lib/isodoc/base_style/all.css
394
394
  - lib/isodoc/base_style/all.scss
395
395
  - lib/isodoc/base_style/bands.scss
396
- - lib/isodoc/base_style/blocks.css
397
396
  - lib/isodoc/base_style/blocks.scss
398
- - lib/isodoc/base_style/coverpage.css
399
397
  - lib/isodoc/base_style/coverpage.scss
400
- - lib/isodoc/base_style/defaults.css
401
398
  - lib/isodoc/base_style/defaults.scss
402
- - lib/isodoc/base_style/metanorma_word.css
403
399
  - lib/isodoc/base_style/metanorma_word.scss
404
- - lib/isodoc/base_style/nav.css
405
400
  - lib/isodoc/base_style/nav.scss
406
- - lib/isodoc/base_style/reset.css
407
401
  - lib/isodoc/base_style/reset.scss
408
402
  - lib/isodoc/base_style/scripts.html
409
- - lib/isodoc/base_style/typography.css
410
403
  - lib/isodoc/base_style/typography.scss
411
404
  - lib/isodoc/class_utils.rb
412
405
  - lib/isodoc/common.rb
@@ -519,7 +512,7 @@ homepage: https://github.com/metanorma/isodoc
519
512
  licenses:
520
513
  - BSD-2-Clause
521
514
  metadata: {}
522
- post_install_message:
515
+ post_install_message:
523
516
  rdoc_options: []
524
517
  require_paths:
525
518
  - lib
@@ -534,8 +527,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
534
527
  - !ruby/object:Gem::Version
535
528
  version: '0'
536
529
  requirements: []
537
- rubygems_version: 3.2.32
538
- signing_key:
530
+ rubygems_version: 3.1.6
531
+ signing_key:
539
532
  specification_version: 4
540
533
  summary: Convert documents in IsoDoc into Word and HTML in AsciiDoc.
541
534
  test_files: []
@@ -1,227 +0,0 @@
1
- html, body, div, span, applet, object, iframe,
2
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
- a, abbr, acronym, address, big, cite, code,
4
- del, dfn, em, img, ins, kbd, q, s, samp,
5
- small, strike, strong, sub, sup, tt, var,
6
- b, u, i, center,
7
- ol, ul, li,
8
- fieldset, form, label, legend,
9
- table, caption, tbody, tfoot, thead, tr, th, td,
10
- article, aside, canvas, details, embed,
11
- figure, figcaption, footer, header, hgroup,
12
- menu, output, ruby, section, summary,
13
- time, mark, audio, video {
14
- margin: 0;
15
- padding: 0; }
16
-
17
- html, body, div, span, applet, object, iframe,
18
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
19
- a, abbr, acronym, address, big, cite, code,
20
- del, dfn, em, img, ins, kbd, q, s, samp,
21
- small, strike, strong, sub, sup, tt, var,
22
- b, u, i, center,
23
- dl, dt, dd, ol, ul, li,
24
- fieldset, form, label, legend,
25
- table, caption, tbody, tfoot, thead, tr, th, td,
26
- article, aside, canvas, details, embed,
27
- figure, figcaption, footer, header, hgroup,
28
- menu, nav, output, ruby, section, summary,
29
- time, mark, audio, video {
30
- border: 0;
31
- font-size: 100%; }
32
-
33
- html, body, div, span, applet, object, iframe,
34
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
35
- a, abbr, acronym, address, big, cite, code,
36
- del, dfn, em, img, ins, kbd, q, s, samp,
37
- small, strike, strong, tt, var,
38
- b, u, i, center,
39
- dl, dd, ol, ul, li,
40
- fieldset, form, label, legend,
41
- table, caption, tbody, tfoot, thead, tr, th, td,
42
- article, aside, canvas, details, embed,
43
- figure, figcaption, footer, header, hgroup,
44
- menu, nav, output, ruby, section, summary,
45
- time, mark, audio, video {
46
- vertical-align: baseline; }
47
-
48
- html, body, div, span, applet, object, iframe,
49
- p, blockquote,
50
- a, abbr, acronym, address, big, cite,
51
- del, dfn, em, img, ins, q, s,
52
- small, strike, strong, sub, sup, var,
53
- b, u, i, center,
54
- dl, dt, dd, ol, ul, li,
55
- fieldset, form, label, legend,
56
- table, caption, tbody, tfoot, thead, tr, th, td,
57
- article, aside, canvas, details, embed,
58
- figure, figcaption, footer, header, hgroup,
59
- menu, nav, output, ruby, section, summary,
60
- time, mark, audio, video {
61
- font-family: {{bodyfont}}; }
62
-
63
- code, pre, tt, kbd, samp {
64
- font-family: {{monospacefont}};
65
- font-variant-ligatures: none; }
66
-
67
- code *, pre *, tt *, kbd *, samp * {
68
- font-family: {{monospacefont}} !important;
69
- font-variant-ligatures: none; }
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
-
77
- article, aside, details, figcaption, figure,
78
- footer, header, hgroup, menu, nav, section {
79
- display: block; }
80
-
81
- table {
82
- border-collapse: collapse;
83
- border-spacing: 0; }
84
-
85
- h1, h2, h3, h4, h5, h6 {
86
- font-family: {{headerfont}}; }
87
-
88
- .h1, .h2, .h3, .h4, .h5, .h6 {
89
- font-family: {{headerfont}}; }
90
-
91
- blockquote, q {
92
- quotes: none; }
93
- blockquote:before, blockquote:after, q:before, q:after {
94
- content: '';
95
- content: none; }
96
-
97
- .h2Annex {
98
- font-family: {{headerfont}}; }
99
-
100
- dl {
101
- display: grid;
102
- grid-template-columns: max-content auto; }
103
- dl dt p, dl dd p {
104
- margin-top: 0; }
105
- dl dt {
106
- grid-column-start: 1; }
107
- dl dd {
108
- grid-column-start: 2; }
109
-
110
- b, strong {
111
- font-weight: bold; }
112
-
113
- div.document-stage-band, div.document-type-band {
114
- background-color: #333333; }
115
-
116
- a.FootnoteRef + a.FootnoteRef:before {
117
- content: ", ";
118
- vertical-align: super; }
119
-
120
- .addition {
121
- color: blue; }
122
-
123
- .deletion {
124
- color: red;
125
- text-decoration: line-through; }
126
-
127
- #standard-band {
128
- background-color: #0AC442; }
129
-
130
- #standard {
131
- border-bottom: solid 3px #0AC442; }
132
-
133
- #directive-band {
134
- background-color: #540D6E; }
135
-
136
- #directive {
137
- border-bottom: solid 3px #540D6E; }
138
-
139
- #guide-band {
140
- background-color: #D183C9; }
141
-
142
- #guide {
143
- border-bottom: solid 3px #D183C9; }
144
-
145
- #specification-band {
146
- background-color: #65AFFF; }
147
-
148
- #specification {
149
- border-bottom: solid 3px #65AFFF; }
150
-
151
- #report-band {
152
- background-color: #3A405A; }
153
-
154
- #report {
155
- border-bottom: solid 3px #3A405A; }
156
-
157
- #amendment-band {
158
- background-color: #F26430; }
159
-
160
- #amendment {
161
- border-bottom: solid 3px #F26430; }
162
-
163
- #corrigendum-band {
164
- background-color: #C84630; }
165
-
166
- #corrigendum {
167
- border-bottom: solid 3px #C84630; }
168
-
169
- #administrative-band {
170
- background-color: #BFAE48; }
171
-
172
- #administrative {
173
- border-bottom: solid 3px #BFAE48; }
174
-
175
- #advisory-band {
176
- background-color: #BD9391; }
177
-
178
- #advisory {
179
- border-bottom: solid 3px #BD9391; }
180
-
181
- #proposal-band {
182
- background-color: #39A0ED; }
183
-
184
- #proposal {
185
- border-bottom: solid 3px #39A0ED; }
186
-
187
- #working-draft-band {
188
- background-color: #2D7393; }
189
-
190
- #working-draft {
191
- border-bottom: solid 3px #2D7393; }
192
-
193
- #committee-draft-band {
194
- background-color: #2A6B7C; }
195
-
196
- #committee-draft {
197
- border-bottom: solid 3px #2A6B7C; }
198
-
199
- #draft-standard-band {
200
- background-color: #1C7F7A; }
201
-
202
- #draft-standard {
203
- border-bottom: solid 3px #1C7F7A; }
204
-
205
- #final-draft-band {
206
- background-color: #53C170; }
207
-
208
- #final-draft {
209
- border-bottom: solid 3px #53C170; }
210
-
211
- #published-band {
212
- background-color: #069E2D; }
213
-
214
- #published {
215
- border-bottom: solid 3px #069E2D; }
216
-
217
- #withdrawn-band {
218
- background-color: #004E64; }
219
-
220
- #withdrawn {
221
- border-bottom: solid 3px #004E64; }
222
-
223
- #cancelled-band {
224
- background-color: #2E382E; }
225
-
226
- #cancelled {
227
- border-bottom: solid 3px #2E382E; }
File without changes
File without changes
File without changes
@@ -1,47 +0,0 @@
1
- div.table_container {
2
- margin-bottom: 14pt; }
3
-
4
- ol {
5
- margin-bottom: 0cm; }
6
-
7
- ul {
8
- margin-bottom: 0cm; }
9
-
10
- table.MsoISOTable tr {
11
- page-break-inside: avoid; }
12
-
13
- td {
14
- page-break-inside: avoid; }
15
-
16
- tr {
17
- page-break-after: avoid; }
18
-
19
- table.MsoISOTableBig tr {
20
- page-break-inside: auto; }
21
-
22
- table.MsoISOTableBig td {
23
- page-break-inside: auto; }
24
-
25
- span.stem {
26
- font-family: "Cambria Math",serif;
27
- mso-ascii-font-family: "Cambria Math";
28
- font-style: italic; }
29
-
30
- dt {
31
- page-break-inside: avoid;
32
- page-break-after: avoid; }
33
-
34
- br.section {
35
- page-break-before: always;
36
- mso-break-type: section-break; }
37
-
38
- br.pagebreak {
39
- page-break-before: always;
40
- mso-special-character: line-break; }
41
-
42
- span.addition {
43
- color: blue; }
44
-
45
- span.deletion {
46
- color: red;
47
- text-decoration: line-through; }
File without changes
@@ -1,125 +0,0 @@
1
- html, body, div, span, applet, object, iframe,
2
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
- a, abbr, acronym, address, big, cite, code,
4
- del, dfn, em, img, ins, kbd, q, s, samp,
5
- small, strike, strong, sub, sup, tt, var,
6
- b, u, i, center,
7
- ol, ul, li,
8
- fieldset, form, label, legend,
9
- table, caption, tbody, tfoot, thead, tr, th, td,
10
- article, aside, canvas, details, embed,
11
- figure, figcaption, footer, header, hgroup,
12
- menu, output, ruby, section, summary,
13
- time, mark, audio, video {
14
- margin: 0;
15
- padding: 0; }
16
-
17
- html, body, div, span, applet, object, iframe,
18
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
19
- a, abbr, acronym, address, big, cite, code,
20
- del, dfn, em, img, ins, kbd, q, s, samp,
21
- small, strike, strong, sub, sup, tt, var,
22
- b, u, i, center,
23
- dl, dt, dd, ol, ul, li,
24
- fieldset, form, label, legend,
25
- table, caption, tbody, tfoot, thead, tr, th, td,
26
- article, aside, canvas, details, embed,
27
- figure, figcaption, footer, header, hgroup,
28
- menu, nav, output, ruby, section, summary,
29
- time, mark, audio, video {
30
- border: 0;
31
- font-size: 100%; }
32
-
33
- html, body, div, span, applet, object, iframe,
34
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
35
- a, abbr, acronym, address, big, cite, code,
36
- del, dfn, em, img, ins, kbd, q, s, samp,
37
- small, strike, strong, tt, var,
38
- b, u, i, center,
39
- dl, dd, ol, ul, li,
40
- fieldset, form, label, legend,
41
- table, caption, tbody, tfoot, thead, tr, th, td,
42
- article, aside, canvas, details, embed,
43
- figure, figcaption, footer, header, hgroup,
44
- menu, nav, output, ruby, section, summary,
45
- time, mark, audio, video {
46
- vertical-align: baseline; }
47
-
48
- html, body, div, span, applet, object, iframe,
49
- p, blockquote,
50
- a, abbr, acronym, address, big, cite,
51
- del, dfn, em, img, ins, q, s,
52
- small, strike, strong, sub, sup, var,
53
- b, u, i, center,
54
- dl, dt, dd, ol, ul, li,
55
- fieldset, form, label, legend,
56
- table, caption, tbody, tfoot, thead, tr, th, td,
57
- article, aside, canvas, details, embed,
58
- figure, figcaption, footer, header, hgroup,
59
- menu, nav, output, ruby, section, summary,
60
- time, mark, audio, video {
61
- font-family: {{bodyfont}}; }
62
-
63
- code, pre, tt, kbd, samp {
64
- font-family: {{monospacefont}};
65
- font-variant-ligatures: none; }
66
-
67
- code *, pre *, tt *, kbd *, samp * {
68
- font-family: {{monospacefont}} !important;
69
- font-variant-ligatures: none; }
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
-
77
- article, aside, details, figcaption, figure,
78
- footer, header, hgroup, menu, nav, section {
79
- display: block; }
80
-
81
- table {
82
- border-collapse: collapse;
83
- border-spacing: 0; }
84
-
85
- h1, h2, h3, h4, h5, h6 {
86
- font-family: {{headerfont}}; }
87
-
88
- .h1, .h2, .h3, .h4, .h5, .h6 {
89
- font-family: {{headerfont}}; }
90
-
91
- blockquote, q {
92
- quotes: none; }
93
- blockquote:before, blockquote:after, q:before, q:after {
94
- content: '';
95
- content: none; }
96
-
97
- .h2Annex {
98
- font-family: {{headerfont}}; }
99
-
100
- dl {
101
- display: grid;
102
- grid-template-columns: max-content auto; }
103
- dl dt p, dl dd p {
104
- margin-top: 0; }
105
- dl dt {
106
- grid-column-start: 1; }
107
- dl dd {
108
- grid-column-start: 2; }
109
-
110
- b, strong {
111
- font-weight: bold; }
112
-
113
- div.document-stage-band, div.document-type-band {
114
- background-color: #333333; }
115
-
116
- a.FootnoteRef + a.FootnoteRef:before {
117
- content: ", ";
118
- vertical-align: super; }
119
-
120
- .addition {
121
- color: blue; }
122
-
123
- .deletion {
124
- color: red;
125
- text-decoration: line-through; }
File without changes