isodoc 3.7.4.pre.alpha.2 → 3.7.4.pre.alpha.4

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: 8f3db0b24de3c364afcf3b66921a078a1a003dc5df90dfcfa9d5a0648d242cd0
4
- data.tar.gz: d19472cf801aad88534321cd44ebcd1353d244ca5e3fa5ad0b45d2ee93681618
3
+ metadata.gz: f43e74db4fd8114f833bf28698c04fd27a92737c0bc69aa1e84e9c04dc29557c
4
+ data.tar.gz: 7ec202df5c46e7778f0c50aa23920cbcd68cb1fffbb1cea682f067d594bedf73
5
5
  SHA512:
6
- metadata.gz: 2e800f8eab6c652d740c5f0c6841f7ce17a63895320bf8536f73c2eef33a2b63ee7b19d2bee9cdda577b050c1ce9014c8e2f30e10bb6d2c221b703f9f8ec541c
7
- data.tar.gz: e207e14b47e0c1a2e1ed6bf476e7342158f10a05086770e833fb627729973777eff2c35687f86855c6ebf9d79a4f180e955dcbfabb75b65b7030428cf6e1481a
6
+ metadata.gz: 4f138eeeb5305716723c2045cf973d9ca9be58c49576158be779d9a641e1fe8fd551cc0f185fafc8f2b1f7bf3eb985245cb589d74e5cfba290c1d2374dcc515e
7
+ data.tar.gz: 4dd8f1519c7c64281257a2a79f8f27701248c5e1db63f249af0ca5036f8f08d19f833f8935931a525ae6b3731f26fed2364fa56bb145dc6e9525a37d441c5bfb
data/README.adoc CHANGED
@@ -100,3 +100,5 @@ The runtime SCSS compilation path (`css.rb#convert_scss`, which `require`s `sass
100
100
  * a downstream project resolves isodoc from git (e.g. `gem "isodoc", github: "metanorma/isodoc"`): bundler installs the gemspec's file list, which carries only `.scss`
101
101
 
102
102
  NOTE: Downstream maintainers: if your Gemfile pins isodoc from git, your HTML renders will `require "sassc-embedded"` at runtime even though released-gem consumers never do. A downstream `gem "sassc-embedded"` line in that setup is load-bearing, not dead weight — and it becomes droppable once you revert to a released isodoc gem.
103
+
104
+ Conversely, **do not declare `sassc-embedded` in this gem's gemspec** — not as a fix, not as a "missing dependency": released-gem consumers never execute that code path, and adding a compilation toolchain as a hard runtime dependency would burden every consumer for an optional path. The requirement belongs to the consumer's Gemfile precisely when the consumer's resolution pulls `.scss` sources.
data/isodoc.gemspec CHANGED
@@ -32,20 +32,23 @@ 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.5" # already in relaton-render and mn-requirements
35
- spec.add_dependency "relaton-cli", ">= 3.0.0.pre.alpha", "< 3.1.0"
35
+ spec.add_dependency "relaton-cli", ">= 3.0.0", "< 3.1"
36
36
  # spec.add_dependency "metanorma-utils", "~> 2.0" # already in isodoc-i18n
37
37
  spec.add_dependency "mn2pdf", ">= 2.13"
38
38
  spec.add_dependency "mn-requirements", "~> 0.5.0"
39
- # Allowance for the relaton 3.0.0.pre family (mirrors the relaton-cli
40
- # allowance in #824): relaton 3.0.0.pre requires relaton-render
41
- # 3.0.0.pre, which joins the family's versioning and restores the 1.x
42
- # leaves as deprecated shims, so flavor stacks boot against it.
39
+ # Allowance for the relaton 3.0 family (mirrors the relaton-cli
40
+ # allowance in #824): relaton-render 3.0.0 joins the family's
41
+ # versioning and restores the 1.x leaves as deprecated shims, so
42
+ # flavor stacks boot against it.
43
43
  # Released isodoc lines keep resolving relaton-render 1.3.0; only a
44
- # stack that explicitly adopts the relaton prerelease co-resolves
45
- # 3.0.0.pre.
46
- spec.add_dependency "relaton-render", "~> 3.0.0.pre.alpha", "< 5"
44
+ # stack on this floor co-resolves the relaton 3.0 line.
45
+ spec.add_dependency "relaton-render", "~> 3.0", "< 5"
47
46
  spec.add_dependency "roman-numerals"
48
47
  spec.add_dependency "rouge", "~> 4.0"
48
+ # lib/isodoc/css.rb requires sassc-embedded (SassC::Engine) at
49
+ # SCSS-compile time; without a declared dependency, fresh minimal
50
+ # bundles crash at populate_css (metanorma/isodoc#862)
51
+ spec.add_dependency "sassc-embedded"
49
52
  spec.add_dependency "thread_safe"
50
53
  spec.add_dependency "twitter_cldr", ">= 6.6.0"
51
54
  spec.add_dependency "uuidtools"
@@ -0,0 +1,463 @@
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
+ }
@@ -0,0 +1,135 @@
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
@@ -0,0 +1,72 @@
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
@@ -0,0 +1,327 @@
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
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "3.7.4.pre.alpha.2".freeze
2
+ VERSION = "3.7.4.pre.alpha.4".freeze
3
3
  end
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: 3.7.4.pre.alpha.2
4
+ version: 3.7.4.pre.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-25 00:00:00.000000000 Z
11
+ date: 2026-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -58,20 +58,20 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0.pre.alpha
61
+ version: 3.0.0
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: 3.1.0
64
+ version: '3.1'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 3.0.0.pre.alpha
71
+ version: 3.0.0
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: 3.1.0
74
+ version: '3.1'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: mn2pdf
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 3.0.0.pre.alpha
109
+ version: '3.0'
110
110
  - - "<"
111
111
  - !ruby/object:Gem::Version
112
112
  version: '5'
@@ -116,7 +116,7 @@ dependencies:
116
116
  requirements:
117
117
  - - "~>"
118
118
  - !ruby/object:Gem::Version
119
- version: 3.0.0.pre.alpha
119
+ version: '3.0'
120
120
  - - "<"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '5'
@@ -148,6 +148,20 @@ dependencies:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
150
  version: '4.0'
151
+ - !ruby/object:Gem::Dependency
152
+ name: sassc-embedded
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ type: :runtime
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
151
165
  - !ruby/object:Gem::Dependency
152
166
  name: thread_safe
153
167
  requirement: !ruby/object:Gem::Requirement
@@ -220,16 +234,25 @@ files:
220
234
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
221
235
  - lib/isodoc-yaml/i18n-zh-Hant.yaml
222
236
  - lib/isodoc.rb
237
+ - lib/isodoc/base_style/all.css
223
238
  - lib/isodoc/base_style/all.scss
239
+ - lib/isodoc/base_style/bands.css
224
240
  - lib/isodoc/base_style/bands.scss
241
+ - lib/isodoc/base_style/blocks.css
225
242
  - lib/isodoc/base_style/blocks.scss
243
+ - lib/isodoc/base_style/coverpage.css
226
244
  - lib/isodoc/base_style/coverpage.scss
245
+ - lib/isodoc/base_style/defaults.css
227
246
  - lib/isodoc/base_style/defaults.scss
247
+ - lib/isodoc/base_style/metanorma_word.css
228
248
  - lib/isodoc/base_style/metanorma_word.scss
249
+ - lib/isodoc/base_style/nav.css
229
250
  - lib/isodoc/base_style/nav.scss
251
+ - lib/isodoc/base_style/reset.css
230
252
  - lib/isodoc/base_style/reset.scss
231
253
  - lib/isodoc/base_style/rouge.css
232
254
  - lib/isodoc/base_style/scripts.html
255
+ - lib/isodoc/base_style/typography.css
233
256
  - lib/isodoc/base_style/typography.scss
234
257
  - lib/isodoc/class_utils.rb
235
258
  - lib/isodoc/common.rb