lib/isodoc/un/un.plenary-attachment.xsl in metanorma-un-0.5.5 vs lib/isodoc/un/un.plenary-attachment.xsl in metanorma-un-0.5.6

- old
+ new

@@ -1473,10 +1473,11 @@ <xsl:attribute name="margin-bottom">12pt</xsl:attribute> + </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"> @@ -2010,18 +2011,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"/> @@ -2078,12 +2093,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> @@ -2167,10 +2186,13 @@ <xsl:if test="not(*[local-name()='th'])"> <xsl:attribute name="min-height">8mm</xsl:attribute> </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"> @@ -3305,9 +3327,11 @@ <xsl:if test="../@type = 'source' or ../@type = 'abbreviation'"> <xsl:attribute name="font-size">9pt</xsl:attribute> <xsl:attribute name="text-align">justify</xsl:attribute> <xsl:attribute name="padding-top">0mm</xsl:attribute> </xsl:if> + + <fo:inline xsl:use-attribute-sets="note-name-style"> <xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/> \ No newline at end of file