This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Space After Footnotes
- From: Bob Lee <crazybob at crazybob dot org>
- To: DOCBOOK-APPS <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 3 Oct 2004 10:32:52 -0500
- Subject: [docbook-apps] Space After Footnotes
DocBook XSL 1.66.1 seems to be purposefully inserting a space after
footnotes which isn't desirable in situations such as this:
test<footnote>text</footnote>, more text
I simply overrode the template in my custom stylesheet an commented out
the line with the space:
<xsl:template match="footnote">
<xsl:choose>
<xsl:when test="ancestor::tgroup">
<xsl:call-template name="format.footnote.mark">
<xsl:with-param name="mark">
<xsl:apply-templates select="." mode="footnote.number"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<fo:footnote>
<fo:inline>
<xsl:call-template name="format.footnote.mark">
<xsl:with-param name="mark">
<xsl:apply-templates select="." mode="footnote.number"/>
</xsl:with-param>
</xsl:call-template>
<!--xsl:text> </xsl:text-->
</fo:inline>
<fo:footnote-body font-family="{$body.fontset}"
font-size="{$footnote.font.size}"
font-weight="normal"
font-style="normal"
text-align="{$alignment}"
margin-left="0pc">
<xsl:apply-templates/>
</fo:footnote-body>
</fo:footnote>
</xsl:otherwise>
</xsl:choose>
</xsl:template>