metanorma-csa 2.5.11 → 2.5.12
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/csa/csa.standard.xsl +31 -9
- data/lib/metanorma/csa/biblio.rng +2 -0
- data/lib/metanorma/csa/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: 460b449ab4913c074439af4cbb76e35201d4dc122b54ce014cda2b274b0a3fe7
|
4
|
+
data.tar.gz: cca8e46225d1db9b0977b2a3714427b5afb9c40bd77a56d23816532e5f330fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c97d35924a6a7b25074233333684d9bdc4e60a5dda68a78082aa54a14b46dfd44b7fe7f2003f4f41743bd4453c5e0630b4f1f9a65f68c50160e9c997f1f99c0d
|
7
|
+
data.tar.gz: 2a745f95a5cac1c5af7eedf327ffc20469ffef5735e732e0e24f5d2d634d323876dc1c6b01d0c96c9f1ea3bd06a7dc8ffa160a3a7be98b623e5832c77966118a
|
@@ -5869,9 +5869,14 @@
|
|
5869
5869
|
|
5870
5870
|
<xsl:variable name="simple-table">
|
5871
5871
|
|
5872
|
+
<xsl:variable name="table_without_semantic_elements">
|
5873
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
5874
|
+
</xsl:variable>
|
5875
|
+
|
5872
5876
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
5873
5877
|
<xsl:variable name="table_without_br">
|
5874
|
-
<xsl:apply-templates mode="table-without-br"/>
|
5878
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
5879
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
5875
5880
|
</xsl:variable>
|
5876
5881
|
|
5877
5882
|
<!-- Step 1. colspan processing -->
|
@@ -11905,16 +11910,30 @@
|
|
11905
11910
|
|
11906
11911
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
11907
11912
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
11908
|
-
<xsl:
|
11909
|
-
<xsl:
|
11910
|
-
|
11911
|
-
|
11913
|
+
<xsl:choose>
|
11914
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11915
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11916
|
+
</xsl:when>
|
11917
|
+
<xsl:otherwise>
|
11918
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11919
|
+
<xsl:copy-of select="@*"/>
|
11920
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11921
|
+
</xsl:element>
|
11922
|
+
</xsl:otherwise>
|
11923
|
+
</xsl:choose>
|
11912
11924
|
</xsl:template>
|
11913
11925
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
11914
|
-
<xsl:
|
11915
|
-
<xsl:
|
11916
|
-
|
11917
|
-
|
11926
|
+
<xsl:choose>
|
11927
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11928
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11929
|
+
</xsl:when>
|
11930
|
+
<xsl:otherwise>
|
11931
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11932
|
+
<xsl:copy-of select="@*"/>
|
11933
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11934
|
+
</xsl:element>
|
11935
|
+
</xsl:otherwise>
|
11936
|
+
</xsl:choose>
|
11918
11937
|
</xsl:template>
|
11919
11938
|
|
11920
11939
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -12012,6 +12031,9 @@
|
|
12012
12031
|
<xsl:apply-templates mode="update_xml_pres"/>
|
12013
12032
|
</xsl:template>
|
12014
12033
|
|
12034
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12035
|
+
<xsl:apply-templates/>
|
12036
|
+
</xsl:template>
|
12015
12037
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
12016
12038
|
<xsl:apply-templates mode="update_xml_step1"/>
|
12017
12039
|
</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-csa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
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-generic
|