This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Footnote alignment
- From: Giulio Piancastelli <gpian at softhome dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 16 May 2004 03:39:50 +0200
- Subject: [docbook-apps] Footnote alignment
Using version 1.65.1 of Norm Walsh's stylesheets to generate XSL-FO and
FOP 0.20.5 to generate PDF, I have tried to modify epigraph's alignment
copying the template from fo/block.xsl and altering it in the following way:
<xsl:template match="epigraph">
<fo:block>
<xsl:call-template name="anchor"/>
<xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
<xsl:if test="attribution">
<fo:block text-align="center">
<xsl:text>--</xsl:text>
<xsl:apply-templates select="attribution"/>
</fo:block>
</xsl:if>
</fo:block>
</xsl:template>
And adding the following template to get the whole epigraph alignment to
the right:
<xsl:template match="epigraph/para|epigraph/simpara">
<fo:block xsl:use-attribute-sets="normal.para.spacing"
text-align="right" font-style="italic">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
But now I have noticed that the footnote text alignment at the bottom of
the page is the same as the text alignment of the text block in the page
body where the footnote reference (e.g. a number) is placed. (I have
noticed it because I have a footnote on the attribution of an epigraph.)
How can I avoid this behaviour?
Best Regards,
Giulio Piancastelli.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.