metanorma-iec 2.1.4 → 2.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/iec/iec.international-standard.xsl +27 -4
- data/lib/metanorma/iec/isodoc.rng +10 -0
- data/lib/metanorma/iec/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: '0585b10d5d71f684389b80f76bf39e03809e9014c33ab02b93645c2370f8ef4b'
|
|
4
|
+
data.tar.gz: baff2cd03a4fc85d2a35d863868038a658ca0ea5dacb1f6040d2674eb79cf37c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cec9bcdf35e5edbd9f5b6aec5df60179ed246972bb3e008e61cac38c592feca0ec940d0c3b0c5ef094fbd2718439e8488c0fd3993c6e17809a35ed613e4529ab
|
|
7
|
+
data.tar.gz: 6a4758c0cb33333d9655580f0af27b0cae530050fd7426a80c178eb345fa0a8c6a2d43a8d394e603953f0e49a6b1772ec739314784566373231d1e1230de277f
|
|
@@ -3245,10 +3245,12 @@
|
|
|
3245
3245
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
|
|
3246
3246
|
|
|
3247
3247
|
|
|
3248
|
+
|
|
3248
3249
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
|
|
3249
3250
|
|
|
3250
3251
|
|
|
3251
3252
|
|
|
3253
|
+
|
|
3252
3254
|
</xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
|
|
3253
3255
|
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
|
3254
3256
|
<xsl:attribute name="font-size">65%</xsl:attribute>
|
|
@@ -3889,6 +3891,14 @@
|
|
|
3889
3891
|
|
|
3890
3892
|
|
|
3891
3893
|
|
|
3894
|
+
<xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
|
|
3895
|
+
<fo:block keep-with-previous="always" line-height="0.1">
|
|
3896
|
+
<xsl:for-each select="*[local-name()='bookmark']">
|
|
3897
|
+
<xsl:call-template name="bookmark"/>
|
|
3898
|
+
</xsl:for-each>
|
|
3899
|
+
</fo:block>
|
|
3900
|
+
</xsl:if>
|
|
3901
|
+
|
|
3892
3902
|
</fo:block-container>
|
|
3893
3903
|
</xsl:variable>
|
|
3894
3904
|
|
|
@@ -7726,7 +7736,7 @@
|
|
|
7726
7736
|
|
|
7727
7737
|
|
|
7728
7738
|
<!-- <xsl:if test="$namespace = 'ieee'">
|
|
7729
|
-
<xsl:if test="$
|
|
7739
|
+
<xsl:if test="$current_template = 'standard'">8</xsl:if>
|
|
7730
7740
|
</xsl:if> -->
|
|
7731
7741
|
|
|
7732
7742
|
|
|
@@ -9064,7 +9074,7 @@
|
|
|
9064
9074
|
</xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
|
|
9065
9075
|
<!-- to split by '_' and other chars -->
|
|
9066
9076
|
<xsl:call-template name="add-zero-spaces-java"/>
|
|
9067
|
-
</xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
|
9077
|
+
</xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
|
|
9068
9078
|
<!-- <fo:inline id="{@id}" font-size="1pt"/> -->
|
|
9069
9079
|
<fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
|
|
9070
9080
|
<!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
|
|
@@ -9843,6 +9853,7 @@
|
|
|
9843
9853
|
</xsl:call-template>
|
|
9844
9854
|
</xsl:template><xsl:template name="insertKeywords">
|
|
9845
9855
|
<xsl:param name="sorting" select="'true'"/>
|
|
9856
|
+
<xsl:param name="meta" select="'false'"/>
|
|
9846
9857
|
<xsl:param name="charAtEnd" select="'.'"/>
|
|
9847
9858
|
<xsl:param name="charDelim" select="', '"/>
|
|
9848
9859
|
<xsl:choose>
|
|
@@ -9850,6 +9861,7 @@
|
|
|
9850
9861
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
|
9851
9862
|
<xsl:sort data-type="text" order="ascending"/>
|
|
9852
9863
|
<xsl:call-template name="insertKeyword">
|
|
9864
|
+
<xsl:with-param name="meta" select="$meta"/>
|
|
9853
9865
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
|
9854
9866
|
<xsl:with-param name="charDelim" select="$charDelim"/>
|
|
9855
9867
|
</xsl:call-template>
|
|
@@ -9858,6 +9870,7 @@
|
|
|
9858
9870
|
<xsl:otherwise>
|
|
9859
9871
|
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
|
9860
9872
|
<xsl:call-template name="insertKeyword">
|
|
9873
|
+
<xsl:with-param name="meta" select="$meta"/>
|
|
9861
9874
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
|
9862
9875
|
<xsl:with-param name="charDelim" select="$charDelim"/>
|
|
9863
9876
|
</xsl:call-template>
|
|
@@ -9867,7 +9880,15 @@
|
|
|
9867
9880
|
</xsl:template><xsl:template name="insertKeyword">
|
|
9868
9881
|
<xsl:param name="charAtEnd"/>
|
|
9869
9882
|
<xsl:param name="charDelim"/>
|
|
9870
|
-
<xsl:
|
|
9883
|
+
<xsl:param name="meta"/>
|
|
9884
|
+
<xsl:choose>
|
|
9885
|
+
<xsl:when test="$meta = 'true'">
|
|
9886
|
+
<xsl:value-of select="."/>
|
|
9887
|
+
</xsl:when>
|
|
9888
|
+
<xsl:otherwise>
|
|
9889
|
+
<xsl:apply-templates/>
|
|
9890
|
+
</xsl:otherwise>
|
|
9891
|
+
</xsl:choose>
|
|
9871
9892
|
<xsl:choose>
|
|
9872
9893
|
<xsl:when test="position() != last()"><xsl:value-of select="$charDelim"/></xsl:when>
|
|
9873
9894
|
<xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
|
|
@@ -9918,7 +9939,9 @@
|
|
|
9918
9939
|
<xsl:value-of select="normalize-space($abstract)"/>
|
|
9919
9940
|
</dc:description>
|
|
9920
9941
|
<pdf:Keywords>
|
|
9921
|
-
<xsl:call-template name="insertKeywords"
|
|
9942
|
+
<xsl:call-template name="insertKeywords">
|
|
9943
|
+
<xsl:with-param name="meta">true</xsl:with-param>
|
|
9944
|
+
</xsl:call-template>
|
|
9922
9945
|
</pdf:Keywords>
|
|
9923
9946
|
</rdf:Description>
|
|
9924
9947
|
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
|
|
@@ -2504,6 +2504,16 @@
|
|
|
2504
2504
|
<text/>
|
|
2505
2505
|
</element>
|
|
2506
2506
|
</optional>
|
|
2507
|
+
<optional>
|
|
2508
|
+
<element name="amendment">
|
|
2509
|
+
<text/>
|
|
2510
|
+
</element>
|
|
2511
|
+
</optional>
|
|
2512
|
+
<optional>
|
|
2513
|
+
<element name="corrigendum">
|
|
2514
|
+
<text/>
|
|
2515
|
+
</element>
|
|
2516
|
+
</optional>
|
|
2507
2517
|
<optional>
|
|
2508
2518
|
<element name="language">
|
|
2509
2519
|
<text/>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-iec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-iso
|