metanorma-bipm 1.2.3 → 2.0.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 +4 -32
- data/.gitignore +2 -0
- data/bin/console +1 -1
- data/lib/isodoc/bipm/base_convert.rb +0 -10
- data/lib/isodoc/bipm/bipm.brochure.xsl +573 -649
- data/lib/isodoc/bipm/bipm.guide.xsl +573 -649
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +573 -649
- data/lib/isodoc/bipm/bipm.rapport.xsl +573 -649
- data/lib/isodoc/bipm/html/htmlstyle.css +20 -11
- data/lib/isodoc/bipm/html/htmlstyle.scss +11 -11
- data/lib/isodoc/bipm/html/scripts.html +0 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +566 -710
- data/lib/isodoc/bipm/presentation_xml_convert.rb +13 -2
- data/lib/{asciidoctor → metanorma}/bipm/basicdoc.rng +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/biblio.rng +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/bipm.rng +2 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-en.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-fr.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/boilerplate-jcgm-en.xml +0 -0
- data/lib/{asciidoctor → metanorma}/bipm/converter.rb +5 -5
- data/lib/{asciidoctor → metanorma}/bipm/isodoc.rng +49 -2
- data/lib/{asciidoctor → metanorma}/bipm/reqt.rng +0 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/lib/metanorma/bipm.rb +1 -0
- data/lib/metanorma-bipm.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- data/metanorma.yml +3 -3
- metadata +16 -17
- data/lib/asciidoctor/bipm.rb +0 -8
@@ -76,6 +76,12 @@ code *, pre *, tt *, kbd *, samp * {
|
|
76
76
|
font-family: {{monospacefont}} !important;
|
77
77
|
font-variant-ligatures: none; }
|
78
78
|
|
79
|
+
p code, dt code, li code, label code, legend code, caption code, th code, td code,
|
80
|
+
p tt, dt tt, li tt, label tt, legend tt, caption tt, th tt, td tt,
|
81
|
+
p kbd, dt kbd, li kbd, label kbd, legend kbd, caption kbd, th kbd, td kbd,
|
82
|
+
p samp, dt samp, li samp, label samp, legend samp, caption samp, th samp, td samp {
|
83
|
+
font-size: {{monospacefontsize}}; }
|
84
|
+
|
79
85
|
article, aside, details, figcaption, figure,
|
80
86
|
footer, header, hgroup, menu, nav, section {
|
81
87
|
display: block; }
|
@@ -87,6 +93,9 @@ table {
|
|
87
93
|
h1, h2, h3, h4, h5, h6 {
|
88
94
|
font-family: {{headerfont}}; }
|
89
95
|
|
96
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
97
|
+
font-family: {{headerfont}}; }
|
98
|
+
|
90
99
|
blockquote, q {
|
91
100
|
quotes: none; }
|
92
101
|
blockquote:before, blockquote:after, q:before, q:after {
|
@@ -470,27 +479,27 @@ p.document-stage {
|
|
470
479
|
/*
|
471
480
|
3.1 Titles
|
472
481
|
*/
|
473
|
-
h1, h2, h3, h4, h5, h6 {
|
482
|
+
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
474
483
|
font-family: {{headerfont}};
|
475
484
|
color: #6C734A;
|
476
485
|
font-weight: 300;
|
477
486
|
margin-top: 1.6em;
|
478
487
|
margin-bottom: 0.3em; }
|
479
488
|
|
480
|
-
h1 {
|
489
|
+
h1, .h1 {
|
481
490
|
font-size: 1.6em;
|
482
491
|
text-transform: uppercase;
|
483
492
|
margin-top: 2em; }
|
484
493
|
|
485
|
-
h1#content {
|
494
|
+
h1#content, #content.h1 {
|
486
495
|
margin-top: 2em; }
|
487
496
|
|
488
|
-
h2 {
|
497
|
+
h2, .h2 {
|
489
498
|
margin-top: 1.3em;
|
490
499
|
font-size: 1.3em;
|
491
500
|
font-weight: 400; }
|
492
501
|
|
493
|
-
h3 {
|
502
|
+
h3, .h3 {
|
494
503
|
margin-top: 1.1em;
|
495
504
|
font-size: 1.1em;
|
496
505
|
font-weight: 100; }
|
@@ -802,7 +811,7 @@ p {
|
|
802
811
|
margin-top: 1em;
|
803
812
|
margin-bottom: 1em; }
|
804
813
|
|
805
|
-
h2 p {
|
814
|
+
h2 p, .h2 p {
|
806
815
|
display: inline; }
|
807
816
|
|
808
817
|
/*
|
@@ -954,7 +963,7 @@ To top button
|
|
954
963
|
@media print {
|
955
964
|
.document-info, nav, .copyright {
|
956
965
|
page-break-before: always; }
|
957
|
-
h1, h2, h3, h4 {
|
966
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
|
958
967
|
page-break-after: avoid;
|
959
968
|
margin-top: 1.2em; }
|
960
969
|
.note, .figure, pre, .pseudocode, table {
|
@@ -974,15 +983,15 @@ To top button
|
|
974
983
|
display: none; }
|
975
984
|
.container {
|
976
985
|
padding-left: 0; }
|
977
|
-
h1.content {
|
986
|
+
h1.content, .h1.content {
|
978
987
|
margin-top: 2em;
|
979
988
|
line-height: 2.5em; }
|
980
|
-
h1 {
|
989
|
+
h1, .h1 {
|
981
990
|
font-size: 1.5em;
|
982
991
|
line-height: 1.5; }
|
983
|
-
h2 {
|
992
|
+
h2, .h2 {
|
984
993
|
font-size: 1.2em; }
|
985
|
-
h3 {
|
994
|
+
h3, .h3 {
|
986
995
|
font-size: 1em; }
|
987
996
|
.Note {
|
988
997
|
background-color: #fff495;
|
@@ -159,7 +159,7 @@ p.document-stage {
|
|
159
159
|
3.1 Titles
|
160
160
|
*/
|
161
161
|
|
162
|
-
h1,h2,h3,h4,h5,h6 {
|
162
|
+
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
|
163
163
|
font-family: $headerfont;
|
164
164
|
color: #6C734A;
|
165
165
|
font-weight: 300;
|
@@ -167,23 +167,23 @@ p.document-stage {
|
|
167
167
|
margin-bottom: 0.3em;
|
168
168
|
}
|
169
169
|
|
170
|
-
h1 {
|
170
|
+
h1,.h1 {
|
171
171
|
font-size: 1.6em;
|
172
172
|
text-transform: uppercase;
|
173
173
|
margin-top: 2em;
|
174
174
|
}
|
175
175
|
|
176
|
-
h1#content {
|
176
|
+
h1#content,.h1#content {
|
177
177
|
margin-top: 2em;
|
178
178
|
}
|
179
179
|
|
180
|
-
h2 {
|
180
|
+
h2,.h2 {
|
181
181
|
margin-top: 1.3em;
|
182
182
|
font-size: 1.3em;
|
183
183
|
font-weight: 400;
|
184
184
|
}
|
185
185
|
|
186
|
-
h3 {
|
186
|
+
h3,.h3 {
|
187
187
|
margin-top: 1.1em;
|
188
188
|
font-size: 1.1em;
|
189
189
|
font-weight: 100;
|
@@ -485,7 +485,7 @@ p {
|
|
485
485
|
margin-bottom: 1em;
|
486
486
|
}
|
487
487
|
|
488
|
-
h2 p {
|
488
|
+
h2 p, .h2 p {
|
489
489
|
display: inline;
|
490
490
|
}
|
491
491
|
|
@@ -658,7 +658,7 @@ To top button
|
|
658
658
|
page-break-before: always;
|
659
659
|
}
|
660
660
|
|
661
|
-
h1, h2, h3, h4 {
|
661
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
|
662
662
|
page-break-after: avoid;
|
663
663
|
margin-top: 1.2em;
|
664
664
|
}
|
@@ -695,21 +695,21 @@ To top button
|
|
695
695
|
padding-left: 0;
|
696
696
|
}
|
697
697
|
|
698
|
-
h1.content {
|
698
|
+
h1.content,.h1.content {
|
699
699
|
margin-top: 2em;
|
700
700
|
line-height: 2.5em;
|
701
701
|
}
|
702
702
|
|
703
|
-
h1 {
|
703
|
+
h1,.h1 {
|
704
704
|
font-size: 1.5em;
|
705
705
|
line-height: 1.5;
|
706
706
|
}
|
707
707
|
|
708
|
-
h2 {
|
708
|
+
h2,.h2 {
|
709
709
|
font-size: 1.2em
|
710
710
|
}
|
711
711
|
|
712
|
-
h3 {
|
712
|
+
h3,.h3 {
|
713
713
|
font-size: 1em;
|
714
714
|
}
|
715
715
|
|