metanorma-iec 2.5.12 → 2.5.13
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 +31 -9
- data/lib/metanorma/iec/biblio.rng +2 -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: 174d9b24fd1740aa2006ccb5a6d4e21327861144d384acb36859fc77c605ddf0
|
4
|
+
data.tar.gz: 3900a7bbd7ca898fff45000ca982210610b7be1b184f152473813cb47bb3f6ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c7eaacda10072f8e2d7f475b3dd4043203f9a5a887456dea43c5bc30d51bc0ebe02923920d5859f2a06f459180e1cfd15ec08bcafd2a815f79c28ff61f873e0
|
7
|
+
data.tar.gz: d859b68533f12275400818438a56221931a9b351a8ac1854a422ceb7b26cf0359b9b3ff21d6a59def3928eb4df5a89adf814d6486558a403f4161d1a4ff6c8d2
|
@@ -7626,9 +7626,14 @@
|
|
7626
7626
|
|
7627
7627
|
<xsl:variable name="simple-table">
|
7628
7628
|
|
7629
|
+
<xsl:variable name="table_without_semantic_elements">
|
7630
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
7631
|
+
</xsl:variable>
|
7632
|
+
|
7629
7633
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
7630
7634
|
<xsl:variable name="table_without_br">
|
7631
|
-
<xsl:apply-templates mode="table-without-br"/>
|
7635
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
7636
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
7632
7637
|
</xsl:variable>
|
7633
7638
|
|
7634
7639
|
<!-- Step 1. colspan processing -->
|
@@ -13706,16 +13711,30 @@
|
|
13706
13711
|
|
13707
13712
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
13708
13713
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
13709
|
-
<xsl:
|
13710
|
-
<xsl:
|
13711
|
-
|
13712
|
-
|
13714
|
+
<xsl:choose>
|
13715
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
13716
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13717
|
+
</xsl:when>
|
13718
|
+
<xsl:otherwise>
|
13719
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
13720
|
+
<xsl:copy-of select="@*"/>
|
13721
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13722
|
+
</xsl:element>
|
13723
|
+
</xsl:otherwise>
|
13724
|
+
</xsl:choose>
|
13713
13725
|
</xsl:template>
|
13714
13726
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
13715
|
-
<xsl:
|
13716
|
-
<xsl:
|
13717
|
-
|
13718
|
-
|
13727
|
+
<xsl:choose>
|
13728
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
13729
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13730
|
+
</xsl:when>
|
13731
|
+
<xsl:otherwise>
|
13732
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
13733
|
+
<xsl:copy-of select="@*"/>
|
13734
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
13735
|
+
</xsl:element>
|
13736
|
+
</xsl:otherwise>
|
13737
|
+
</xsl:choose>
|
13719
13738
|
</xsl:template>
|
13720
13739
|
|
13721
13740
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -13813,6 +13832,9 @@
|
|
13813
13832
|
<xsl:apply-templates mode="update_xml_pres"/>
|
13814
13833
|
</xsl:template>
|
13815
13834
|
|
13835
|
+
<xsl:template match="*[local-name() = 'semx']">
|
13836
|
+
<xsl:apply-templates/>
|
13837
|
+
</xsl:template>
|
13816
13838
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
13817
13839
|
<xsl:apply-templates mode="update_xml_step1"/>
|
13818
13840
|
</xsl:template>
|
@@ -947,6 +947,8 @@ May be electronic (e.g. Twitter direct message, email) or voice (e.g. a remark m
|
|
947
947
|
typically cited as "personal communication")</a:documentation>
|
948
948
|
<value>conversation</value>
|
949
949
|
<a:documentation>An exchange of messages between two or more persons. May be electronic (e.g. web chat) or voice (e.g. phone call)</a:documentation>
|
950
|
+
<value>collection</value>
|
951
|
+
<a:documentation>A compound resource consisting of other resources, which are themselves presupposed to have their type specified..</a:documentation>
|
950
952
|
<value>misc</value>
|
951
953
|
<a:documentation>Bibliographic type not adequately described in the foregoing</a:documentation>
|
952
954
|
</choice>
|
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.5.
|
4
|
+
version: 2.5.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|