metanorma-ribose 2.7.9 → 2.8.1
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 +4 -4
- data/lib/isodoc/ribose/html/htmlstyle.css +18 -10
- data/lib/isodoc/ribose/html/htmlstyle.scss +11 -7
- data/lib/isodoc/ribose/html/rsd.css +5 -0
- data/lib/isodoc/ribose/html/rsd.scss +4 -0
- data/lib/isodoc/ribose/ribose.standard.xsl +627 -314
- data/lib/metanorma/ribose/basicdoc.rng +5 -1
- data/lib/metanorma/ribose/cleanup.rb +9 -0
- data/lib/metanorma/ribose/converter.rb +2 -2
- data/lib/metanorma/ribose/isodoc.rng +52 -16
- data/lib/metanorma/ribose/validate.rb +6 -0
- data/lib/metanorma/ribose/version.rb +1 -1
- data/lib/metanorma-ribose.rb +2 -0
- data/metanorma-ribose.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0bd3dfdc7c8e1fa480a67bfed8b12b902f4f3aec39330c04316ba6aee526dc5
|
|
4
|
+
data.tar.gz: f8ae40d15422184e3f4d5746f31fa5a54c2bb8f323747a5a84cb04f07e1b37ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 200daf8c84ade837bf5bdcde6ffd06283960b6b561479bd5bf7015199ac329f8baa83c9fa1dda3a5a4a2717af6723a64e71680890fe9f6374240b267871c04b4
|
|
7
|
+
data.tar.gz: aa32f27c72fd0838a26f446c4768c0334bc1a1839e13e5cda889302f00f08a98b03b79d38a4d5264054883ee0d610d583a330e855419f8b966726dc0f54d0449
|
|
@@ -662,26 +662,26 @@ main {
|
|
|
662
662
|
margin: 0;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
|
|
665
|
+
figure figcaption {
|
|
666
666
|
font-weight: 700;
|
|
667
667
|
font-size: 1em;
|
|
668
668
|
text-align: center;
|
|
669
669
|
}
|
|
670
|
-
|
|
670
|
+
figure > img, figure > svg {
|
|
671
671
|
margin-left: auto;
|
|
672
672
|
margin-right: auto;
|
|
673
673
|
display: block;
|
|
674
674
|
max-width: 100%;
|
|
675
675
|
height: auto;
|
|
676
676
|
}
|
|
677
|
-
|
|
677
|
+
figure {
|
|
678
678
|
line-height: 1.6em;
|
|
679
679
|
padding: 1.5em;
|
|
680
680
|
margin: 2em 0 1em 0;
|
|
681
681
|
overflow: auto;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
|
-
table
|
|
684
|
+
table figure {
|
|
685
685
|
padding: 0;
|
|
686
686
|
margin: 0;
|
|
687
687
|
}
|
|
@@ -1016,22 +1016,26 @@ ol ul > li:first-child {
|
|
|
1016
1016
|
3.5 Bibliograhy
|
|
1017
1017
|
*/
|
|
1018
1018
|
p.Biblio,
|
|
1019
|
-
p.NormRef {
|
|
1019
|
+
p.NormRef, div.Biblio, div.NormRef {
|
|
1020
1020
|
margin-top: 1em;
|
|
1021
1021
|
margin-left: 2em;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
|
+
.Biblio.note, .Biblio.Note, .NormRef.note, .NormRef.Note {
|
|
1025
|
+
margin-left: 3em;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1024
1028
|
/*
|
|
1025
1029
|
3.6 Source Code + figures
|
|
1026
1030
|
*/
|
|
1027
|
-
|
|
1031
|
+
figure .SourceTitle,
|
|
1028
1032
|
pre .SourceTitle,
|
|
1029
1033
|
.pseudocode .SourceTitle {
|
|
1030
1034
|
font-weight: 700;
|
|
1031
1035
|
font-size: 1em;
|
|
1032
1036
|
text-align: center;
|
|
1033
1037
|
}
|
|
1034
|
-
|
|
1038
|
+
figure,
|
|
1035
1039
|
pre,
|
|
1036
1040
|
.pseudocode {
|
|
1037
1041
|
background-color: #f7f7f7;
|
|
@@ -1066,7 +1070,7 @@ pre {
|
|
|
1066
1070
|
text-align: left;
|
|
1067
1071
|
}
|
|
1068
1072
|
|
|
1069
|
-
|
|
1073
|
+
figcaption,
|
|
1070
1074
|
.SourceTitle {
|
|
1071
1075
|
font-weight: 700;
|
|
1072
1076
|
font-size: 1em;
|
|
@@ -1146,8 +1150,12 @@ table th, table td {
|
|
|
1146
1150
|
table td.header {
|
|
1147
1151
|
font-weight: 400;
|
|
1148
1152
|
}
|
|
1153
|
+
table table.plain, table table.plain th, table table.plain td {
|
|
1154
|
+
border: none !important;
|
|
1155
|
+
font-size: 0.95em;
|
|
1156
|
+
}
|
|
1149
1157
|
|
|
1150
|
-
|
|
1158
|
+
table > caption {
|
|
1151
1159
|
text-align: center;
|
|
1152
1160
|
margin-top: 2.5em;
|
|
1153
1161
|
font-weight: 400;
|
|
@@ -1397,7 +1405,7 @@ To top button
|
|
|
1397
1405
|
margin-top: 1.2em;
|
|
1398
1406
|
}
|
|
1399
1407
|
.note,
|
|
1400
|
-
|
|
1408
|
+
figure,
|
|
1401
1409
|
pre,
|
|
1402
1410
|
.pseudocode,
|
|
1403
1411
|
table {
|
|
@@ -88,11 +88,11 @@ nav {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
figure {
|
|
92
92
|
@include figureBlock();
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
table
|
|
95
|
+
table figure {
|
|
96
96
|
padding: 0;
|
|
97
97
|
margin: 0;
|
|
98
98
|
}
|
|
@@ -348,16 +348,20 @@ ol ul > li:first-child {
|
|
|
348
348
|
*/
|
|
349
349
|
|
|
350
350
|
p.Biblio,
|
|
351
|
-
p.NormRef {
|
|
351
|
+
p.NormRef, div.Biblio, div.NormRef {
|
|
352
352
|
margin-top: 1em;
|
|
353
353
|
margin-left: 2em;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
.Biblio.note, .Biblio.Note, .NormRef.note, .NormRef.Note {
|
|
357
|
+
margin-left: 3em;
|
|
358
|
+
}
|
|
359
|
+
|
|
356
360
|
/*
|
|
357
361
|
3.6 Source Code + figures
|
|
358
362
|
*/
|
|
359
363
|
|
|
360
|
-
|
|
364
|
+
figure,
|
|
361
365
|
pre,
|
|
362
366
|
.pseudocode {
|
|
363
367
|
@include pseudocodeBlock(#f7f7f7);
|
|
@@ -371,7 +375,7 @@ pre {
|
|
|
371
375
|
@include recommendationBlock();
|
|
372
376
|
@include listBlock();
|
|
373
377
|
|
|
374
|
-
|
|
378
|
+
figcaption,
|
|
375
379
|
.SourceTitle {
|
|
376
380
|
@include blockTitle()
|
|
377
381
|
}
|
|
@@ -427,7 +431,7 @@ table {
|
|
|
427
431
|
@include table(1px solid black);
|
|
428
432
|
}
|
|
429
433
|
|
|
430
|
-
|
|
434
|
+
table > caption {
|
|
431
435
|
text-align: center;
|
|
432
436
|
margin-top: 2.5em;
|
|
433
437
|
font-weight: 400;
|
|
@@ -698,7 +702,7 @@ To top button
|
|
|
698
702
|
}
|
|
699
703
|
|
|
700
704
|
.note,
|
|
701
|
-
|
|
705
|
+
figure,
|
|
702
706
|
pre,
|
|
703
707
|
.pseudocode,
|
|
704
708
|
table {
|
|
@@ -742,6 +742,11 @@ table.MsoISOTable td, table.MsoISOTableBig td {
|
|
|
742
742
|
padding: 0cm 2.85pt 0cm 2.85pt;
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
+
table.MsoNormalTable th, table.MsoNormalTable td {
|
|
746
|
+
border: none;
|
|
747
|
+
mso-border-alt: none;
|
|
748
|
+
}
|
|
749
|
+
|
|
745
750
|
table.MsoISOTable p, table.MsoISOTableBig p {
|
|
746
751
|
font-size: {{normalfontsize}};
|
|
747
752
|
}
|
|
@@ -664,6 +664,10 @@ table.MsoISOTable td, table.MsoISOTableBig td
|
|
|
664
664
|
{border:solid windowtext 1pt;
|
|
665
665
|
mso-border-alt:solid windowtext 1pt;
|
|
666
666
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
|
667
|
+
table.MsoNormalTable th, table.MsoNormalTable td {
|
|
668
|
+
border: none;
|
|
669
|
+
mso-border-alt: none;
|
|
670
|
+
}
|
|
667
671
|
table.MsoISOTable p, table.MsoISOTableBig p
|
|
668
672
|
{font-size:$normalfontsize; }
|
|
669
673
|
table.MsoTableGrid
|