lib/isodoc/gb/gb.recommendation.xsl in metanorma-gb-1.5.7 vs lib/isodoc/gb/gb.recommendation.xsl in metanorma-gb-1.5.8

- old
+ new

@@ -1453,10 +1453,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"> <xsl:attribute name="font-family">SimHei</xsl:attribute> @@ -2000,16 +2001,30 @@ <!-- fn will be processed inside 'note' processing --> - <!-- except gb and bipm --> + <!-- except gb --> + <!-- 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"/> @@ -2068,13 +2083,17 @@ <!-- fn will be processed inside 'note' processing --> - <!-- except gb and bipm --> + + + <!-- except gb --> + + <!-- <xsl:if test="$namespace = 'bipm'"> <xsl:choose> <xsl:when test="ancestor::*[local-name()='preface']"> show Note under table in preface (ex. abstract) sections <xsl:apply-templates select="../*[local-name()='note']" mode="process"/> @@ -2154,9 +2173,12 @@ <xsl:attribute name="min-height">0mm</xsl:attribute> <xsl:attribute name="line-height">110%</xsl:attribute> + <!-- <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"> \ No newline at end of file