lib/isodoc/mpfa/mpfd.guidelines.xsl in metanorma-mpfa-0.5.5 vs lib/isodoc/mpfa/mpfd.guidelines.xsl in metanorma-mpfa-0.5.6

- old
+ new

@@ -1091,10 +1091,11 @@ + </xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style"> @@ -1626,18 +1627,32 @@ <!-- fn will be processed inside 'note' processing --> - <!-- except gb and bipm --> - <xsl:apply-templates select="../*[local-name()='note']" mode="process"/> + <!-- except gb --> + <xsl:apply-templates select="../*[local-name()='note']" mode="process"/> + <!-- show Note under table in preface (ex. abstract) sections --> + <!-- empty, because notes show at page side in main sections --> + <!-- <xsl:if test="$namespace = 'bipm'"> + <xsl:choose> + <xsl:when test="ancestor::*[local-name()='preface']"> + <xsl:apply-templates select="../*[local-name()='note']" mode="process"/> + </xsl:when> + <xsl:otherwise> + <fo:block/> + </xsl:otherwise> + </xsl:choose> + </xsl:if> --> + + <!-- horizontal row separator --> <!-- fn processing --> <xsl:call-template name="fn_display"/> @@ -1694,12 +1709,16 @@ <!-- fn will be processed inside 'note' processing --> - <!-- except gb and bipm --> + + + + <!-- except gb --> + <xsl:apply-templates select="../*[local-name()='note']" mode="process"/> <!-- <xsl:if test="$namespace = 'bipm'"> <xsl:choose> @@ -1779,10 +1798,13 @@ </xsl:if> + <!-- <xsl:if test="$namespace = 'bipm'"> + <xsl:attribute name="height">8mm</xsl:attribute> + </xsl:if> --> <xsl:apply-templates/> </fo:table-row> </xsl:template><xsl:template match="*[local-name()='th']"> <fo:table-cell text-align="{@align}" font-weight="bold" border="solid black 1pt" padding-left="1mm" display-align="center"> @@ -2880,9 +2902,11 @@ <fo:block> + + <fo:inline xsl:use-attribute-sets="note-name-style"> \ No newline at end of file