isodoc 3.7.2 → 3.7.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: 3f336d204ef62fe18fa00d602cd7281ef876b14cc63c216e718eb8bf60be0f5d
4
- data.tar.gz: 354606fcf812e4d4378a36dac7aa771e875b947fa21ade182faec0b52cff63f9
3
+ metadata.gz: 05f87f0cc3f6c9af1a762da02c747652b67ad51a40c98d85658f69be692e36d1
4
+ data.tar.gz: ef06f84692f35bad821ed4a52993ece6ed7705e582a4a46a9df0d53584e3f97d
5
5
  SHA512:
6
- metadata.gz: e29dd8f0a3e9181226c4df3dccc334497a313052b841671bfbf9b342fe577f4778578c3018eee82409a664f7a11cc937f7ed539dec6d74d2d2d8485a9d3f64cf
7
- data.tar.gz: 2e1de040cfb8293321f989e31250f31b7b3c8a33167eb0846e34e08ae40d329f9e69342d6010b05b23aae615260457b3023d4f02baf084af5c6429dbe94e115d
6
+ metadata.gz: 538c670f229942b89c25779e75fd48bc7ac7b3b5df70d34025eb13e20c0801e875ac1a841f612772ae1f2bde378e776228e31f69c54676e049fd2f1fe5e45ee8
7
+ data.tar.gz: 351d66c6b1d2a9abb29a530ea8fa973b1c7f810d1fe1b24c57df97b05d1c2ab62ac97fda7b45725c2935c6b494d88fed93a4f11040f655ea3b8ebaa8b3542abc
data/isodoc.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "bigdecimal"
33
33
  spec.add_dependency "html2doc", "~> 1.12"
34
34
  # spec.add_dependency "isodoc-i18n", "~> 1.1.0" # already in relaton-render and mn-requirements
35
- spec.add_dependency "relaton-cli", "~> 2.1.0"
35
+ spec.add_dependency "relaton-cli", ">= 2.1.0", "< 3.1.0"
36
36
  # spec.add_dependency "metanorma-utils", "~> 1.5.0" # already in isodoc-i18n
37
37
  spec.add_dependency "mn2pdf", ">= 2.13"
38
38
  spec.add_dependency "mn-requirements", "~> 0.5.0"
@@ -44,7 +44,7 @@ module IsoDoc
44
44
  # bare: do not insert any prefatory material (coverpage, boilerplate)
45
45
  # tocfigures: add ToC for figures
46
46
  # toctables: add ToC for tables
47
- # tocrecommendations: add ToC for rcommendations
47
+ # tocrecommendations: add ToC for recommendations
48
48
  # tocexamples: add ToC for examples
49
49
  # fonts: fontist fonts to install
50
50
  # fontlicenseagreement: fontist font license agreement
data/lib/isodoc/init.rb CHANGED
@@ -7,6 +7,7 @@ module IsoDoc
7
7
  def xref_init(lang, script, _klass, i18n, options)
8
8
  html = HtmlConvert.new(language: @lang, script: @script)
9
9
  @xrefs = Xref.new(lang, script, html, i18n, options)
10
+ @xrefs
10
11
  end
11
12
 
12
13
  def i18n_init(lang, script, locale, i18nyaml = nil)
@@ -16,18 +16,66 @@ module IsoDoc
16
16
  end
17
17
 
18
18
  def std_docid_semantic_parse(id)
19
- parsed = Pubid::Registry.parse(id)
19
+ result = pubid_parse(id)
20
20
  # Pubid::Ieee in particular happily parses any "letters+digits" token
21
21
  # as an IEEE Std identifier and synthesises an "IEEE Std" prefix that
22
22
  # wasn't in the input (e.g. "REF4" -> "IEEE Std REF4"). Refuse to
23
23
  # annotate when the parser has invented structure not present in the
24
24
  # input -- detected by a non-identity round-trip.
25
- return id if parsed.to_s != id
26
- parsed.to_s(annotated: true)
27
- rescue Pubid::Core::Errors::ParseError
25
+ return std_docid_semantic_full(id) if result.nil?
26
+
27
+ result
28
+ rescue StandardError
28
29
  std_docid_semantic_full(id)
29
30
  end
30
31
 
