metanorma-iec 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dde0fc97c56d1bc99719089986d636bb6c4a09c3c16299cc7c7437bf646909d5
|
4
|
+
data.tar.gz: a97f30a1964f8b48ae6db39b2384653fe15f8bafbdca0740852f8e856fc6d0a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a780b66ab532b7d2f5f6e827b9147817c032e517188799c8941e52a29b2be60066cd31ebdbe5121aeac27a99a4cb72262f12770cdb8d1941a15da2885226ac2a
|
7
|
+
data.tar.gz: d06c63ac625b6b8ad2da7bd159ec021206d530ee9c92236219155d0b27ff467cef6be4de4f679471366cd70e4f00093899f25fa5cc5237c8286b64f2e5c98b3c
|
@@ -2063,7 +2063,12 @@
|
|
2063
2063
|
<define name="verbaldefinition">
|
2064
2064
|
<element name="verbaldefinition">
|
2065
2065
|
<oneOrMore>
|
2066
|
-
<
|
2066
|
+
<choice>
|
2067
|
+
<ref name="paragraph"/>
|
2068
|
+
<ref name="dl"/>
|
2069
|
+
<ref name="ol"/>
|
2070
|
+
<ref name="ul"/>
|
2071
|
+
</choice>
|
2067
2072
|
</oneOrMore>
|
2068
2073
|
<zeroOrMore>
|
2069
2074
|
<ref name="termsource"/>
|
@@ -2163,6 +2168,12 @@
|
|
2163
2168
|
<value>modified</value>
|
2164
2169
|
</choice>
|
2165
2170
|
</attribute>
|
2171
|
+
<attribute name="type">
|
2172
|
+
<choice>
|
2173
|
+
<value>authoritative</value>
|
2174
|
+
<value>lineage</value>
|
2175
|
+
</choice>
|
2176
|
+
</attribute>
|
2166
2177
|
<ref name="origin"/>
|
2167
2178
|
<optional>
|
2168
2179
|
<ref name="modification"/>
|
@@ -2223,7 +2223,7 @@
|
|
2223
2223
|
</xsl:variable>
|
2224
2224
|
<fo:block line-height="1.1" space-before="14pt" role="H{$levelTerm}">
|
2225
2225
|
<fo:block font-weight="bold" keep-with-next="always">
|
2226
|
-
<xsl:apply-templates select="ancestor::iec:term/iec:name" mode="presentation"/>
|
2226
|
+
<xsl:apply-templates select="ancestor::iec:term[1]/iec:name" mode="presentation"/>
|
2227
2227
|
</fo:block>
|
2228
2228
|
<fo:block font-weight="bold" keep-with-next="always">
|
2229
2229
|
<xsl:apply-templates/>
|
@@ -4575,6 +4575,7 @@
|
|
4575
4575
|
<fo:table-cell>
|
4576
4576
|
|
4577
4577
|
<fo:block margin-top="6pt">
|
4578
|
+
<xsl:copy-of select="@id"/>
|
4578
4579
|
|
4579
4580
|
|
4580
4581
|
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
@@ -5420,14 +5421,18 @@
|
|
5420
5421
|
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'p']">
|
5421
5422
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5422
5423
|
</xsl:template><xsl:template match="*[local-name() = 'terms']">
|
5424
|
+
<!-- <xsl:message>'terms' <xsl:number/> processing...</xsl:message> -->
|
5423
5425
|
<fo:block id="{@id}">
|
5424
5426
|
<xsl:apply-templates/>
|
5425
5427
|
</fo:block>
|
5426
5428
|
</xsl:template><xsl:template match="*[local-name() = 'term']">
|
5429
|
+
<!-- <xsl:message>'term' <xsl:number/> processing, name=<xsl:value-of select="iso:name"/>, preferred=<xsl:value-of select="iso:preferred"/>...</xsl:message> -->
|
5427
5430
|
<fo:block id="{@id}" xsl:use-attribute-sets="term-style">
|
5428
5431
|
|
5429
5432
|
|
5430
|
-
|
5433
|
+
<xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">
|
5434
|
+
|
5435
|
+
</xsl:if>
|
5431
5436
|
<xsl:apply-templates/>
|
5432
5437
|
</fo:block>
|
5433
5438
|
</xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']" mode="presentation">
|
@@ -6401,7 +6406,8 @@
|
|
6401
6406
|
</fo:block>
|
6402
6407
|
</fo:table-cell>
|
6403
6408
|
</xsl:template><xsl:template match="*[local-name() = 'p'][@class='RecommendationTitle' or @class = 'RecommendationTestTitle']" priority="2">
|
6404
|
-
<fo:block font-size="11pt"
|
6409
|
+
<fo:block font-size="11pt">
|
6410
|
+
|
6405
6411
|
<xsl:apply-templates/>
|
6406
6412
|
</fo:block>
|
6407
6413
|
</xsl:template><xsl:template match="*[local-name() = 'p2'][ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']]">
|
@@ -6517,13 +6523,15 @@
|
|
6517
6523
|
<!-- <xsl:apply-templates /> -->
|
6518
6524
|
<xsl:copy-of select="$termsource_text"/>
|
6519
6525
|
</xsl:when>
|
6520
|
-
<xsl:otherwise>
|
6526
|
+
<xsl:otherwise>
|
6527
|
+
|
6521
6528
|
|
6522
6529
|
<xsl:text>[</xsl:text>
|
6523
6530
|
|
6524
6531
|
<!-- <xsl:apply-templates /> -->
|
6525
6532
|
<xsl:copy-of select="$termsource_text"/>
|
6526
6533
|
|
6534
|
+
|
6527
6535
|
<xsl:text>]</xsl:text>
|
6528
6536
|
|
6529
6537
|
</xsl:otherwise>
|
@@ -6607,12 +6615,20 @@
|
|
6607
6615
|
</xsl:template><xsl:template match="*[local-name() = 'author']">
|
6608
6616
|
<xsl:text>— </xsl:text>
|
6609
6617
|
<xsl:apply-templates/>
|
6610
|
-
</xsl:template><xsl:
|
6618
|
+
</xsl:template><xsl:variable name="bibitem_hidden_">
|
6619
|
+
<xsl:for-each select="//*[local-name() = 'bibitem'][@hidden='true']">
|
6620
|
+
<xsl:copy-of select="."/>
|
6621
|
+
</xsl:for-each>
|
6622
|
+
<xsl:for-each select="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem']">
|
6623
|
+
<xsl:copy-of select="."/>
|
6624
|
+
</xsl:for-each>
|
6625
|
+
</xsl:variable><xsl:variable name="bibitem_hidden" select="xalan:nodeset($bibitem_hidden_)"/><xsl:template match="*[local-name() = 'eref']">
|
6611
6626
|
|
6612
6627
|
<xsl:variable name="bibitemid">
|
6613
6628
|
<xsl:choose>
|
6614
|
-
<xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"
|
6615
|
-
<xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"
|
6629
|
+
<!-- <xsl:when test="//*[local-name() = 'bibitem'][@hidden='true' and @id = current()/@bibitemid]"></xsl:when>
|
6630
|
+
<xsl:when test="//*[local-name() = 'references'][@hidden='true']/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"></xsl:when> -->
|
6631
|
+
<xsl:when test="$bibitem_hidden/*[local-name() = 'bibitem'][@id = current()/@bibitemid]"/>
|
6616
6632
|
<xsl:otherwise><xsl:value-of select="@bibitemid"/></xsl:otherwise>
|
6617
6633
|
</xsl:choose>
|
6618
6634
|
</xsl:variable>
|
@@ -6703,10 +6719,10 @@
|
|
6703
6719
|
</xsl:choose>
|
6704
6720
|
</xsl:variable>
|
6705
6721
|
|
6706
|
-
<xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
|
6722
|
+
<!-- <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/> -->
|
6707
6723
|
|
6708
6724
|
<xsl:choose>
|
6709
|
-
<xsl:when test="$
|
6725
|
+
<xsl:when test="$lang = 'zh'">
|
6710
6726
|
<fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
|
6711
6727
|
</xsl:when>
|
6712
6728
|
<xsl:when test="../../@inline-header = 'true'">
|
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: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|