metanorma-ieee 1.3.7 → 1.3.8

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: 79bf9fc27f2a671b7c06ff6ff2ad1796c774550211d73fc9c4261a8ff4980a86
4
- data.tar.gz: 5eb7827bb6fc641eff8dbf3c6328478337a1aa09576e6055eed205183b02971e
3
+ metadata.gz: 1fcdee8a51301c3df48c602dd91eed680ec3225d7c29962d9e5be525e049a99f
4
+ data.tar.gz: 41506b613379f537e090002267a82857eb23570bec07db98b36fcc66ebce8b0e
5
5
  SHA512:
6
- metadata.gz: 00f98dbecc50bd67373d991ade070d2b871fef895b2cbe0c9b9cde469bef0bff401b49d559325c6e7f39820265071ab13d245b03fdaadaff08f832e7cb2b0850
7
- data.tar.gz: 394bcfa2d7406b5df96bce417f13837b1b68c17e52244752d84b3f5fd4ed17bbb9f2bc0daf2c696d2fa98d7f592be636b6909f1f8b1ee956153ad160ae561687
6
+ metadata.gz: d4d4bb35f51417c6a4797ac41dca9269a74771f599e30fc9610e0a2cedc1ec0310700897ad48d9f559d41a2e1580346f75ba414ebcd63bd705f3b7a2957e8a6b
7
+ data.tar.gz: 55407e26370a1745bb9a0361b0bf2f43f6ca6a1e4b5ca76a36a9887c7e82bc418b895c6b116a051393e8951d6f5f5ff7c7dd4e5eb0307b4e187d886a2d2c1763
@@ -3798,8 +3798,21 @@
3798
3798
 
3799
3799
  <!-- <xsl:strip-space elements="ieee:xref"/> -->
3800
3800
 
3801
- <xsl:variable name="namespace_full" select="namespace-uri(/*)"/> <!-- example: https://www.metanorma.org/ns/iso -->
3802
- <xsl:variable name="root_element" select="local-name(/*)"/> <!-- example: iso-standard -->
3801
+ <xsl:variable name="namespace_full_">
3802
+ <xsl:choose>
3803
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
3804
+ <xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
3805
+ </xsl:choose>
3806
+ </xsl:variable>
3807
+ <xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
3808
+
3809
+ <xsl:variable name="root_element_">
3810
+ <xsl:choose>
3811
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
3812
+ <xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
3813
+ </xsl:choose>
3814
+ </xsl:variable>
3815
+ <xsl:variable name="root_element" select="normalize-space($root_element_)"/>
3803
3816
 
3804
3817
  <xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
3805
3818
 
@@ -8703,6 +8716,12 @@
8703
8716
  </xsl:if>
8704
8717
  </xsl:template>
8705
8718
 
8719
+ <xsl:template match="*[local-name()='strike']">
8720
+ <fo:inline text-decoration="line-through">
8721
+ <xsl:apply-templates/>
8722
+ </fo:inline>
8723
+ </xsl:template>
8724
+
8706
8725
  <xsl:template match="*[local-name() = 'pagebreak']">
8707
8726
  <fo:block break-after="page"/>
8708
8727
  <fo:block> </fo:block>
@@ -3798,8 +3798,21 @@
3798
3798
 
3799
3799
  <!-- <xsl:strip-space elements="ieee:xref"/> -->
3800
3800
 
3801
- <xsl:variable name="namespace_full" select="namespace-uri(/*)"/> <!-- example: https://www.metanorma.org/ns/iso -->
3802
- <xsl:variable name="root_element" select="local-name(/*)"/> <!-- example: iso-standard -->
3801
+ <xsl:variable name="namespace_full_">
3802
+ <xsl:choose>
3803
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
3804
+ <xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
3805
+ </xsl:choose>
3806
+ </xsl:variable>
3807
+ <xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
3808
+
3809
+ <xsl:variable name="root_element_">
3810
+ <xsl:choose>
3811
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
3812
+ <xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
3813
+ </xsl:choose>
3814
+ </xsl:variable>
3815
+ <xsl:variable name="root_element" select="normalize-space($root_element_)"/>
3803
3816
 
3804
3817
  <xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
3805
3818
 
@@ -8703,6 +8716,12 @@
8703
8716
  </xsl:if>
8704
8717
  </xsl:template>
8705
8718
 
8719
+ <xsl:template match="*[local-name()='strike']">
8720
+ <fo:inline text-decoration="line-through">
8721
+ <xsl:apply-templates/>
8722
+ </fo:inline>
8723
+ </xsl:template>
8724
+
8706
8725
  <xsl:template match="*[local-name() = 'pagebreak']">
8707
8726
  <fo:block break-after="page"/>
8708
8727
  <fo:block> </fo:block>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ieee
3
- VERSION = "1.3.7".freeze
3
+ VERSION = "1.3.8".freeze
4
4
  end
5
5
  end
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.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-23 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc
@@ -339,7 +339,7 @@ homepage: https://github.com/metanorma/metanorma-ieee
339
339
  licenses:
340
340
  - BSD-2-Clause
341
341
  metadata: {}
342
- post_install_message:
342
+ post_install_message:
343
343
  rdoc_options: []
344
344
  require_paths:
345
345
  - lib
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  version: '0'
356
356
  requirements: []
357
357
  rubygems_version: 3.3.27
358
- signing_key:
358
+ signing_key:
359
359
  specification_version: 4
360
360
  summary: Metanorma for the IEEE
361
361
  test_files: []