metanorma-ribose 2.5.11 → 2.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ribose/ribose.standard.xsl +31 -9
- data/lib/metanorma/ribose/biblio.rng +2 -0
- data/lib/metanorma/ribose/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: 22e5a9796d0c28c369ecb9ac164ae30969e4017e3ccb79c6001561e121636720
|
4
|
+
data.tar.gz: aa3505c305b73a316defb48783b566161a1223ee7f4959186a600f27ace0fe76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1faa3784f9c7e46f3428bb1099e79065d0bed90e3beac55524a4832364493f4acb2d42c2828096e4f5d6d6083239a12449f831ed800ce1d499dd218713d9c2c2
|
7
|
+
data.tar.gz: 97bb9379a1540e1ba539a5ba2dcf7edf78ae82040fef304f19b8f67f29732b71d24608d19848ca32e06d14bf1958466842a1f1bd27889e0b5b5df5654ce5ef6b
|
@@ -6648,9 +6648,14 @@
|
|
6648
6648
|
|
6649
6649
|
<xsl:variable name="simple-table">
|
6650
6650
|
|
6651
|
+
<xsl:variable name="table_without_semantic_elements">
|
6652
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
6653
|
+
</xsl:variable>
|
6654
|
+
|
6651
6655
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
6652
6656
|
<xsl:variable name="table_without_br">
|
6653
|
-
<xsl:apply-templates mode="table-without-br"/>
|
6657
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
6658
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
6654
6659
|
</xsl:variable>
|
6655
6660
|
|
6656
6661
|
<!-- Step 1. colspan processing -->
|
@@ -12702,16 +12707,30 @@
|
|
12702
12707
|
|
12703
12708
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
12704
12709
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
12705
|
-
<xsl:
|
12706
|
-
<xsl:
|
12707
|
-
|
12708
|
-
|
12710
|
+
<xsl:choose>
|
12711
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
12712
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12713
|
+
</xsl:when>
|
12714
|
+
<xsl:otherwise>
|
12715
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
12716
|
+
<xsl:copy-of select="@*"/>
|
12717
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12718
|
+
</xsl:element>
|
12719
|
+
</xsl:otherwise>
|
12720
|
+
</xsl:choose>
|
12709
12721
|
</xsl:template>
|
12710
12722
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
12711
|
-
<xsl:
|
12712
|
-
<xsl:
|
12713
|
-
|
12714
|
-
|
12723
|
+
<xsl:choose>
|
12724
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
12725
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12726
|
+
</xsl:when>
|
12727
|
+
<xsl:otherwise>
|
12728
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
12729
|
+
<xsl:copy-of select="@*"/>
|
12730
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12731
|
+
</xsl:element>
|
12732
|
+
</xsl:otherwise>
|
12733
|
+
</xsl:choose>
|
12715
12734
|
</xsl:template>
|
12716
12735
|
|
12717
12736
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -12809,6 +12828,9 @@
|
|
12809
12828
|
<xsl:apply-templates mode="update_xml_pres"/>
|
12810
12829
|
</xsl:template>
|
12811
12830
|
|
12831
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12832
|
+
<xsl:apply-templates/>
|
12833
|
+
</xsl:template>
|
12812
12834
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
12813
12835
|
<xsl:apply-templates mode="update_xml_step1"/>
|
12814
12836
|
</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-ribose
|
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
|