metanorma-iso 3.1.3 → 3.1.5
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/iso/html/style-human.css +39 -45
- data/lib/isodoc/iso/html/style-iso.css +40 -46
- data/lib/isodoc/iso/iso.amendment.xsl +632 -170
- data/lib/isodoc/iso/iso.international-standard.xsl +632 -170
- data/lib/isodoc/iso/presentation_section.rb +39 -4
- data/lib/isodoc/iso/word_cleanup.rb +17 -2
- data/lib/metanorma/iso/front.rb +10 -49
- data/lib/metanorma/iso/front_contributor.rb +3 -5
- data/lib/metanorma/iso/isodoc.rng +44 -19
- data/lib/metanorma/iso/validate.rb +18 -126
- data/lib/metanorma/iso/validate_numeric.rb +128 -0
- data/lib/metanorma/iso/validate_style.rb +0 -77
- data/lib/metanorma/iso/validate_xref.rb +130 -0
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +4 -3
- data/lib/metanorma/iso/validate_image.rb +0 -97
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 714a368be85c8da9ffe28d8fa5897da7d8b0dff0939c7b108681cc5720241513
|
4
|
+
data.tar.gz: feb31751f9388342066e14b68dbd1589bddfe87fd6b7cf48100606f2b4c5e820
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eec64e6e178acbea0e0f391068c2cef244c22c4568490e5cf27c185497e132df5457e4bed8ffa03da71cd54fa66f55746ba83e5f67bb0ef38fd6e8b87129fbc9
|
7
|
+
data.tar.gz: e8effac1511a8364303574f1ec1a3ff70188c9f528700fa2c5e3fb59f35caf5e7be439e9742718b61546cc2d39a41533a6032786323603a6fcfd802dcaf463b9
|
@@ -145,16 +145,6 @@ div.document-stage-band, div.document-type-band {
|
|
145
145
|
background-color: #333333;
|
146
146
|
}
|
147
147
|
|
148
|
-
a.FootnoteRef + a.FootnoteRef::before {
|
149
|
-
content: ", ";
|
150
|
-
vertical-align: super;
|
151
|
-
}
|
152
|
-
|
153
|
-
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
154
|
-
content: ", ";
|
155
|
-
vertical-align: super;
|
156
|
-
}
|
157
|
-
|
158
148
|
a.TableFootnoteRef, span.TableFootnoteRef,
|
159
149
|
a.FootnoteRef, span.FootnoteRef {
|
160
150
|
vertical-align: super;
|
@@ -717,10 +707,6 @@ p.Terms {
|
|
717
707
|
}
|
718
708
|
|
719
709
|
/* Navigation*/
|
720
|
-
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
721
|
-
font-family: {{bodyfont}};
|
722
|
-
font-weight: 400;
|
723
|
-
}
|
724
710
|
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
725
711
|
margin: 0;
|
726
712
|
padding: 0;
|
@@ -768,6 +754,10 @@ p.Terms {
|
|
768
754
|
color: black;
|
769
755
|
}
|
770
756
|
}
|
757
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
758
|
+
font-family: {{bodyfont}};
|
759
|
+
font-weight: 400;
|
760
|
+
}
|
771
761
|
@media screen and (max-width: 768px) {
|
772
762
|
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
773
763
|
padding: 0 1.5em;
|
@@ -785,9 +775,6 @@ p.Terms {
|
|
785
775
|
font-size: 100%;
|
786
776
|
}
|
787
777
|
|
788
|
-
nav {
|
789
|
-
line-height: 1.2em;
|
790
|
-
}
|
791
778
|
@media screen and (min-width: 768px) {
|
792
779
|
nav {
|
793
780
|
position: fixed;
|
@@ -812,11 +799,10 @@ nav {
|
|
812
799
|
background-color: white;
|
813
800
|
}
|
814
801
|
}
|
815
|
-
|
816
|
-
|
817
|
-
margin-left: -4em;
|
818
|
-
margin-top: -2em;
|
802
|
+
nav {
|
803
|
+
line-height: 1.2em;
|
819
804
|
}
|
805
|
+
|
820
806
|
@media screen and (min-width: 768px) {
|
821
807
|
#toggle {
|
822
808
|
position: fixed;
|
@@ -845,6 +831,10 @@ nav {
|
|
845
831
|
display: none;
|
846
832
|
}
|
847
833
|
}
|
834
|
+
#toggle {
|
835
|
+
margin-left: -4em;
|
836
|
+
margin-top: -2em;
|
837
|
+
}
|
848
838
|
|
849
839
|
@media screen and (min-width: 768px) {
|
850
840
|
.container {
|
@@ -875,17 +865,6 @@ nav {
|
|
875
865
|
width: 100%;
|
876
866
|
}
|
877
867
|
}
|
878
|
-
.figure,
|
879
|
-
pre,
|
880
|
-
.pseudocode {
|
881
|
-
background-color: #f7f7f7;
|
882
|
-
font-size: {{monospacefontsize}};
|
883
|
-
line-height: 1.6em;
|
884
|
-
padding: 1.5em;
|
885
|
-
margin: 2em 0 1em 0;
|
886
|
-
overflow: auto;
|
887
|
-
font-size: {{normalfontsize}};
|
888
|
-
}
|
889
868
|
.figure .SourceTitle,
|
890
869
|
pre .SourceTitle,
|
891
870
|
.pseudocode .SourceTitle {
|
@@ -893,13 +872,18 @@ pre .SourceTitle,
|
|
893
872
|
font-size: 1em;
|
894
873
|
text-align: center;
|
895
874
|
}
|
896
|
-
|
897
|
-
|
875
|
+
.figure,
|
876
|
+
pre,
|
877
|
+
.pseudocode {
|
878
|
+
background-color: #f7f7f7;
|
879
|
+
font-size: {{monospacefontsize}};
|
898
880
|
line-height: 1.6em;
|
899
881
|
padding: 1.5em;
|
900
882
|
margin: 2em 0 1em 0;
|
901
883
|
overflow: auto;
|
884
|
+
font-size: {{normalfontsize}};
|
902
885
|
}
|
886
|
+
|
903
887
|
div.figure .FigureTitle, div.figure .figure-title {
|
904
888
|
font-weight: 700;
|
905
889
|
font-size: 1em;
|
@@ -912,6 +896,12 @@ div.figure > img, div.figure > svg {
|
|
912
896
|
max-width: 100%;
|
913
897
|
height: auto;
|
914
898
|
}
|
899
|
+
div.figure {
|
900
|
+
line-height: 1.6em;
|
901
|
+
padding: 1.5em;
|
902
|
+
margin: 2em 0 1em 0;
|
903
|
+
overflow: auto;
|
904
|
+
}
|
915
905
|
|
916
906
|
table div.figure {
|
917
907
|
padding: 0;
|
@@ -1143,6 +1133,13 @@ p.NormRef {
|
|
1143
1133
|
/*
|
1144
1134
|
3.6 Source Code + figures
|
1145
1135
|
*/
|
1136
|
+
.figure .SourceTitle,
|
1137
|
+
pre .SourceTitle,
|
1138
|
+
.pseudocode .SourceTitle {
|
1139
|
+
font-weight: 700;
|
1140
|
+
font-size: 1em;
|
1141
|
+
text-align: center;
|
1142
|
+
}
|
1146
1143
|
.figure,
|
1147
1144
|
pre,
|
1148
1145
|
.pseudocode {
|
@@ -1154,13 +1151,6 @@ pre,
|
|
1154
1151
|
overflow: auto;
|
1155
1152
|
font-size: {{normalfontsize}};
|
1156
1153
|
}
|
1157
|
-
.figure .SourceTitle,
|
1158
|
-
pre .SourceTitle,
|
1159
|
-
.pseudocode .SourceTitle {
|
1160
|
-
font-weight: 700;
|
1161
|
-
font-size: 1em;
|
1162
|
-
text-align: center;
|
1163
|
-
}
|
1164
1154
|
|
1165
1155
|
pre {
|
1166
1156
|
font-family: {{monospacefont}};
|
@@ -1233,19 +1223,23 @@ pre {
|
|
1233
1223
|
padding: 0.5em;
|
1234
1224
|
margin: 2em 0 1em 0;
|
1235
1225
|
text-align: left;
|
1236
|
-
color: #424242;
|
1237
|
-
padding-left: 2em;
|
1238
|
-
color: black;
|
1239
|
-
padding-left: 2em;
|
1240
1226
|
}
|
1241
1227
|
.example p {
|
1242
1228
|
margin: 0;
|
1243
1229
|
}
|
1230
|
+
.example {
|
1231
|
+
color: #424242;
|
1232
|
+
padding-left: 2em;
|
1233
|
+
}
|
1244
1234
|
.example .example-title {
|
1245
1235
|
font-weight: 700;
|
1246
1236
|
text-transform: uppercase;
|
1247
1237
|
margin-left: -1.5em;
|
1248
1238
|
}
|
1239
|
+
.example {
|
1240
|
+
color: black;
|
1241
|
+
padding-left: 2em;
|
1242
|
+
}
|
1249
1243
|
.example .example-title {
|
1250
1244
|
margin-left: -1.5em;
|
1251
1245
|
}
|
@@ -145,16 +145,6 @@ div.document-stage-band, div.document-type-band {
|
|
145
145
|
background-color: #333333;
|
146
146
|
}
|
147
147
|
|
148
|
-
a.FootnoteRef + a.FootnoteRef::before {
|
149
|
-
content: ", ";
|
150
|
-
vertical-align: super;
|
151
|
-
}
|
152
|
-
|
153
|
-
a.TableFootnoteRef + a.TableFootnoteRef::before {
|
154
|
-
content: ", ";
|
155
|
-
vertical-align: super;
|
156
|
-
}
|
157
|
-
|
158
148
|
a.TableFootnoteRef, span.TableFootnoteRef,
|
159
149
|
a.FootnoteRef, span.FootnoteRef {
|
160
150
|
vertical-align: super;
|
@@ -660,10 +650,6 @@ p.Terms {
|
|
660
650
|
}
|
661
651
|
|
662
652
|
/* Navigation*/
|
663
|
-
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
664
|
-
font-family: {{bodyfont}};
|
665
|
-
font-weight: 400;
|
666
|
-
}
|
667
653
|
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
668
654
|
margin: 0;
|
669
655
|
padding: 0;
|
@@ -711,6 +697,10 @@ p.Terms {
|
|
711
697
|
color: black;
|
712
698
|
}
|
713
699
|
}
|
700
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
701
|
+
font-family: {{bodyfont}};
|
702
|
+
font-weight: 400;
|
703
|
+
}
|
714
704
|
@media screen and (max-width: 768px) {
|
715
705
|
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
716
706
|
padding: 0 1.5em;
|
@@ -734,9 +724,6 @@ p.Terms {
|
|
734
724
|
font-size: 100%;
|
735
725
|
}
|
736
726
|
|
737
|
-
nav {
|
738
|
-
line-height: 1.2em;
|
739
|
-
}
|
740
727
|
@media screen and (min-width: 768px) {
|
741
728
|
nav {
|
742
729
|
position: fixed;
|
@@ -761,12 +748,10 @@ nav {
|
|
761
748
|
background-color: white;
|
762
749
|
}
|
763
750
|
}
|
764
|
-
|
765
|
-
|
766
|
-
border-right: solid black 1px;
|
767
|
-
margin-left: -4em;
|
768
|
-
margin-top: -2em;
|
751
|
+
nav {
|
752
|
+
line-height: 1.2em;
|
769
753
|
}
|
754
|
+
|
770
755
|
@media screen and (min-width: 768px) {
|
771
756
|
#toggle {
|
772
757
|
position: fixed;
|
@@ -795,6 +780,11 @@ nav {
|
|
795
780
|
display: none;
|
796
781
|
}
|
797
782
|
}
|
783
|
+
#toggle {
|
784
|
+
border-right: solid black 1px;
|
785
|
+
margin-left: -4em;
|
786
|
+
margin-top: -2em;
|
787
|
+
}
|
798
788
|
|
799
789
|
@media screen and (min-width: 768px) {
|
800
790
|
.container {
|
@@ -824,17 +814,6 @@ nav {
|
|
824
814
|
width: 100%;
|
825
815
|
}
|
826
816
|
}
|
827
|
-
.figure,
|
828
|
-
pre,
|
829
|
-
.pseudocode {
|
830
|
-
background-color: #f7f7f7;
|
831
|
-
font-size: {{monospacefontsize}};
|
832
|
-
line-height: 1.6em;
|
833
|
-
padding: 1.5em;
|
834
|
-
margin: 2em 0 1em 0;
|
835
|
-
overflow: auto;
|
836
|
-
font-size: {{normalfontsize}};
|
837
|
-
}
|
838
817
|
.figure .SourceTitle,
|
839
818
|
pre .SourceTitle,
|
840
819
|
.pseudocode .SourceTitle {
|
@@ -842,13 +821,18 @@ pre .SourceTitle,
|
|
842
821
|
font-size: 1em;
|
843
822
|
text-align: center;
|
844
823
|
}
|
845
|
-
|
846
|
-
|
824
|
+
.figure,
|
825
|
+
pre,
|
826
|
+
.pseudocode {
|
827
|
+
background-color: #f7f7f7;
|
828
|
+
font-size: {{monospacefontsize}};
|
847
829
|
line-height: 1.6em;
|
848
830
|
padding: 1.5em;
|
849
831
|
margin: 2em 0 1em 0;
|
850
832
|
overflow: auto;
|
833
|
+
font-size: {{normalfontsize}};
|
851
834
|
}
|
835
|
+
|
852
836
|
div.figure .FigureTitle, div.figure .figure-title {
|
853
837
|
font-weight: 700;
|
854
838
|
font-size: 1em;
|
@@ -861,6 +845,12 @@ div.figure > img, div.figure > svg {
|
|
861
845
|
max-width: 100%;
|
862
846
|
height: auto;
|
863
847
|
}
|
848
|
+
div.figure {
|
849
|
+
line-height: 1.6em;
|
850
|
+
padding: 1.5em;
|
851
|
+
margin: 2em 0 1em 0;
|
852
|
+
overflow: auto;
|
853
|
+
}
|
864
854
|
|
865
855
|
table div.figure {
|
866
856
|
padding: 0;
|
@@ -1208,6 +1198,13 @@ p.Biblio, p.NormRef {
|
|
1208
1198
|
/*
|
1209
1199
|
3.6 Source Code + figures
|
1210
1200
|
*/
|
1201
|
+
.figure .SourceTitle,
|
1202
|
+
pre .SourceTitle,
|
1203
|
+
.pseudocode .SourceTitle {
|
1204
|
+
font-weight: 700;
|
1205
|
+
font-size: 1em;
|
1206
|
+
text-align: center;
|
1207
|
+
}
|
1211
1208
|
.figure,
|
1212
1209
|
pre,
|
1213
1210
|
.pseudocode {
|
@@ -1219,13 +1216,6 @@ pre,
|
|
1219
1216
|
overflow: auto;
|
1220
1217
|
font-size: {{normalfontsize}};
|
1221
1218
|
}
|
1222
|
-
.figure .SourceTitle,
|
1223
|
-
pre .SourceTitle,
|
1224
|
-
.pseudocode .SourceTitle {
|
1225
|
-
font-weight: 700;
|
1226
|
-
font-size: 1em;
|
1227
|
-
text-align: center;
|
1228
|
-
}
|
1229
1219
|
|
1230
1220
|
pre {
|
1231
1221
|
font-family: {{monospacefont}};
|
@@ -1299,19 +1289,23 @@ div.zzHelp {
|
|
1299
1289
|
padding: 0.5em;
|
1300
1290
|
margin: 2em 0 1em 0;
|
1301
1291
|
text-align: left;
|
1302
|
-
color: #424242;
|
1303
|
-
padding-left: 2em;
|
1304
|
-
color: black;
|
1305
|
-
padding-left: 0.5em;
|
1306
1292
|
}
|
1307
1293
|
.example p {
|
1308
1294
|
margin: 0;
|
1309
1295
|
}
|
1296
|
+
.example {
|
1297
|
+
color: #424242;
|
1298
|
+
padding-left: 2em;
|
1299
|
+
}
|
1310
1300
|
.example .example-title {
|
1311
1301
|
font-weight: 700;
|
1312
1302
|
text-transform: uppercase;
|
1313
1303
|
margin-left: -1.5em;
|
1314
1304
|
}
|
1305
|
+
.example {
|
1306
|
+
color: black;
|
1307
|
+
padding-left: 0.5em;
|
1308
|
+
}
|
1315
1309
|
.example .example-title {
|
1316
1310
|
margin-top: 0;
|
1317
1311
|
}
|