Eclipse Plugin: Footnote in PDF body not superscript
Posted: Fri Aug 13, 2004 9:42 am
I just installed the plugin for Eclipse and generated a PDF from a DocBook source file.
All is well so far except the style for footnotes in the body of the text is hardly different than the rest of the text (unlike in XHTML, where the numbers are both surrounded by square brackets and superscripted).
Looking at footnote.xsl, it appears like I'm getting the font reduction to 90%, but that neither superscripting option is having much effect.
Is there some other way to improve the appearance of footnotes in PDFs? (hand modify the XSLT? -- not my forte).
Thanks for any clues.
Kirby
All is well so far except the style for footnotes in the body of the text is hardly different than the rest of the text (unlike in XHTML, where the numbers are both surrounded by square brackets and superscripted).
Looking at footnote.xsl, it appears like I'm getting the font reduction to 90%, but that neither superscripting option is having much effect.
Code: Select all
<xsl:template name="format.footnote.mark">
<xsl:param name="mark" select="'?'"/>
<fo:inline font-size="90%">
<xsl:choose>
<xsl:when test="$fop.extensions != 0">
<xsl:attribute name="vertical-align">super</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="baseline-shift">super</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:copy-of select="$mark"/>
</fo:inline>
</xsl:template>
Thanks for any clues.
Kirby