metanorma-ieee 1.3.9 → 1.3.10
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/ieee/ieee.amendment.xsl +31 -9
- data/lib/isodoc/ieee/ieee.standard.xsl +31 -9
- data/lib/metanorma/ieee/biblio.rng +2 -0
- data/lib/metanorma/ieee/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: 737e447c3443b29bf16b0ae436cbcaa8774d21812a8c9c67e66acdd0ba19502b
|
4
|
+
data.tar.gz: 3ff48b3f732916f229cd6c6270036e27b6eabcd72507d5bd33f121cfa1bd6c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f3e18c31ba3e33acff519772131296194d373370aac95eee960b23945b5d0213bd2ea034c2ba2baad42c317ea0044a8a788c662ebcb8f395ab0218de8793f9
|
7
|
+
data.tar.gz: b0cdfe3254970e2ac21eb4b1677ad576d1555c1c0314262e614a81d3e7f639cbd8a02f872d106f032f1e90bc46ddcd5917a6938e61a25a3d39365cd172073870
|
@@ -9107,9 +9107,14 @@
|
|
9107
9107
|
|
9108
9108
|
<xsl:variable name="simple-table">
|
9109
9109
|
|
9110
|
+
<xsl:variable name="table_without_semantic_elements">
|
9111
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9112
|
+
</xsl:variable>
|
9113
|
+
|
9110
9114
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9111
9115
|
<xsl:variable name="table_without_br">
|
9112
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9116
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9117
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9113
9118
|
</xsl:variable>
|
9114
9119
|
|
9115
9120
|
<!-- Step 1. colspan processing -->
|
@@ -15212,16 +15217,30 @@
|
|
15212
15217
|
|
15213
15218
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15214
15219
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15215
|
-
<xsl:
|
15216
|
-
<xsl:
|
15217
|
-
|
15218
|
-
|
15220
|
+
<xsl:choose>
|
15221
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15222
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15223
|
+
</xsl:when>
|
15224
|
+
<xsl:otherwise>
|
15225
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15226
|
+
<xsl:copy-of select="@*"/>
|
15227
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15228
|
+
</xsl:element>
|
15229
|
+
</xsl:otherwise>
|
15230
|
+
</xsl:choose>
|
15219
15231
|
</xsl:template>
|
15220
15232
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15221
|
-
<xsl:
|
15222
|
-
<xsl:
|
15223
|
-
|
15224
|
-
|
15233
|
+
<xsl:choose>
|
15234
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15235
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15236
|
+
</xsl:when>
|
15237
|
+
<xsl:otherwise>
|
15238
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15239
|
+
<xsl:copy-of select="@*"/>
|
15240
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15241
|
+
</xsl:element>
|
15242
|
+
</xsl:otherwise>
|
15243
|
+
</xsl:choose>
|
15225
15244
|
</xsl:template>
|
15226
15245
|
|
15227
15246
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15319,6 +15338,9 @@
|
|
15319
15338
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15320
15339
|
</xsl:template>
|
15321
15340
|
|
15341
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15342
|
+
<xsl:apply-templates/>
|
15343
|
+
</xsl:template>
|
15322
15344
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15323
15345
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15324
15346
|
</xsl:template>
|
@@ -9107,9 +9107,14 @@
|
|
9107
9107
|
|
9108
9108
|
<xsl:variable name="simple-table">
|
9109
9109
|
|
9110
|
+
<xsl:variable name="table_without_semantic_elements">
|
9111
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9112
|
+
</xsl:variable>
|
9113
|
+
|
9110
9114
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9111
9115
|
<xsl:variable name="table_without_br">
|
9112
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9116
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9117
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9113
9118
|
</xsl:variable>
|
9114
9119
|
|
9115
9120
|
<!-- Step 1. colspan processing -->
|
@@ -15212,16 +15217,30 @@
|
|
15212
15217
|
|
15213
15218
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15214
15219
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15215
|
-
<xsl:
|
15216
|
-
<xsl:
|
15217
|
-
|
15218
|
-
|
15220
|
+
<xsl:choose>
|
15221
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15222
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15223
|
+
</xsl:when>
|
15224
|
+
<xsl:otherwise>
|
15225
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15226
|
+
<xsl:copy-of select="@*"/>
|
15227
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15228
|
+
</xsl:element>
|
15229
|
+
</xsl:otherwise>
|
15230
|
+
</xsl:choose>
|
15219
15231
|
</xsl:template>
|
15220
15232
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15221
|
-
<xsl:
|
15222
|
-
<xsl:
|
15223
|
-
|
15224
|
-
|
15233
|
+
<xsl:choose>
|
15234
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15235
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15236
|
+
</xsl:when>
|
15237
|
+
<xsl:otherwise>
|
15238
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15239
|
+
<xsl:copy-of select="@*"/>
|
15240
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15241
|
+
</xsl:element>
|
15242
|
+
</xsl:otherwise>
|
15243
|
+
</xsl:choose>
|
15225
15244
|
</xsl:template>
|
15226
15245
|
|
15227
15246
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15319,6 +15338,9 @@
|
|
15319
15338
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15320
15339
|
</xsl:template>
|
15321
15340
|
|
15341
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15342
|
+
<xsl:apply-templates/>
|
15343
|
+
</xsl:template>
|
15322
15344
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15323
15345
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15324
15346
|
</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-ieee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.10
|
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-standoc
|