metanorma-ribose 1.8.3 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +3 -31
- data/.gitignore +5 -0
- data/bin/console +1 -1
- data/lib/isodoc/ribose/html/htmlstyle.css +42 -27
- data/lib/isodoc/ribose/html/htmlstyle.scss +19 -12
- data/lib/isodoc/ribose/html/scripts.html +0 -1
- data/lib/isodoc/ribose/html/wordstyle.css +30 -18
- data/lib/isodoc/ribose/html/wordstyle.scss +30 -18
- data/lib/isodoc/ribose/presentation_xml_convert.rb +8 -0
- data/lib/isodoc/ribose/ribose.standard.xsl +1646 -1325
- data/lib/{asciidoctor → metanorma}/ribose/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/biblio.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/boilerplate.xml +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/converter.rb +7 -7
- data/lib/{asciidoctor → metanorma}/ribose/isodoc.rng +20 -2
- data/lib/{asciidoctor → metanorma}/ribose/reqt.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/rsd.rng +0 -0
- data/lib/metanorma/ribose/version.rb +1 -1
- data/lib/metanorma-ribose.rb +1 -1
- data/metanorma-ribose.gemspec +1 -1
- data/metanorma.yml +2 -1
- metadata +12 -13
- data/lib/asciidoctor/ribose.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1bbd030e33fe7a12a2a2ca6c14cec0adbdff9033c66b57428bfaeae6970b82d
|
4
|
+
data.tar.gz: f0acb7f86fb7973434f9be2bab217bba9fc07eb0e1695133643319855694cc77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4539903e8e6d624f91b6d567349ba36936b3c923ea7f3ba85e29e0f18d2956d14822c62c5fd68e41deb8cab77d27adc0a585f4aac19ae86c3193d26f004f66c5
|
7
|
+
data.tar.gz: 8580a2b564f1e515e3eefc271b39cdb216fec936e56f34289f6a68342b57d1f8543fb85e168240b2e2a68eff617773dc942fb7dbf6de1e559916692ca4b7c923
|
data/.github/workflows/rake.yml
CHANGED
@@ -10,34 +10,6 @@ on:
|
|
10
10
|
|
11
11
|
jobs:
|
12
12
|
rake:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
strategy:
|
17
|
-
fail-fast: false
|
18
|
-
matrix:
|
19
|
-
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
|
-
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
|
-
experimental: [ false ]
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@master
|
24
|
-
|
25
|
-
- uses: ruby/setup-ruby@v1
|
26
|
-
with:
|
27
|
-
ruby-version: ${{ matrix.ruby }}
|
28
|
-
bundler-cache: true
|
29
|
-
|
30
|
-
- uses: metanorma/metanorma-build-scripts/plantuml-setup-action@master
|
31
|
-
|
32
|
-
- run: bundle exec rake
|
33
|
-
|
34
|
-
tests-passed:
|
35
|
-
needs: rake
|
36
|
-
runs-on: ubuntu-latest
|
37
|
-
steps:
|
38
|
-
- uses: peter-evans/repository-dispatch@v1
|
39
|
-
with:
|
40
|
-
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
41
|
-
repository: ${{ github.repository }}
|
42
|
-
event-type: tests-passed
|
43
|
-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
13
|
+
uses: metanorma/metanorma-build-scripts/.github/workflows/plantuml-rake.yml@main
|
14
|
+
secrets:
|
15
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
data/.gitignore
CHANGED
data/bin/console
CHANGED
@@ -75,6 +75,12 @@ code *, pre *, tt *, kbd *, samp * {
|
|
75
75
|
font-family: {{monospacefont}} !important;
|
76
76
|
font-variant-ligatures: none; }
|
77
77
|
|
78
|
+
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
79
|
+
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
80
|
+
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
81
|
+
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
82
|
+
font-size: {{monospacefontsize}}; }
|
83
|
+
|
78
84
|
article, aside, details, figcaption, figure,
|
79
85
|
footer, header, hgroup, menu, nav, section {
|
80
86
|
display: block; }
|
@@ -86,6 +92,9 @@ table {
|
|
86
92
|
h1, h2, h3, h4, h5, h6 {
|
87
93
|
font-family: {{headerfont}}; }
|
88
94
|
|
95
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
96
|
+
font-family: {{headerfont}}; }
|
97
|
+
|
89
98
|
blockquote, q {
|
90
99
|
quotes: none; }
|
91
100
|
blockquote:before, blockquote:after, q:before, q:after {
|
@@ -239,51 +248,55 @@ body {
|
|
239
248
|
main {
|
240
249
|
margin: 0 3em 0 6em; }
|
241
250
|
|
242
|
-
#toc {
|
251
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
243
252
|
font-family: {{bodyfont}};
|
244
253
|
font-weight: 400; }
|
245
|
-
#toc ul {
|
254
|
+
#toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
246
255
|
margin: 0;
|
247
256
|
padding: 0;
|
248
257
|
list-style: none; }
|
249
|
-
#toc ul li a {
|
258
|
+
#toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
250
259
|
padding: 5px 10px; }
|
251
|
-
#toc ul a {
|
260
|
+
#toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
252
261
|
color: #485094;
|
253
262
|
text-decoration: none;
|
254
263
|
display: block; }
|
255
|
-
#toc ul a:hover {
|
264
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
256
265
|
box-shadow: none;
|
257
266
|
color: #485094; }
|
258
|
-
#toc .h2 {
|
267
|
+
#toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
259
268
|
padding-left: 30px; }
|
260
|
-
#toc .h3 {
|
269
|
+
#toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
261
270
|
padding-left: 50px; }
|
262
|
-
#toc .toc-active, #toc li:hover {
|
271
|
+
#toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
263
272
|
background: #1661AD;
|
264
273
|
box-shadow: inset -5px 0px 10px -5px #1661AD !important; }
|
265
|
-
#toc .toc-active a, #toc li:hover a {
|
274
|
+
#toc .toc-active a, #toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
266
275
|
color: #485094; }
|
267
276
|
@media print {
|
268
|
-
#toc .toc-active, #toc li:hover {
|
277
|
+
#toc .toc-active, #toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
269
278
|
background: white;
|
270
279
|
box-shadow: none !important; }
|
271
|
-
#toc .toc-active a {
|
280
|
+
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
272
281
|
color: #485094; }
|
273
|
-
#toc li:hover a {
|
282
|
+
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
274
283
|
color: black; } }
|
275
284
|
@media screen and (max-width: 768px) {
|
276
|
-
#toc {
|
285
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
277
286
|
padding: 0 1.5em;
|
278
287
|
overflow: visible; } }
|
279
|
-
#toc .toc-active a {
|
288
|
+
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
280
289
|
color: white; }
|
281
|
-
#toc li a {
|
290
|
+
#toc li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
|
282
291
|
text-transform: uppercase; }
|
283
|
-
#toc ul a:hover {
|
292
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
284
293
|
box-shadow: none;
|
285
294
|
color: white; }
|
286
295
|
|
296
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
297
|
+
margin-top: 0;
|
298
|
+
margin-bottom: 0; }
|
299
|
+
|
287
300
|
@media screen and (min-width: 768px) {
|
288
301
|
nav {
|
289
302
|
position: fixed;
|
@@ -368,7 +381,7 @@ main {
|
|
368
381
|
display: none; }
|
369
382
|
h1.toc-contents {
|
370
383
|
margin-top: 1em; }
|
371
|
-
ul#toc-list {
|
384
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
372
385
|
padding: 0;
|
373
386
|
margin: 0; } }
|
374
387
|
|
@@ -537,27 +550,28 @@ h2,
|
|
537
550
|
h3,
|
538
551
|
h4,
|
539
552
|
h5,
|
540
|
-
h6
|
553
|
+
h6,
|
554
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
541
555
|
font-family: {{headerfont}};
|
542
556
|
color: #1661AD;
|
543
557
|
font-weight: 300;
|
544
558
|
margin-top: 1.6em;
|
545
559
|
margin-bottom: 0.3em; }
|
546
560
|
|
547
|
-
h1 {
|
561
|
+
h1, .h1 {
|
548
562
|
font-size: 1.6em;
|
549
563
|
text-transform: uppercase;
|
550
564
|
margin-top: 2em; }
|
551
565
|
|
552
|
-
h1#content {
|
566
|
+
h1#content, #content.h1 {
|
553
567
|
margin-top: 2em; }
|
554
568
|
|
555
|
-
h2 {
|
569
|
+
h2, .h2 {
|
556
570
|
margin-top: 1.3em;
|
557
571
|
font-size: 1.3em;
|
558
572
|
font-weight: 400; }
|
559
573
|
|
560
|
-
h3 {
|
574
|
+
h3, .h3 {
|
561
575
|
margin-top: 1.1em;
|
562
576
|
font-size: 1.1em;
|
563
577
|
font-weight: 100; }
|
@@ -840,7 +854,7 @@ p {
|
|
840
854
|
margin-top: 1em;
|
841
855
|
margin-bottom: 1em; }
|
842
856
|
|
843
|
-
h2 p {
|
857
|
+
h2 p, .h2 p {
|
844
858
|
display: inline; }
|
845
859
|
|
846
860
|
/*
|
@@ -970,7 +984,8 @@ To top button
|
|
970
984
|
h1,
|
971
985
|
h2,
|
972
986
|
h3,
|
973
|
-
h4
|
987
|
+
h4,
|
988
|
+
.h1, .h2, .h3, .h4 {
|
974
989
|
page-break-after: avoid;
|
975
990
|
margin-top: 1.2em; }
|
976
991
|
.note,
|
@@ -996,12 +1011,12 @@ To top button
|
|
996
1011
|
h1.content {
|
997
1012
|
margin-top: 2em;
|
998
1013
|
line-height: 2.5em; }
|
999
|
-
h1 {
|
1014
|
+
h1, .h1 {
|
1000
1015
|
font-size: 1.5em;
|
1001
1016
|
line-height: 1.5; }
|
1002
|
-
h2 {
|
1017
|
+
h2, .h2 {
|
1003
1018
|
font-size: 1.2em; }
|
1004
|
-
h3 {
|
1019
|
+
h3, .h3 {
|
1005
1020
|
font-size: 1em; }
|
1006
1021
|
.Note {
|
1007
1022
|
background-color: #fff495;
|
@@ -18,7 +18,7 @@ main {
|
|
18
18
|
margin: 0 3em 0 6em;
|
19
19
|
}
|
20
20
|
|
21
|
-
#toc {
|
21
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
22
22
|
@include toc(#485094, #1661AD, #485094);
|
23
23
|
@include sidebarToc();
|
24
24
|
|
@@ -38,6 +38,11 @@ main {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
|
41
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
42
|
+
margin-top: 0;
|
43
|
+
margin-bottom: 0;
|
44
|
+
}
|
45
|
+
|
41
46
|
nav {
|
42
47
|
@include sidebarNav(#f7f7f7, 323px, 45px);
|
43
48
|
}
|
@@ -72,7 +77,7 @@ nav {
|
|
72
77
|
margin-top: 1em;
|
73
78
|
}
|
74
79
|
|
75
|
-
ul#toc-list {
|
80
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
76
81
|
padding: 0;
|
77
82
|
margin: 0;
|
78
83
|
}
|
@@ -202,7 +207,8 @@ h2,
|
|
202
207
|
h3,
|
203
208
|
h4,
|
204
209
|
h5,
|
205
|
-
h6
|
210
|
+
h6,
|
211
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
206
212
|
font-family: $headerfont;
|
207
213
|
color: #1661AD;
|
208
214
|
font-weight: 300;
|
@@ -210,23 +216,23 @@ h6 {
|
|
210
216
|
margin-bottom: 0.3em;
|
211
217
|
}
|
212
218
|
|
213
|
-
h1 {
|
219
|
+
h1, .h1 {
|
214
220
|
font-size: 1.6em;
|
215
221
|
text-transform: uppercase;
|
216
222
|
margin-top: 2em;
|
217
223
|
}
|
218
224
|
|
219
|
-
h1#content {
|
225
|
+
h1#content, .h1#content {
|
220
226
|
margin-top: 2em;
|
221
227
|
}
|
222
228
|
|
223
|
-
h2 {
|
229
|
+
h2, .h2 {
|
224
230
|
margin-top: 1.3em;
|
225
231
|
font-size: 1.3em;
|
226
232
|
font-weight: 400;
|
227
233
|
}
|
228
234
|
|
229
|
-
h3 {
|
235
|
+
h3, .h3 {
|
230
236
|
margin-top: 1.1em;
|
231
237
|
font-size: 1.1em;
|
232
238
|
font-weight: 100;
|
@@ -500,7 +506,7 @@ p {
|
|
500
506
|
margin-bottom: 1em;
|
501
507
|
}
|
502
508
|
|
503
|
-
h2 p {
|
509
|
+
h2 p, .h2 p {
|
504
510
|
display: inline;
|
505
511
|
}
|
506
512
|
|
@@ -673,7 +679,8 @@ To top button
|
|
673
679
|
h1,
|
674
680
|
h2,
|
675
681
|
h3,
|
676
|
-
h4
|
682
|
+
h4,
|
683
|
+
.h1, .h2, .h3, .h4 {
|
677
684
|
page-break-after: avoid;
|
678
685
|
margin-top: 1.2em;
|
679
686
|
}
|
@@ -717,16 +724,16 @@ To top button
|
|
717
724
|
line-height: 2.5em;
|
718
725
|
}
|
719
726
|
|
720
|
-
h1 {
|
727
|
+
h1, .h1 {
|
721
728
|
font-size: 1.5em;
|
722
729
|
line-height: 1.5;
|
723
730
|
}
|
724
731
|
|
725
|
-
h2 {
|
732
|
+
h2, .h2 {
|
726
733
|
font-size: 1.2em
|
727
734
|
}
|
728
735
|
|
729
|
-
h3 {
|
736
|
+
h3, .h3 {
|
730
737
|
font-size: 1em;
|
731
738
|
}
|
732
739
|
|
@@ -370,7 +370,7 @@ span.blackgraphtx {
|
|
370
370
|
div.figure, p.figure {
|
371
371
|
text-align: center; }
|
372
372
|
|
373
|
-
h1 {
|
373
|
+
h1, .h1 {
|
374
374
|
mso-style-priority: 1;
|
375
375
|
mso-style-unhide: no;
|
376
376
|
mso-style-qformat: yes;
|
@@ -385,8 +385,6 @@ h1 {
|
|
385
385
|
line-height: 13.5pt;
|
386
386
|
mso-pagination: widow-orphan;
|
387
387
|
page-break-after: avoid;
|
388
|
-
mso-outline-level: 1;
|
389
|
-
mso-list: l1 level1 lfo6;
|
390
388
|
mso-hyphenate: none;
|
391
389
|
tab-stops: 20.0pt list 21.6pt left 28.0pt;
|
392
390
|
font-size: 13.0pt;
|
@@ -400,6 +398,10 @@ h1 {
|
|
400
398
|
mso-fareast-language: JA;
|
401
399
|
mso-bidi-font-weight: normal; }
|
402
400
|
|
401
|
+
h1 {
|
402
|
+
mso-outline-level: 1;
|
403
|
+
mso-list: l1 level1 lfo6; }
|
404
|
+
|
403
405
|
h1.Annex {
|
404
406
|
mso-style-priority: 1;
|
405
407
|
mso-style-unhide: no;
|
@@ -459,7 +461,7 @@ h1.Annex {
|
|
459
461
|
mso-fareast-language: JA;
|
460
462
|
mso-bidi-font-weight: normal; }
|
461
463
|
|
462
|
-
h2 {
|
464
|
+
h2, .h2 {
|
463
465
|
mso-style-priority: 2;
|
464
466
|
mso-style-unhide: no;
|
465
467
|
mso-style-qformat: yes;
|
@@ -475,8 +477,6 @@ h2 {
|
|
475
477
|
line-height: 12.5pt;
|
476
478
|
mso-pagination: widow-orphan;
|
477
479
|
page-break-after: avoid;
|
478
|
-
mso-outline-level: 2;
|
479
|
-
mso-list: l1 level2 lfo6;
|
480
480
|
mso-hyphenate: none;
|
481
481
|
tab-stops: 27.0pt 35.0pt;
|
482
482
|
font-size: {{normalfontsize}};
|
@@ -489,7 +489,11 @@ h2 {
|
|
489
489
|
mso-fareast-language: JA;
|
490
490
|
mso-bidi-font-weight: normal; }
|
491
491
|
|
492
|
-
|
492
|
+
h2 {
|
493
|
+
mso-outline-level: 2;
|
494
|
+
mso-list: l1 level2 lfo6; }
|
495
|
+
|
496
|
+
h3, .h3 {
|
493
497
|
mso-style-priority: 3;
|
494
498
|
mso-style-unhide: no;
|
495
499
|
mso-style-qformat: yes;
|
@@ -505,8 +509,6 @@ h3 {
|
|
505
509
|
line-height: {{normalfontsize}};
|
506
510
|
mso-pagination: widow-orphan;
|
507
511
|
page-break-after: avoid;
|
508
|
-
mso-outline-level: 3;
|
509
|
-
mso-list: l1 level3 lfo6;
|
510
512
|
mso-hyphenate: none;
|
511
513
|
tab-stops: list 36.0pt left 44.0pt;
|
512
514
|
font-size: {{normalfontsize}};
|
@@ -518,7 +520,11 @@ h3 {
|
|
518
520
|
mso-fareast-language: JA;
|
519
521
|
mso-bidi-font-weight: normal; }
|
520
522
|
|
521
|
-
|
523
|
+
h3 {
|
524
|
+
mso-outline-level: 3;
|
525
|
+
mso-list: l1 level3 lfo6; }
|
526
|
+
|
527
|
+
h4, .h4 {
|
522
528
|
mso-style-priority: 4;
|
523
529
|
mso-style-unhide: no;
|
524
530
|
mso-style-qformat: yes;
|
@@ -534,8 +540,6 @@ h4 {
|
|
534
540
|
line-height: {{normalfontsize}};
|
535
541
|
mso-pagination: widow-orphan;
|
536
542
|
page-break-after: avoid;
|
537
|
-
mso-outline-level: 4;
|
538
|
-
mso-list: l1 level4 lfo6;
|
539
543
|
mso-hyphenate: none;
|
540
544
|
tab-stops: 51.05pt 57.0pt 68.0pt;
|
541
545
|
font-size: {{normalfontsize}};
|
@@ -547,7 +551,11 @@ h4 {
|
|
547
551
|
mso-fareast-language: JA;
|
548
552
|
mso-bidi-font-weight: normal; }
|
549
553
|
|
550
|
-
|
554
|
+
h4 {
|
555
|
+
mso-outline-level: 4;
|
556
|
+
mso-list: l1 level4 lfo6; }
|
557
|
+
|
558
|
+
h5, .h5 {
|
551
559
|
mso-style-priority: 5;
|
552
560
|
mso-style-unhide: no;
|
553
561
|
mso-style-qformat: yes;
|
@@ -563,8 +571,6 @@ h5 {
|
|
563
571
|
line-height: {{normalfontsize}};
|
564
572
|
mso-pagination: widow-orphan;
|
565
573
|
page-break-after: avoid;
|
566
|
-
mso-outline-level: 5;
|
567
|
-
mso-list: l1 level5 lfo6;
|
568
574
|
mso-hyphenate: none;
|
569
575
|
tab-stops: 51.05pt list 54.0pt;
|
570
576
|
font-size: {{normalfontsize}};
|
@@ -576,7 +582,11 @@ h5 {
|
|
576
582
|
mso-fareast-language: JA;
|
577
583
|
mso-bidi-font-weight: normal; }
|
578
584
|
|
579
|
-
|
585
|
+
h5 {
|
586
|
+
mso-outline-level: 5;
|
587
|
+
mso-list: l1 level5 lfo6; }
|
588
|
+
|
589
|
+
h6, .h6 {
|
580
590
|
mso-style-priority: 6;
|
581
591
|
mso-style-unhide: no;
|
582
592
|
mso-style-qformat: yes;
|
@@ -592,8 +602,6 @@ h6 {
|
|
592
602
|
line-height: {{normalfontsize}};
|
593
603
|
mso-pagination: widow-orphan;
|
594
604
|
page-break-after: avoid;
|
595
|
-
mso-outline-level: 6;
|
596
|
-
mso-list: l1 level6 lfo6;
|
597
605
|
mso-hyphenate: none;
|
598
606
|
tab-stops: 51.05pt list 72.0pt;
|
599
607
|
font-size: {{normalfontsize}};
|
@@ -605,6 +613,10 @@ h6 {
|
|
605
613
|
mso-fareast-language: JA;
|
606
614
|
mso-bidi-font-weight: normal; }
|
607
615
|
|
616
|
+
h6 {
|
617
|
+
mso-outline-level: 6;
|
618
|
+
mso-list: l1 level6 lfo6; }
|
619
|
+
|
608
620
|
p.MsoToc1, li.MsoToc1, div.MsoToc1 {
|
609
621
|
mso-style-priority: 39;
|
610
622
|
mso-style-unhide: no;
|
@@ -340,7 +340,7 @@ div.figure, p.figure
|
|
340
340
|
|
341
341
|
|
342
342
|
|
343
|
-
h1
|
343
|
+
h1, .h1
|
344
344
|
{mso-style-priority:1;
|
345
345
|
mso-style-unhide:no;
|
346
346
|
mso-style-qformat:yes;
|
@@ -355,8 +355,6 @@ h1
|
|
355
355
|
line-height:13.5pt;
|
356
356
|
mso-pagination:widow-orphan;
|
357
357
|
page-break-after:avoid;
|
358
|
-
mso-outline-level:1;
|
359
|
-
mso-list:l1 level1 lfo6;
|
360
358
|
mso-hyphenate:none;
|
361
359
|
tab-stops:20.0pt list 21.6pt left 28.0pt;
|
362
360
|
font-size:13.0pt;
|
@@ -369,6 +367,10 @@ h1
|
|
369
367
|
mso-ansi-language:EN-GB;
|
370
368
|
mso-fareast-language:JA;
|
371
369
|
mso-bidi-font-weight:normal;}
|
370
|
+
h1 {
|
371
|
+
mso-outline-level:1;
|
372
|
+
mso-list:l1 level1 lfo6;
|
373
|
+
}
|
372
374
|
h1.Annex
|
373
375
|
{mso-style-priority:1;
|
374
376
|
mso-style-unhide:no;
|
@@ -426,7 +428,7 @@ h1.Annex
|
|
426
428
|
mso-ansi-language:EN-GB;
|
427
429
|
mso-fareast-language:JA;
|
428
430
|
mso-bidi-font-weight:normal;}
|
429
|
-
h2
|
431
|
+
h2, .h2
|
430
432
|
{mso-style-priority:2;
|
431
433
|
mso-style-unhide:no;
|
432
434
|
mso-style-qformat:yes;
|
@@ -442,8 +444,6 @@ h2
|
|
442
444
|
line-height:12.5pt;
|
443
445
|
mso-pagination:widow-orphan;
|
444
446
|
page-break-after:avoid;
|
445
|
-
mso-outline-level:2;
|
446
|
-
mso-list:l1 level2 lfo6;
|
447
447
|
mso-hyphenate:none;
|
448
448
|
tab-stops:27.0pt 35.0pt;
|
449
449
|
font-size:$normalfontsize;
|
@@ -455,7 +455,11 @@ h2
|
|
455
455
|
mso-ansi-language:EN-GB;
|
456
456
|
mso-fareast-language:JA;
|
457
457
|
mso-bidi-font-weight:normal;}
|
458
|
-
|
458
|
+
h2 {
|
459
|
+
mso-outline-level:2;
|
460
|
+
mso-list:l1 level2 lfo6;
|
461
|
+
}
|
462
|
+
h3, .h3
|
459
463
|
{mso-style-priority:3;
|
460
464
|
mso-style-unhide:no;
|
461
465
|
mso-style-qformat:yes;
|
@@ -471,8 +475,6 @@ h3
|
|
471
475
|
line-height:$normalfontsize;
|
472
476
|
mso-pagination:widow-orphan;
|
473
477
|
page-break-after:avoid;
|
474
|
-
mso-outline-level:3;
|
475
|
-
mso-list:l1 level3 lfo6;
|
476
478
|
mso-hyphenate:none;
|
477
479
|
tab-stops:list 36.0pt left 44.0pt;
|
478
480
|
font-size:$normalfontsize;
|
@@ -483,7 +485,11 @@ h3
|
|
483
485
|
mso-ansi-language:EN-GB;
|
484
486
|
mso-fareast-language:JA;
|
485
487
|
mso-bidi-font-weight:normal;}
|
486
|
-
|
488
|
+
h3 {
|
489
|
+
mso-outline-level:3;
|
490
|
+
mso-list:l1 level3 lfo6;
|
491
|
+
}
|
492
|
+
h4, .h4
|
487
493
|
{mso-style-priority:4;
|
488
494
|
mso-style-unhide:no;
|
489
495
|
mso-style-qformat:yes;
|
@@ -499,8 +505,6 @@ h4
|
|
499
505
|
line-height:$normalfontsize;
|
500
506
|
mso-pagination:widow-orphan;
|
501
507
|
page-break-after:avoid;
|
502
|
-
mso-outline-level:4;
|
503
|
-
mso-list:l1 level4 lfo6;
|
504
508
|
mso-hyphenate:none;
|
505
509
|
tab-stops:51.05pt 57.0pt 68.0pt;
|
506
510
|
font-size:$normalfontsize;
|
@@ -511,7 +515,11 @@ h4
|
|
511
515
|
mso-ansi-language:EN-GB;
|
512
516
|
mso-fareast-language:JA;
|
513
517
|
mso-bidi-font-weight:normal;}
|
514
|
-
|
518
|
+
h4 {
|
519
|
+
mso-outline-level:4;
|
520
|
+
mso-list:l1 level4 lfo6;
|
521
|
+
}
|
522
|
+
h5, .h5
|
515
523
|
{mso-style-priority:5;
|
516
524
|
mso-style-unhide:no;
|
517
525
|
mso-style-qformat:yes;
|
@@ -527,8 +535,6 @@ h5
|
|
527
535
|
line-height:$normalfontsize;
|
528
536
|
mso-pagination:widow-orphan;
|
529
537
|
page-break-after:avoid;
|
530
|
-
mso-outline-level:5;
|
531
|
-
mso-list:l1 level5 lfo6;
|
532
538
|
mso-hyphenate:none;
|
533
539
|
tab-stops:51.05pt list 54.0pt;
|
534
540
|
font-size:$normalfontsize;
|
@@ -539,7 +545,11 @@ h5
|
|
539
545
|
mso-ansi-language:EN-GB;
|
540
546
|
mso-fareast-language:JA;
|
541
547
|
mso-bidi-font-weight:normal;}
|
542
|
-
|
548
|
+
h5 {
|
549
|
+
mso-outline-level:5;
|
550
|
+
mso-list:l1 level5 lfo6;
|
551
|
+
}
|
552
|
+
h6, .h6
|
543
553
|
{mso-style-priority:6;
|
544
554
|
mso-style-unhide:no;
|
545
555
|
mso-style-qformat:yes;
|
@@ -555,8 +565,6 @@ h6
|
|
555
565
|
line-height:$normalfontsize;
|
556
566
|
mso-pagination:widow-orphan;
|
557
567
|
page-break-after:avoid;
|
558
|
-
mso-outline-level:6;
|
559
|
-
mso-list:l1 level6 lfo6;
|
560
568
|
mso-hyphenate:none;
|
561
569
|
tab-stops:51.05pt list 72.0pt;
|
562
570
|
font-size:$normalfontsize;
|
@@ -567,6 +575,10 @@ h6
|
|
567
575
|
mso-ansi-language:EN-GB;
|
568
576
|
mso-fareast-language:JA;
|
569
577
|
mso-bidi-font-weight:normal;}
|
578
|
+
h6 {
|
579
|
+
mso-outline-level:6;
|
580
|
+
mso-list:l1 level6 lfo6;
|
581
|
+
}
|
570
582
|
p.MsoToc1, li.MsoToc1, div.MsoToc1
|
571
583
|
{mso-style-priority:39;
|
572
584
|
mso-style-unhide:no;
|
@@ -10,6 +10,14 @@ module IsoDoc
|
|
10
10
|
prefix_name(elem, "<br/><br/>", lbl, "title")
|
11
11
|
end
|
12
12
|
|
13
|
+
def termsource1(elem)
|
14
|
+
mod = elem.at(ns("./modification")) and
|
15
|
+
termsource_modification(mod)
|
16
|
+
elem.children = l10n("<strong>#{@i18n.source}:</strong> "\
|
17
|
+
"#{elem.children.to_xml.strip}")
|
18
|
+
elem&.next_element&.name == "termsource" and elem.next = "; "
|
19
|
+
end
|
20
|
+
|
13
21
|
include Init
|
14
22
|
end
|
15
23
|
end
|