32
+ # pubid 2 has no universal Pubid::Registry.parse: try each registered
33
+ # flavor. Outcomes:
34
+ # 1. A flavor round-trips the input AND renders annotation markup —
35
+ # return it (some flavors' renderers ignore annotated: and
36
+ # return plain text; those need the regex fallback below).
37
+ # 2. A flavor parses but synthesizes structure the input lacks
38
+ # (e.g. "REF4" -> "IEEE Std REF4") — return the input unchanged
39
+ # (1.x's round-trip guard).
40
+ # 3. Nothing parses, a round-tripper renders plain, or the parse
41
+ # only canonicalizes FORM (e.g. em-dash year -> "--") — nil, so
42
+ # the caller uses the regex fallback, which preserves the
43
+ # original string (1.x's ParseError path).
44
+ def pubid_parse(string)
45
+ Pubid.eager_load_flavors!
46
+ parsed_any = false
47
+ plain_roundtrip = false
48
+ canonicalized = false
49
+ Pubid::Registry.flavors.each_value do |flavor|
50
+ next unless flavor.respond_to?(:parse)
51
+
52
+ begin
53
+ parsed = flavor.parse(string)
54
+ parsed_any = true
55
+ if parsed.to_s == string
56
+ annotated = parsed.to_s(annotated: true)
57
+ return annotated if annotated != parsed.to_s
58
+
59
+ plain_roundtrip = true
60
+ elsif dash_normalize(parsed.to_s) == dash_normalize(string)
61
+ canonicalized = true
62
+ end
63
+ rescue StandardError
64
+ next
65
+ end
66
+ end
67
+ return string if parsed_any && !plain_roundtrip && !canonicalized
68
+
69
+ nil
70
+ end
71
+
72
+ # Compare strings ignoring dash FORM (em-dash / double dash / single
73
+ # dash), so a parse that only canonicalizes punctuation is not
74
+ # mistaken for structure synthesis.
75
+ def dash_normalize(string)
76
+ string.tr("—", "-").gsub("--", "-")
77
+ end
78
+
31
79
  # Regex-based fallback when Pubid::Registry cannot parse the id. Emits
32
80
  # the same generic class names that Pubid uses (publisher, docnumber,
33
81
  # part, year) so that flavors' `std_docid_span_classes` remaps work
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "3.7.2".freeze
2
+ VERSION = "3.7.3".freeze
3
3
  end
@@ -105,6 +105,7 @@ module IsoDoc
105
105
  end
106
106
 
107
107
  def sequential_permission_names(clause, container: true)
108
+ @reqt_models or (warn "reqt_models not set, skipping permission numbering" and return)
108
109
  clause.xpath(ns(first_lvl_req)).noblank
109
110
  .each_with_object(ReqCounter.new) do |t, c|
110
111
  m = @reqt_models.model(t["model"])
@@ -117,6 +118,7 @@ module IsoDoc
117
118
  end
118
119
 
119
120
  def sequential_permission_children(elem, lbl, klass, container: false)
121
+ @reqt_models or (warn "reqt_models not set, skipping permission children numbering" and return)
120
122
  elem.xpath(ns(req_children)).noblank
121
123
  .each_with_object(ReqCounter.new) do |t, c|
122
124
  m = @reqt_models.model(t["model"])
@@ -229,6 +231,7 @@ container: false)
229
231
  end
230
232
 
231
233
  def hierarchical_permission_names(clauses, num)
234
+ @reqt_models or (warn "reqt_models not set, skipping hierarchical permission numbering" and return)
232
235
  nodeSet(clauses).each_with_object(ReqCounter.new) do |clause, c|
233
236
  clause.xpath(ns(first_lvl_req)).noblank.each do |t|
234
237
  m = @reqt_models.model(t["model"])
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.2
4
+ version: 3.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-09-08 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: base64
@@ -55,16 +56,22 @@ dependencies:
55
56
  name: relaton-cli
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - "~>"
59
+ - - ">="
59
60
  - !ruby/object:Gem::Version
60
61
  version: 2.1.0
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: 3.1.0
61
65
  type: :runtime
62
66
  prerelease: false
63
67
  version_requirements: !ruby/object:Gem::Requirement
64
68
  requirements:
65
- - - "~>"
69
+ - - ">="
66
70
  - !ruby/object:Gem::Version
67
71
  version: 2.1.0
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: 3.1.0
68
75
  - !ruby/object:Gem::Dependency
69
76
  name: mn2pdf
70
77
  requirement: !ruby/object:Gem::Requirement
@@ -207,25 +214,16 @@ files:
207
214
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
208
215
  - lib/isodoc-yaml/i18n-zh-Hant.yaml
209
216
  - lib/isodoc.rb
210
- - lib/isodoc/base_style/all.css
211
217
  - lib/isodoc/base_style/all.scss
212
- - lib/isodoc/base_style/bands.css
213
218
  - lib/isodoc/base_style/bands.scss
214
- - lib/isodoc/base_style/blocks.css
215
219
  - lib/isodoc/base_style/blocks.scss
216
- - lib/isodoc/base_style/coverpage.css
217
220
  - lib/isodoc/base_style/coverpage.scss
218
- - lib/isodoc/base_style/defaults.css
219
221
  - lib/isodoc/base_style/defaults.scss
