metanorma-iso 1.10.1 → 1.10.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: 24633dfc813afd54d496d125ac4cc7ffdb4e11b9a2958437033c0cfe57ea7873
4
- data.tar.gz: b3995300f75025e162a31b28aa2aea9ebfdb3fd791928d622ee9fea264948a63
3
+ metadata.gz: 697a2f88d09f6183604f8ead7682575df682e59c09c211b3482404bbb5b7c5bf
4
+ data.tar.gz: 452e1127517360903e4406ab81d443903f2490350b4a1df7b2dd114221c454a1
5
5
  SHA512:
6
- metadata.gz: 1d495eb4e4758f85053f888027b8776048ed4e1c2f1c0ee5f87a5dda4214fcfe85d2d490947633a8889cf9aa8db48dcd42eb319e1ae63abb5cf3901fec9cb789
7
- data.tar.gz: c4472ab5da3868ccf1331e6ff1879218a5e5e515128f3733d1ef32dcc8b4fec5b5855d5712c03ac950c67b4a7e0ccdf452da1b4fba9c6f61907b9ed40b0867e3
6
+ metadata.gz: '09ac021eb3cd2c87f722f3b4c2033e0c5188f814609ff389018b7f65026a61f4f9c51f15650904b742a540a0c719f7742afedab5d0b89770c6913f02d38dfa44'
7
+ data.tar.gz: d04e4234d13815cdb41168a18887610a2700611519cf3c9748cc492181ce28bafbfc95cfc094ca478d5dac461487992b822ebcec50bf385f9a998a28003fe34e
@@ -7457,12 +7457,15 @@
7457
7457
  <xsl:param name="default">left</xsl:param>
7458
7458
  <xsl:attribute name="text-align">
7459
7459
  <xsl:choose>
7460
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7460
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7461
7461
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7462
7462
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7463
7463
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7464
7464
  </xsl:choose>
7465
7465
  </xsl:attribute>
7466
+ <xsl:if test="@align = 'indent'">
7467
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7468
+ </xsl:if>
7466
7469
  </xsl:template><xsl:template name="number-to-words">
7467
7470
  <xsl:param name="number"/>
7468
7471
  <xsl:param name="first"/>
@@ -7457,12 +7457,15 @@
7457
7457
  <xsl:param name="default">left</xsl:param>
7458
7458
  <xsl:attribute name="text-align">
7459
7459
  <xsl:choose>
7460
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
7460
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
7461
7461
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
7462
7462
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
7463
7463
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
7464
7464
  </xsl:choose>
7465
7465
  </xsl:attribute>
7466
+ <xsl:if test="@align = 'indent'">
7467
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
7468
+ </xsl:if>
7466
7469
  </xsl:template><xsl:template name="number-to-words">
7467
7470
  <xsl:param name="number"/>
7468
7471
  <xsl:param name="first"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ISO
3
- VERSION = "1.10.1".freeze
3
+ VERSION = "1.10.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.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-standoc