metanorma-iho 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iho/iho.specification.xsl +4 -1
- data/lib/isodoc/iho/iho.standard.xsl +4 -1
- data/lib/metanorma/iho/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af4e8cb7a25640917f4cabfe9c4a7c0b69c75ce7e75f5398dcab4955fc2a2c5c
|
4
|
+
data.tar.gz: 4fcd58bad2e1d8772296db57468243f3238a64d779181be87c97f4d8b3215a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f06a1aca9d0dae8f905f0c9b0234a641a8ba8109be2507296be9f9de75388537b36a66f7ec6737038a371f66e6beb84333c0effc3478c205ca5196059b560cae
|
7
|
+
data.tar.gz: 4d7dfb29637ecf66aec36f7a7606b0ef302b58b78a7e728e002c170c825e9155b516df6f61f4ba6950935a7581ca2b5483e182d881b4b3f1a128d551cfc06bf3
|
@@ -6196,12 +6196,15 @@
|
|
6196
6196
|
<xsl:param name="default">left</xsl:param>
|
6197
6197
|
<xsl:attribute name="text-align">
|
6198
6198
|
<xsl:choose>
|
6199
|
-
<xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
|
6199
|
+
<xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
|
6200
6200
|
<xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
|
6201
6201
|
<xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
|
6202
6202
|
<xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
|
6203
6203
|
</xsl:choose>
|
6204
6204
|
</xsl:attribute>
|
6205
|
+
<xsl:if test="@align = 'indent'">
|
6206
|
+
<xsl:attribute name="margin-left">7mm</xsl:attribute>
|
6207
|
+
</xsl:if>
|
6205
6208
|
</xsl:template><xsl:template name="number-to-words">
|
6206
6209
|
<xsl:param name="number"/>
|
6207
6210
|
<xsl:param name="first"/>
|
@@ -6196,12 +6196,15 @@
|
|
6196
6196
|
<xsl:param name="default">left</xsl:param>
|
6197
6197
|
<xsl:attribute name="text-align">
|
6198
6198
|
<xsl:choose>
|
6199
|
-
<xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
|
6199
|
+
<xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
|
6200
6200
|
<xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
|
6201
6201
|
<xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
|
6202
6202
|
<xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
|
6203
6203
|
</xsl:choose>
|
6204
6204
|
</xsl:attribute>
|
6205
|
+
<xsl:if test="@align = 'indent'">
|
6206
|
+
<xsl:attribute name="margin-left">7mm</xsl:attribute>
|
6207
|
+
</xsl:if>
|
6205
6208
|
</xsl:template><xsl:template name="number-to-words">
|
6206
6209
|
<xsl:param name="number"/>
|
6207
6210
|
<xsl:param name="first"/>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iho
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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: htmlentities
|