220
- - lib/isodoc/base_style/metanorma_word.css
221
222
  - lib/isodoc/base_style/metanorma_word.scss
222
- - lib/isodoc/base_style/nav.css
223
223
  - lib/isodoc/base_style/nav.scss
224
- - lib/isodoc/base_style/reset.css
225
224
  - lib/isodoc/base_style/reset.scss
226
225
  - lib/isodoc/base_style/rouge.css
227
226
  - lib/isodoc/base_style/scripts.html
228
- - lib/isodoc/base_style/typography.css
229
227
  - lib/isodoc/base_style/typography.scss
230
228
  - lib/isodoc/class_utils.rb
231
229
  - lib/isodoc/common.rb
@@ -337,6 +335,7 @@ homepage: https://github.com/metanorma/isodoc
337
335
  licenses:
338
336
  - BSD-2-Clause
339
337
  metadata: {}
338
+ post_install_message:
340
339
  rdoc_options: []
341
340
  require_paths:
342
341
  - lib
@@ -351,7 +350,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
351
350
  - !ruby/object:Gem::Version
352
351
  version: '0'
353
352
  requirements: []
354
- rubygems_version: 4.0.16
353
+ rubygems_version: 3.5.22
354
+ signing_key:
355
355
  specification_version: 4
356
356
  summary: Convert documents in IsoDoc into Word and HTML in AsciiDoc.
357
357
  test_files: []
