metanorma-un 0.7.1 → 0.7.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: 0021dd59134b1e29f4fefa8f42876e766cab44fd2c39b026f235235ce92dec9b
4
- data.tar.gz: 2f760abef94975595bd6b2f9a1b4d4eebdaf014da1b8fb16e030afb65b11d83c
3
+ metadata.gz: eca42d8621931a241e16887d84b062ec064593a110d5f23a5f28f9b5282bd3cf
4
+ data.tar.gz: d51f24a5825cf0ba38ab77ea41d2e38659ab245a2f74e0cdcbe6e525b2e09708
5
5
  SHA512:
6
- metadata.gz: dba9f3ff9ceb09f78cddda3d6b7c0cccc20f52a12d32e076bfd914844d01ed0d2860cd1f8035744f2c9c047a3f38e8217d4c6d996b0bb7f35162ebde59a62454
7
- data.tar.gz: 40bc6b1322e06fd459e7374eed5e9d4bd10b6d3c96829ed09c76a454cc73dd2181322cf134511a8a7227e38e451c01219a928e3a306ae2cef21dda63d9fa57d6
6
+ metadata.gz: 9df76ef394aa561dfd1dea3231104cbdd6d44e24ccaec50a98dc9b1c8405a48a390cac3a5057fa4b686816301253ef7dd6f440e406faf2f4902c9058fbaa3c68
7
+ data.tar.gz: 4b27092ea855f381cdac3e0ef4901d2bfd90ba692941b065e2bebc099a9dab1e24560ee025dc7ca52b3f21f20169c8bf6016e17ec17d9288ff130b0acb31b66f
@@ -6232,12 +6232,15 @@
6232
6232
  <xsl:param name="default">left</xsl:param>
6233
6233
  <xsl:attribute name="text-align">
6234
6234
  <xsl:choose>
6235
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6235
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6236
6236
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6237
6237
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6238
6238
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6239
6239
  </xsl:choose>
6240
6240
  </xsl:attribute>
6241
+ <xsl:if test="@align = 'indent'">
6242
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6243
+ </xsl:if>
6241
6244
  </xsl:template><xsl:template name="number-to-words">
6242
6245
  <xsl:param name="number"/>
6243
6246
  <xsl:param name="first"/>
@@ -6232,12 +6232,15 @@
6232
6232
  <xsl:param name="default">left</xsl:param>
6233
6233
  <xsl:attribute name="text-align">
6234
6234
  <xsl:choose>
6235
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6235
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6236
6236
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6237
6237
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6238
6238
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6239
6239
  </xsl:choose>
6240
6240
  </xsl:attribute>
6241
+ <xsl:if test="@align = 'indent'">
6242
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6243
+ </xsl:if>
6241
6244
  </xsl:template><xsl:template name="number-to-words">
6242
6245
  <xsl:param name="number"/>
6243
6246
  <xsl:param name="first"/>
@@ -6204,12 +6204,15 @@
6204
6204
  <xsl:param name="default">left</xsl:param>
6205
6205
  <xsl:attribute name="text-align">
6206
6206
  <xsl:choose>
6207
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
6207
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
6208
6208
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
6209
6209
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
6210
6210
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
6211
6211
  </xsl:choose>
6212
6212
  </xsl:attribute>
6213
+ <xsl:if test="@align = 'indent'">
6214
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
6215
+ </xsl:if>
6213
6216
  </xsl:template><xsl:template name="number-to-words">
6214
6217
  <xsl:param name="number"/>
6215
6218
  <xsl:param name="first"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.7.1".freeze
3
+ VERSION = "0.7.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-un
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.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: iso-639