lib/isodoc/ogc/ogc.best-practice.xsl in metanorma-ogc-1.4.3 vs lib/isodoc/ogc/ogc.best-practice.xsl in metanorma-ogc-1.4.3.1
- old
+ new
@@ -1985,10 +1985,15 @@
<xsl:attribute name="padding-right">1mm</xsl:attribute>
+ </xsl:attribute-set><xsl:attribute-set name="table-note-name-style">
+
+
+
+
</xsl:attribute-set><xsl:attribute-set name="note-p-style">
@@ -3117,13 +3122,12 @@
<!-- Table's note name (NOTE, for example) -->
- <fo:inline padding-right="2mm">
+ <fo:inline padding-right="2mm" xsl:use-attribute-sets="table-note-name-style">
-
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
@@ -3747,10 +3751,12 @@
</xsl:variable>
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
<xsl:if test="$font-size != ''">
<xsl:attribute name="font-size">
<xsl:choose>
+ <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
+ <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
<xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
<xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:if>
@@ -5254,14 +5260,18 @@
</xsl:variable>
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
<xsl:if test="$font-size != ''">
<xsl:attribute name="font-size">
<xsl:choose>
+ <xsl:when test="$font-size = 'inherit'"><xsl:value-of select="$font-size"/></xsl:when>
+ <xsl:when test="contains($font-size, '%')"><xsl:value-of select="$font-size"/></xsl:when>
<xsl:when test="ancestor::*[local-name()='note']"><xsl:value-of select="$font-size * 0.91"/>pt</xsl:when>
<xsl:otherwise><xsl:value-of select="$font-size"/>pt</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:if>
+
+
<xsl:apply-templates/>
</fo:block>
\ No newline at end of file