@@ -1,463 +0,0 @@
1
- @charset "UTF-8";
2
- html, body, div, span, applet, object, iframe,
3
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4
- a, abbr, acronym, address, big, cite, code,
5
- del, dfn, em, img, ins, kbd, q, s, samp,
6
- small, strike, strong, sub, sup, tt, var,
7
- b, u, i, center,
8
- ol, ul, li,
9
- fieldset, form, label, legend,
10
- table, caption, tbody, tfoot, thead, tr, th, td,
11
- article, aside, canvas, details, embed,
12
- figure, figcaption, footer, header, hgroup,
13
- menu, output, ruby, section, summary,
14
- time, mark, audio, video {
15
- margin: 0;
16
- padding: 0;
17
- }
18
-
19
- html, body, div, span, applet, object, iframe,
20
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21
- a, abbr, acronym, address, big, cite, code,
22
- del, dfn, em, img, ins, kbd, q, s, samp,
23
- small, strike, strong, sub, sup, tt, var,
24
- b, u, i, center,
25
- dl, dt, dd, ol, ul, li,
26
- fieldset, form, label, legend,
27
- table, caption, tbody, tfoot, thead, tr, th, td,
28
- article, aside, canvas, details, embed,
29
- figure, figcaption, footer, header, hgroup,
30
- menu, nav, output, ruby, section, summary,
31
- time, mark, audio, video {
32
- border: 0;
33
- font-size: 100%;
34
- }
35
-
36
- html, body, div, span, applet, object, iframe,
37
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
38
- a, abbr, acronym, address, big, cite, code,
39
- del, dfn, em, img, ins, kbd, q, s, samp,
40
- small, strike, strong, tt, var,
41
- b, u, i, center,
42
- dl, dd, ol, ul, li,
43
- fieldset, form, label, legend,
44
- table, caption, tbody, tfoot, thead, tr, th, td,
45
- article, aside, canvas, details, embed,
46
- figure, figcaption, footer, header, hgroup,
47
- menu, nav, output, ruby, section, summary,
48
- time, mark, audio, video {
49
- vertical-align: baseline;
50
- }
51
-
52
- html, body, div, span, applet, object, iframe,
53
- p, blockquote,
54
- a, abbr, acronym, address, big, cite,
55
- del, dfn, em, img, ins, q, s,
56
- small, strike, strong, sub, sup, var,
57
- b, u, i, center,
58
- dl, dt, dd, ol, ul, li,
59
- fieldset, form, label, legend,
60
- table, caption, tbody, tfoot, thead, tr, th, td,
61
- article, aside, canvas, details, embed,
62
- figure, figcaption, footer, header, hgroup,
63
- menu, nav, output, ruby, section, summary,
64
- time, mark, audio, video {
65
- font-family: {{bodyfont}};
66
- }
67
-
68
- code, pre, tt, kbd, samp {
69
- font-family: {{monospacefont}};
70
- font-variant-ligatures: none;
71
- }
72
-
73
- code *, pre *, tt *, kbd *, samp * {
74
- font-family: {{monospacefont}} !important;
75
- font-variant-ligatures: none;
76
- }
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
- }
84
-
85
- sub, sup {
86
- font-size: 0.75em;
87
- }
88
-
89
- article, aside, details, figcaption, figure,
90
- footer, header, hgroup, menu, nav, section {
91
- display: block;
92
- }
93
-
94
- table {
95
- border-collapse: collapse;
96
- border-spacing: 0;
97
- }
98
-
99
- h1, h2, h3, h4, h5, h6 {
100
- font-family: {{headerfont}};
101
- }
102
-
103
- .h1, .h2, .h3, .h4, .h5, .h6 {
104
- font-family: {{headerfont}};
105
- }
106
-
107
- blockquote, q {
108
- quotes: none;
109
- }
110
- blockquote::before, blockquote::after, q::before, q::after {
111
- content: "";
112
- content: none;
113
- }
114
-
115
- .h2Annex {
116
- font-family: {{headerfont}};
117
- }
118
-
119
- dl {
120
- display: grid;
121
- grid-template-columns: max-content auto;
122
- }
123
- dl dt p, dl dd p {
124
- margin-top: 0;
125
- }
126
- dl dt {
127
- grid-column-start: 1;
128
- }
129
- dl dd {
130
- grid-column-start: 2;
131
- }
132
-
133
- dl:has(dt .stem) {
134
- grid-template-columns: fit-content(8em) auto;
135
- }
136
-
137
- b, strong {
138
- font-weight: bold;
139
- }
140
-
141
- div.document-stage-band, div.document-type-band {
142
- background-color: #333333;
143
- }
144
-
145
- a.TableFootnoteRef, span.TableFootnoteRef,
146
- a.FootnoteRef, span.FootnoteRef {
147
- vertical-align: super;
148
- }
149
-
150
- a.TableFootnoteRef, a.FootnoteRef, a.footnote-number,
151
- sup a, a:has(> sup) {
152
- vertical-align: baseline;
153
- }
154
-
155
- .addition {
156
- color: blue;
157
- }
158
-
159
- .deletion {
160
- color: red;
161
- text-decoration: line-through;
162
- }
163
-
164
- ruby {
165
- ruby-position: over;
166
- -webkit-ruby-position: before;
167
- }
168
-
169
- ruby ruby {
170
- ruby-position: under;
171
- -webkit-ruby-position: after;
172
- }
173
-
174
- /* code highlighting with line numbers */
175
- table.rouge-line-table td.rouge-gutter {
176
- -moz-user-select: none;
177
- -ms-user-select: none;
178
- -webkit-user-select: none;
179
- user-select: none;
180
- padding-right: 1em;
181
- }
182
-
183
- table.rouge-line-table td.rouge-code {
184
- -moz-user-select: all;
185
- -ms-user-select: all;
186
- -webkit-user-select: all;
187
- user-select: all;
188
- }
189
-
190
- table.rouge-line-table,
191
- table.rouge-line-table th,
192
- table.rouge-line-table td {
193
- width: auto;
194
- border: none;
195
- margin: 0;
196
- padding: 0;
197
- font-size: 100%;
198
- }
199
-
200
- table.rouge-line-table pre {
201
- margin: 0;
202
- padding: 0;
203
- overflow-x: visible;
204
- font-size: 100%;
205
- }
206
-
207
- /* header § links */
208
- a.header {
209
- color: inherit;
210
- text-decoration: none;
211
- }
212
-
213
- a.header:hover {
214
- color: #a53221 !important;
215
- background: inherit;
216
- box-shadow: none;
217
- }
218
-
219
- a.header:visited {
220
- color: inherit;
221
- text-decoration: none;
222
- }
223
-
224
- a.anchor {
225
- position: absolute;
226
- z-index: 1001;
227
- width: 1.5ex;
228
- margin-left: -1.5ex;
229
- display: block;
230
- text-decoration: none !important;
231
- visibility: hidden;
232
- text-align: center;
233
- font-weight: 400;
234
- }
235
-
236
- a.anchor::before {
237
- content: "§";
238
- font-size: 0.85em;
239
- display: block;
240
- padding-top: 0.1em;
241
- }
242
-
243
- a.anchor:hover {
244
- color: #a53221;
245
- background: inherit;
246
- box-shadow: none;
247
- }
248
-
249
- h1 > a.anchor:hover,
250
- h2 > a.anchor:hover,
251
- h3 > a.anchor:hover,
252
- h4 > a.anchor:hover,
253
- h5 > a.anchor:hover,
254
- h6 > a.anchor:hover,
255
- .inline-header > a.anchor:hover,
256
- h1:hover > a.anchor,
257
- h2:hover > a.anchor,
258
- h3:hover > a.anchor,
259
- h4:hover > a.anchor,
260
- h5:hover > a.anchor,
261
- h6:hover > a.anchor,
262
- .inline-header:hover > a.anchor {
263
- visibility: visible;
264
- }
265
-
266
- /* collapsible snippets: collapsible before hidable */
267
- .hidable {
268
- max-height: 0;
269
- overflow: hidden;
270
- transition: max-height 0.2s ease-out;
271
- }
272
-
273
- .collapsible {
274
- background-color: #777;
275
- color: white;
276
- cursor: pointer;
277
- padding: 3px 0;
278
- margin: 0;
279
- width: 100%;
280
- border: none;
281
- text-align: left;
282
- outline: none;
283
- font-size: 15px;
284
- }
285
-
286
- .active, .collapsible:hover {
287
- background-color: #555;
288
- }
289
-
290
- .collapsible:after {
291
- content: "▼";
292
- color: white;
293
- font-weight: bold;
294
- float: right;
295
- margin-left: 12px;
296
- margin-right: 12px;
297
- }
298
-
299
- .active:after {
300
- content: "▲";
301
- }
302
-
303
- /* collapsible: */
304
- .collapsible + .hidable {
305
- margin-top: 0;
306
- }
307
-
308
- .collapsible:not(.active) + .hidable {
309
- overflow: hidden;
310
- padding: 0;
311
- }
312
-
313
- .svg-container {
314
- width: 100%; /* or any desired width */
315
- display: block; /* ← removes unwanted inline spacing */
316
- }
317
-
318
- svg {
319
- width: 100%;
320
- height: auto; /* ← key to maintaining aspect ratio */
321
- display: block; /* ← removes unwanted inline spacing */
322
- }
323
-
324
- /* style dfn by override in flavor */
325
- dfn {
326
- font-style: inherit;
327
- }
328
-
329
- #standard-band {
330
- background-color: #0AC442;
331
- }
332
-
333
- #standard {
334
- border-bottom: solid 3px #0AC442;
335
- }
336
-
337
- #directive-band {
338
- background-color: #540D6E;
339
- }
340
-
341
- #directive {
342
- border-bottom: solid 3px #540D6E;
343
- }
344
-
345
- #guide-band {
346
- background-color: #D183C9;
347
- }
348
-
349
- #guide {
350
- border-bottom: solid 3px #D183C9;
351
- }
352
-
353
- #specification-band {
354
- background-color: #65AFFF;
355
- }
356
-
357
- #specification {
358
- border-bottom: solid 3px #65AFFF;
359
- }
360
-
361
- #report-band {
362
- background-color: #3A405A;
363
- }
364
-
365
- #report {
366
- border-bottom: solid 3px #3A405A;
367
- }
368
-
369
- #amendment-band {
370
- background-color: #F26430;
371
- }
372
-
373
- #amendment {
374
- border-bottom: solid 3px #F26430;
375
- }
376
-
377
- #corrigendum-band {
378
- background-color: #C84630;
379
- }
380
-
381
- #corrigendum {
382
- border-bottom: solid 3px #C84630;
383
- }
384
-
385
- #administrative-band {
386
- background-color: #BFAE48;
387
- }
388
-
389
- #administrative {
390
- border-bottom: solid 3px #BFAE48;
391
- }
392
-
393
- #advisory-band {
394
- background-color: #BD9391;
395
- }
396
-
397
- #advisory {
398
- border-bottom: solid 3px #BD9391;
399
- }
400
-
401
- #proposal-band {
402
- background-color: #39A0ED;
403
- }
404
-
405
- #proposal {
406
- border-bottom: solid 3px #39A0ED;
407
- }
408
-
409
- #working-draft-band {
410
- background-color: #2D7393;
411
- }
412
-
413
- #working-draft {
414
- border-bottom: solid 3px #2D7393;
415
- }
416
-
417
- #committee-draft-band {
418
- background-color: #2A6B7C;
419
- }
420
-
421
- #committee-draft {
422
- border-bottom: solid 3px #2A6B7C;
423
- }
424
-
425
- #draft-standard-band {
426
- background-color: #1C7F7A;
427
- }
428
-
429
- #draft-standard {
430
- border-bottom: solid 3px #1C7F7A;
431
- }
432
-
433
- #final-draft-band {
434
- background-color: #53C170;
435
- }
436
-
437
- #final-draft {
438
- border-bottom: solid 3px #53C170;
439
- }
440
-
441
- #published-band {
442
- background-color: #069E2D;
443
- }
444
-
445
- #published {
446
- border-bottom: solid 3px #069E2D;
447
- }
448
-
449
- #withdrawn-band {
450
- background-color: #004E64;
451
- }
452
-
453
- #withdrawn {
454
- border-bottom: solid 3px #004E64;
455
- }
456
-
457
- #cancelled-band {
458
- background-color: #2E382E;
459
- }
460
-
461
- #cancelled {
462
- border-bottom: solid 3px #2E382E;
463
- }
@@ -1,135 +0,0 @@
1
- #standard-band {
2
- background-color: #0AC442;
3
- }
4
-
5
- #standard {
6
- border-bottom: solid 3px #0AC442;
7
- }
8
-
9
- #directive-band {
10
- background-color: #540D6E;
11
- }
12
-
13
- #directive {
14
- border-bottom: solid 3px #540D6E;
15
- }
16
-
17
- #guide-band {
18
- background-color: #D183C9;
19
- }
20
-
21
- #guide {
22
- border-bottom: solid 3px #D183C9;
23
- }
24
-
25
- #specification-band {
26
- background-color: #65AFFF;
27
- }
28
-
29
- #specification {
30
- border-bottom: solid 3px #65AFFF;
31
- }
32
-
33
- #report-band {
34
- background-color: #3A405A;
35
- }
36
-
37
- #report {
38
- border-bottom: solid 3px #3A405A;
39
- }
40
-
41
- #amendment-band {
42
- background-color: #F26430;
43
- }
44
-
45
- #amendment {
46
- border-bottom: solid 3px #F26430;
47
- }
48
-
49
- #corrigendum-band {
50
- background-color: #C84630;
51
- }
52
-
53
- #corrigendum {
54
- border-bottom: solid 3px #C84630;
55
- }
56
-
57
- #administrative-band {
58
- background-color: #BFAE48;
59
- }
60
-
61
- #administrative {
62
- border-bottom: solid 3px #BFAE48;
63
- }
64
-
65
- #advisory-band {
66
- background-color: #BD9391;
67
- }
68
-
69
- #advisory {
70
- border-bottom: solid 3px #BD9391;
71
- }
72
-
73
- #proposal-band {
74
- background-color: #39A0ED;
75
- }
76
-
77
- #proposal {
78
- border-bottom: solid 3px #39A0ED;
79
- }
80
-
81
- #working-draft-band {
82
- background-color: #2D7393;
83
- }
84
-
85
- #working-draft {
86
- border-bottom: solid 3px #2D7393;
87
- }
88
-
89
- #committee-draft-band {
90
- background-color: #2A6B7C;
91
- }
92
-
93
- #committee-draft {
94
- border-bottom: solid 3px #2A6B7C;
95
- }
96
-
97
- #draft-standard-band {
98
- background-color: #1C7F7A;
99
- }
100
-
101
- #draft-standard {
102
- border-bottom: solid 3px #1C7F7A;
103
- }
104
-
105
- #final-draft-band {
106
- background-color: #53C170;
107
- }
108
-
109
- #final-draft {
110
- border-bottom: solid 3px #53C170;
111
- }
112
-
113
- #published-band {
114
- background-color: #069E2D;
115
- }
116
-
117
- #published {
118
- border-bottom: solid 3px #069E2D;
119
- }
120
-
121
- #withdrawn-band {
122
- background-color: #004E64;
123
- }
124
-
125
- #withdrawn {
126
- border-bottom: solid 3px #004E64;
127
- }
128
-
129
- #cancelled-band {
130
- background-color: #2E382E;
131
- }
132
-
133
- #cancelled {
134
- border-bottom: solid 3px #2E382E;
135
- }
File without changes
File without changes
File without changes
@@ -1,72 +0,0 @@
1
- ol {
2
- margin-bottom: 0cm;
3
- }
4
-
5
- ul {
6
- margin-bottom: 0cm;
7
- }
8
-
9
- table.MsoISOTable tr {
10
- page-break-inside: avoid;
11
- }
12
-
13
- td {
14
- page-break-inside: avoid;
15
- }
16
-
17
- tr {
18
- page-break-after: avoid;
19
- }
20
-
21
- table.MsoISOTableBig tr {
22
- page-break-inside: auto;
23
- }
24
-
25
- table.MsoISOTableBig td {
26
- page-break-inside: auto;
27
- }
28
-
29
- span.stem {
30
- font-family: "Cambria Math", serif;
31
- mso-ascii-font-family: "Cambria Math";
32
- font-style: italic;
33
- }
34
-
35
- dt {
36
- page-break-inside: avoid;
37
- page-break-after: avoid;
38
- }
39
-
40
- br.section {
41
- page-break-before: always;
42
- mso-break-type: section-break;
43
- }
44
-
45
- br.pagebreak {
46
- page-break-before: always;
47
- mso-special-character: line-break;
48
- }
49
-
50
- span.addition {
51
- color: blue;
52
- }
53
-
54
- span.deletion {
55
- color: red;
56
- text-decoration: line-through;
57
- }
58
-
59
- table.rouge-line-table {
60
- border: none;
61
- mso-border-alt: none;
62
- mso-border-insideh: none;
63
- mso-border-insidev: none;
64
- }
65
-
66
- td.rouge-code p.Sourcecode {
67
- margin: 0px;
68
- }
69
-
70
- div.table_container {
71
- margin-bottom: 14pt;
72
- }
File without changes
@@ -1,327 +0,0 @@
1
- @charset "UTF-8";
2
- html, body, div, span, applet, object, iframe,
3
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
4
- a, abbr, acronym, address, big, cite, code,
5
- del, dfn, em, img, ins, kbd, q, s, samp,
6
- small, strike, strong, sub, sup, tt, var,
7
- b, u, i, center,
8
- ol, ul, li,
9
- fieldset, form, label, legend,
10
- table, caption, tbody, tfoot, thead, tr, th, td,
11
- article, aside, canvas, details, embed,
12
- figure, figcaption, footer, header, hgroup,
13
- menu, output, ruby, section, summary,
14
- time, mark, audio, video {
15
- margin: 0;
16
- padding: 0;
17
- }
18
-
19
- html, body, div, span, applet, object, iframe,
20
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
21
- a, abbr, acronym, address, big, cite, code,
22
- del, dfn, em, img, ins, kbd, q, s, samp,
23
- small, strike, strong, sub, sup, tt, var,
24
- b, u, i, center,
25
- dl, dt, dd, ol, ul, li,
26
- fieldset, form, label, legend,
27
- table, caption, tbody, tfoot, thead, tr, th, td,
28
- article, aside, canvas, details, embed,
29
- figure, figcaption, footer, header, hgroup,
30
- menu, nav, output, ruby, section, summary,
31
- time, mark, audio, video {
32
- border: 0;
33
- font-size: 100%;
34
- }
35
-
36
- html, body, div, span, applet, object, iframe,
37
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
38
- a, abbr, acronym, address, big, cite, code,
39
- del, dfn, em, img, ins, kbd, q, s, samp,
40
- small, strike, strong, tt, var,
41
- b, u, i, center,
42
- dl, dd, ol, ul, li,
43
- fieldset, form, label, legend,
44
- table, caption, tbody, tfoot, thead, tr, th, td,
45
- article, aside, canvas, details, embed,
46
- figure, figcaption, footer, header, hgroup,
47
- menu, nav, output, ruby, section, summary,
48
- time, mark, audio, video {
49
- vertical-align: baseline;
50
- }
51
-
52
- html, body, div, span, applet, object, iframe,
53
- p, blockquote,
54
- a, abbr, acronym, address, big, cite,
55
- del, dfn, em, img, ins, q, s,
56
- small, strike, strong, sub, sup, var,
57
- b, u, i, center,
58
- dl, dt, dd, ol, ul, li,
59
- fieldset, form, label, legend,
60
- table, caption, tbody, tfoot, thead, tr, th, td,
61
- article, aside, canvas, details, embed,
62
- figure, figcaption, footer, header, hgroup,
63
- menu, nav, output, ruby, section, summary,
64
- time, mark, audio, video {
65
- font-family: {{bodyfont}};
66
- }
67
-
68
- code, pre, tt, kbd, samp {
69
- font-family: {{monospacefont}};
70
- font-variant-ligatures: none;
71
- }
72
-
73
- code *, pre *, tt *, kbd *, samp * {
74
- font-family: {{monospacefont}} !important;
75
- font-variant-ligatures: none;
76
- }
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
- }
84
-
85
- sub, sup {
86
- font-size: 0.75em;
87
- }
88
-
89
- article, aside, details, figcaption, figure,
90
- footer, header, hgroup, menu, nav, section {
91
- display: block;
92
- }
93
-
94
- table {
95
- border-collapse: collapse;
96
- border-spacing: 0;
97
- }
98
-
99
- h1, h2, h3, h4, h5, h6 {
100
- font-family: {{headerfont}};
101
- }
102
-
103
- .h1, .h2, .h3, .h4, .h5, .h6 {
104
- font-family: {{headerfont}};
105
- }
106
-
107
- blockquote, q {
108
- quotes: none;
109
- }
110
- blockquote::before, blockquote::after, q::before, q::after {
111
- content: "";
112
- content: none;
113
- }
114
-
115
- .h2Annex {
116
- font-family: {{headerfont}};
117
- }
118
-
119
- dl {
120
- display: grid;
121
- grid-template-columns: max-content auto;
122
- }
123
- dl dt p, dl dd p {
124
- margin-top: 0;
125
- }
126
- dl dt {
127
- grid-column-start: 1;
128
- }
129
- dl dd {
130
- grid-column-start: 2;
131
- }
132
-
133
- dl:has(dt .stem) {
134
- grid-template-columns: fit-content(8em) auto;
135
- }
136
-
137
- b, strong {
138
- font-weight: bold;
139
- }
140
-
141
- div.document-stage-band, div.document-type-band {
142
- background-color: #333333;
143
- }
144
-
145
- a.TableFootnoteRef, span.TableFootnoteRef,
146
- a.FootnoteRef, span.FootnoteRef {
147
- vertical-align: super;
148
- }
149
-
150
- a.TableFootnoteRef, a.FootnoteRef, a.footnote-number,
151
- sup a, a:has(> sup) {
152
- vertical-align: baseline;
153
- }
154
-
155
- .addition {
156
- color: blue;
157
- }
158
-
159
- .deletion {
160
- color: red;
161
- text-decoration: line-through;
162
- }
163
-
164
- ruby {
165
- ruby-position: over;
166
- -webkit-ruby-position: before;
167
- }
168
-
169
- ruby ruby {
170
- ruby-position: under;
171
- -webkit-ruby-position: after;
172
- }
173
-
174
- /* code highlighting with line numbers */
175
- table.rouge-line-table td.rouge-gutter {
176
- -moz-user-select: none;
177
- -ms-user-select: none;
178
- -webkit-user-select: none;
179
- user-select: none;
180
- padding-right: 1em;
181
- }
182
-
183
- table.rouge-line-table td.rouge-code {
184
- -moz-user-select: all;
185
- -ms-user-select: all;
186
- -webkit-user-select: all;
187
- user-select: all;
188
- }
189
-
190
- table.rouge-line-table,
191
- table.rouge-line-table th,
192
- table.rouge-line-table td {
193
- width: auto;
194
- border: none;
195
- margin: 0;
196
- padding: 0;
197
- font-size: 100%;
198
- }
199
-
200
- table.rouge-line-table pre {
201
- margin: 0;
202
- padding: 0;
203
- overflow-x: visible;
204
- font-size: 100%;
205
- }
206
-
207
- /* header § links */
208
- a.header {
209
- color: inherit;
210
- text-decoration: none;
211
- }
212
-
213
- a.header:hover {
214
- color: #a53221 !important;
215
- background: inherit;
216
- box-shadow: none;
217
- }
218
-
219
- a.header:visited {
220
- color: inherit;
221
- text-decoration: none;
222
- }
223
-
224
- a.anchor {
225
- position: absolute;
226
- z-index: 1001;
227
- width: 1.5ex;
228
- margin-left: -1.5ex;
229
- display: block;
230
- text-decoration: none !important;
231
- visibility: hidden;
232
- text-align: center;
233
- font-weight: 400;
234
- }
235
-
236
- a.anchor::before {
237
- content: "§";
238
- font-size: 0.85em;
239
- display: block;
240
- padding-top: 0.1em;
241
- }
242
-
243
- a.anchor:hover {
244
- color: #a53221;
245
- background: inherit;
246
- box-shadow: none;
247
- }
248
-
249
- h1 > a.anchor:hover,
250
- h2 > a.anchor:hover,
251
- h3 > a.anchor:hover,
252
- h4 > a.anchor:hover,
253
- h5 > a.anchor:hover,
254
- h6 > a.anchor:hover,
255
- .inline-header > a.anchor:hover,
256
- h1:hover > a.anchor,
257
- h2:hover > a.anchor,
258
- h3:hover > a.anchor,
259
- h4:hover > a.anchor,
260
- h5:hover > a.anchor,
261
- h6:hover > a.anchor,
262
- .inline-header:hover > a.anchor {
263
- visibility: visible;
264
- }
265
-
266
- /* collapsible snippets: collapsible before hidable */
267
- .hidable {
268
- max-height: 0;
269
- overflow: hidden;
270
- transition: max-height 0.2s ease-out;
271
- }
272
-
273
- .collapsible {
274
- background-color: #777;
275
- color: white;
276
- cursor: pointer;
277
- padding: 3px 0;
278
- margin: 0;
279
- width: 100%;
280
- border: none;
281
- text-align: left;
282
- outline: none;
283
- font-size: 15px;
284
- }
285
-
286
- .active, .collapsible:hover {
287
- background-color: #555;
288
- }
289
-
290
- .collapsible:after {
291
- content: "▼";
292
- color: white;
293
- font-weight: bold;
294
- float: right;
295
- margin-left: 12px;
296
- margin-right: 12px;
297
- }
298
-
299
- .active:after {
300
- content: "▲";
301
- }
302
-
303
- /* collapsible: */
304
- .collapsible + .hidable {
305
- margin-top: 0;
306
- }
307
-
308
- .collapsible:not(.active) + .hidable {
309
- overflow: hidden;
310
- padding: 0;
311
- }
312
-
313
- .svg-container {
314
- width: 100%; /* or any desired width */
315
- display: block; /* ← removes unwanted inline spacing */
316
- }
317
-
318
- svg {
319
- width: 100%;
320
- height: auto; /* ← key to maintaining aspect ratio */
321
- display: block; /* ← removes unwanted inline spacing */
322
- }
323
-
324
- /* style dfn by override in flavor */
325
- dfn {
326
- font-style: inherit;
327
- }
File without changes