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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eca42d8621931a241e16887d84b062ec064593a110d5f23a5f28f9b5282bd3cf
|
4
|
+
data.tar.gz: d51f24a5825cf0ba38ab77ea41d2e38659ab245a2f74e0cdcbe6e525b2e09708
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"/>
|
data/lib/metanorma/un/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|