lib/isodoc/itu/itu.technical-report.xsl in metanorma-itu-1.4.1 vs lib/isodoc/itu/itu.technical-report.xsl in metanorma-itu-1.4.2
- old
+ new
@@ -7542,15 +7542,18 @@
</xsl:choose>
</xsl:template><xsl:template name="setTextAlignment">
<xsl:param name="default">left</xsl:param>
<xsl:attribute name="text-align">
<xsl:choose>
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
<xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
<xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
+ <xsl:if test="@align = 'indent'">
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
+ </xsl:if>
</xsl:template><xsl:template name="number-to-words">
<xsl:param name="number"/>
<xsl:param name="first"/>
<xsl:if test="$number != ''">
<xsl:variable name="words">
\ No newline at end of file