metanorma-iec 1.4.1 → 1.4.2

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: dde0fc97c56d1bc99719089986d636bb6c4a09c3c16299cc7c7437bf646909d5
4
- data.tar.gz: a97f30a1964f8b48ae6db39b2384653fe15f8bafbdca0740852f8e856fc6d0a7
3
+ metadata.gz: c0f93b15453cfa359407b9afc2b07ed564b4256209d1a1c490ec708b250205c7
4
+ data.tar.gz: 48761223e457aacb7b6515fa0cf033d26abc7aab905aa4d96bef370e68d2ac08
5
5
  SHA512:
6
- metadata.gz: a780b66ab532b7d2f5f6e827b9147817c032e517188799c8941e52a29b2be60066cd31ebdbe5121aeac27a99a4cb72262f12770cdb8d1941a15da2885226ac2a
7
- data.tar.gz: d06c63ac625b6b8ad2da7bd159ec021206d530ee9c92236219155d0b27ff467cef6be4de4f679471366cd70e4f00093899f25fa5cc5237c8286b64f2e5c98b3c
6
+ metadata.gz: ddf2798133d649ed17b9c7e6ef0ab681bd649b861ad67bb73c33430bdd32e8e2b7566d4d3bd4063cd08be0d16a49e97cebd0e310c95ccfbe49c28c3aad187956
7
+ data.tar.gz: f1a93de254eb03910a2aaa3fc4887b47dddc7004d596bc6cf496ba8b36e0d960d3097f1180feebb8bd74614f05e4a0f0f3260f5559b6b2e0a6cf91301d63fecb
@@ -7702,12 +7702,15 @@
7702
7702
  <xsl:param name="default">left</xsl:param>
7703
7703
  <xsl:attribute name="text-align">
7704
7704
  <xsl:choose>
7705
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7705
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7706
7706
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7707
7707
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7708
7708
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7709
7709
  </xsl:choose>
7710
7710
  </xsl:attribute>
7711
+ <xsl:if test="@align = 'indent'">
7712
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7713
+ </xsl:if>
7711
7714
  </xsl:template><xsl:template name="number-to-words">
7712
7715
  <xsl:param name="number"/>
7713
7716
  <xsl:param name="first"/>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "1.4.1".freeze
3
+ VERSION = "1.4.2".freeze
4
4
  end
5
5
  end
6
6
 
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: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso