metanorma-m3aawg 1.8.1 → 1.8.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: 6773ce3d0cd71c057cf31bb0a343e5dc9ec84b45fb3e7f61b902912f8e073609
4
- data.tar.gz: 60aeef5a018e51de3dc9d43e715854251b8440a02bf00c41f5864465151ec622
3
+ metadata.gz: 3b4fd1ffc6806b0b1fb066124436871af68af7d0a539289db3a1b60c03e40ed4
4
+ data.tar.gz: 56b3b1be8c671418c0454747aec7ce003ee98b4aecdef7325766f82e8035c1fd
5
5
  SHA512:
6
- metadata.gz: 68520386d589ef7e34e796d5be63d4b8e78c3ca584e341b6e8454e1841c892d9d11dc818f14a313c6ec166e28b952791b46f9a57dc40b4b97f542b132a0d8058
7
- data.tar.gz: ee807b364ad4bd90749f79b4b56dfcec44dd3f458a6db2adae8fe91310c34d4cf8f8b7e260199baeead9a7704c57abdc6492a0b1708c9d6a8cb8185bf65e85ec
6
+ metadata.gz: e24fb3400519bffdc9d3123f22c0e668341b9351cdb2c5238d4c1e8811b2e6b7aa2d2df911095f40900ac18c10af4029bd650c46e48de3be71e504bd69d4764e
7
+ data.tar.gz: c4b34ca77da6e76ec2e3f988a237ef4a6595b4fc3a679febe0154bfeab096afffc59873407165f5c04e2733781f628263e5f2a1d45df28f059c7cdfe73aadc52
@@ -6003,12 +6003,15 @@
6003
6003
  <xsl:param name="default">left</xsl:param>
6004
6004
  <xsl:attribute name="text-align">
6005
6005
  <xsl:choose>
6006
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6006
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6007
6007
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6008
6008
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6009
6009
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6010
6010
  </xsl:choose>
6011
6011
  </xsl:attribute>
6012
+ <xsl:if test="@align = 'indent'">
6013
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6014
+ </xsl:if>
6012
6015
  </xsl:template><xsl:template name="number-to-words">
6013
6016
  <xsl:param name="number"/>
6014
6017
  <xsl:param name="first"/>
@@ -6003,12 +6003,15 @@
6003
6003
  <xsl:param name="default">left</xsl:param>
6004
6004
  <xsl:attribute name="text-align">
6005
6005
  <xsl:choose>
6006
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6006
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6007
6007
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6008
6008
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6009
6009
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6010
6010
  </xsl:choose>
6011
6011
  </xsl:attribute>
6012
+ <xsl:if test="@align = 'indent'">
6013
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6014
+ </xsl:if>
6012
6015
  </xsl:template><xsl:template name="number-to-words">
6013
6016
  <xsl:param name="number"/>
6014
6017
  <xsl:param name="first"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3AAWG
3
- VERSION = "1.8.1".freeze
3
+ VERSION = "1.8.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-m3aawg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
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: htmlentities