metanorma-bipm 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/bipm/bipm.rng +1 -1
- data/lib/asciidoctor/bipm/isodoc.rng +17 -2
- data/lib/isodoc/bipm/bipm.brochure.xsl +1 -0
- data/lib/isodoc/bipm/bipm.guide.xsl +1 -0
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1 -0
- data/lib/isodoc/bipm/bipm.rapport.xsl +1 -0
- data/lib/isodoc/bipm/html/htmlstyle.css +7 -1
- data/lib/isodoc/bipm/html/htmlstyle.scss +8 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +1 -0
- data/lib/isodoc/bipm/presentation_xml_convert.rb +4 -2
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df8f742d2d6c42afa7521168765ce2ab2be0bc9d3a4a942fb184bae97aefeb75
|
4
|
+
data.tar.gz: fbb7b975f0f7b114fb3228ea824f9dd689f76dfb22310f2d450ad82c1bd7da53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 886074989dcf59abbfb155eec67d66e44439bd556600666f8385e86c58222c7884d2418bf0c9b87e19f982c9473bc86de9943f388d8820dbab84ebac3db8b93b
|
7
|
+
data.tar.gz: 322113649ffa804792b6872e6e99004d27d2c128c12cfb4f71cd1c72a7e71dc2c7ce96b8ffb9e036f045f8475e833657770d74496ad96027862d234861ad534e
|
@@ -990,6 +990,16 @@
|
|
990
990
|
<data type="boolean"/>
|
991
991
|
</attribute>
|
992
992
|
</optional>
|
993
|
+
<optional>
|
994
|
+
<attribute name="linkmention">
|
995
|
+
<data type="boolean"/>
|
996
|
+
</attribute>
|
997
|
+
</optional>
|
998
|
+
<optional>
|
999
|
+
<attribute name="linkref">
|
1000
|
+
<data type="boolean"/>
|
1001
|
+
</attribute>
|
1002
|
+
</optional>
|
993
1003
|
<optional>
|
994
1004
|
<element name="refterm">
|
995
1005
|
<zeroOrMore>
|
@@ -1700,7 +1710,9 @@
|
|
1700
1710
|
<zeroOrMore>
|
1701
1711
|
<ref name="termgrammar"/>
|
1702
1712
|
</zeroOrMore>
|
1703
|
-
<
|
1713
|
+
<oneOrMore>
|
1714
|
+
<ref name="termdefinition"/>
|
1715
|
+
</oneOrMore>
|
1704
1716
|
<zeroOrMore>
|
1705
1717
|
<ref name="termnote"/>
|
1706
1718
|
</zeroOrMore>
|
@@ -1763,7 +1775,7 @@
|
|
1763
1775
|
</oneOrMore>
|
1764
1776
|
</element>
|
1765
1777
|
</define>
|
1766
|
-
<define name="
|
1778
|
+
<define name="termdefinition">
|
1767
1779
|
<element name="definition">
|
1768
1780
|
<oneOrMore>
|
1769
1781
|
<choice>
|
@@ -1772,6 +1784,9 @@
|
|
1772
1784
|
<ref name="formula"/>
|
1773
1785
|
</choice>
|
1774
1786
|
</oneOrMore>
|
1787
|
+
<zeroOrMore>
|
1788
|
+
<ref name="termsource"/>
|
1789
|
+
</zeroOrMore>
|
1775
1790
|
</element>
|
1776
1791
|
</define>
|
1777
1792
|
<define name="termnote">
|
@@ -8936,6 +8936,7 @@
|
|
8936
8936
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
8937
8937
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
8938
8938
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
8939
|
+
|
8939
8940
|
<xsl:apply-templates/>
|
8940
8941
|
</fo:block>
|
8941
8942
|
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
@@ -8936,6 +8936,7 @@
|
|
8936
8936
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
8937
8937
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
8938
8938
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
8939
|
+
|
8939
8940
|
<xsl:apply-templates/>
|
8940
8941
|
</fo:block>
|
8941
8942
|
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
@@ -8936,6 +8936,7 @@
|
|
8936
8936
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
8937
8937
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
8938
8938
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
8939
|
+
|
8939
8940
|
<xsl:apply-templates/>
|
8940
8941
|
</fo:block>
|
8941
8942
|
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
@@ -8936,6 +8936,7 @@
|
|
8936
8936
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
8937
8937
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
8938
8938
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
8939
|
+
|
8939
8940
|
<xsl:apply-templates/>
|
8940
8941
|
</fo:block>
|
8941
8942
|
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
@@ -549,9 +549,15 @@ ul li:before {
|
|
549
549
|
ul li p {
|
550
550
|
display: inline; }
|
551
551
|
|
552
|
-
ul li:first-child {
|
552
|
+
ul > li:first-child {
|
553
553
|
margin-top: 1em; }
|
554
554
|
|
555
|
+
ul ul > li:first-child {
|
556
|
+
margin-top: 0; }
|
557
|
+
|
558
|
+
ol ul > li:first-child {
|
559
|
+
margin-top: 0; }
|
560
|
+
|
555
561
|
#toc-list ul {
|
556
562
|
margin-bottom: 0.25em; }
|
557
563
|
|
@@ -239,10 +239,17 @@ ul li p {
|
|
239
239
|
display: inline;
|
240
240
|
}
|
241
241
|
|
242
|
-
ul li:first-child {
|
242
|
+
ul > li:first-child {
|
243
243
|
margin-top: 1em;
|
244
244
|
}
|
245
245
|
|
246
|
+
ul ul > li:first-child {
|
247
|
+
margin-top: 0;
|
248
|
+
}
|
249
|
+
ol ul > li:first-child {
|
250
|
+
margin-top: 0;
|
251
|
+
}
|
252
|
+
|
246
253
|
#toc-list ul {
|
247
254
|
margin-bottom: 0.25em;
|
248
255
|
}
|
@@ -6491,6 +6491,7 @@
|
|
6491
6491
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']" priority="4">
|
6492
6492
|
<xsl:variable name="level" select="count(ancestor::*[local-name() = 'ul'])"/>
|
6493
6493
|
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
6494
|
+
|
6494
6495
|
<xsl:apply-templates/>
|
6495
6496
|
</fo:block>
|
6496
6497
|
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
@@ -65,6 +65,7 @@ module IsoDoc
|
|
65
65
|
def clause1(elem)
|
66
66
|
return if elem["unnumbered"] == "true"
|
67
67
|
return if elem.at(("./ancestor::*[@unnumbered = 'true']"))
|
68
|
+
|
68
69
|
super
|
69
70
|
end
|
70
71
|
|
@@ -111,7 +112,7 @@ module IsoDoc
|
|
111
112
|
i = 3
|
112
113
|
while list_draft(xml, i) != ["", ""]
|
113
114
|
ret += "<tr>#{list_draft(xml, i).map { |x| "<td>#{x}</td>" }.join} "\
|
114
|
-
|
115
|
+
"<td/></tr>"
|
115
116
|
i += 1
|
116
117
|
end
|
117
118
|
ret
|
@@ -135,7 +136,7 @@ module IsoDoc
|
|
135
136
|
|
136
137
|
COCHAIR = "xmlns:role[contains(text(),'co-chair')]".freeze
|
137
138
|
CHAIR = "[xmlns:role[contains(text(),'chair')]"\
|
138
|
-
|
139
|
+
"[not(contains(text(),'co-chair'))]]".freeze
|
139
140
|
|
140
141
|
def list_cochairs(xml)
|
141
142
|
ret = list_people(xml, "//bibdata/contributor[#{COCHAIR}]/person")
|
@@ -172,6 +173,7 @@ module IsoDoc
|
|
172
173
|
end
|
173
174
|
|
174
175
|
def mathml1(elem, locale)
|
176
|
+
asciimath_dup(elem)
|
175
177
|
localize_maths(elem, locale)
|
176
178
|
end
|
177
179
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|