This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: line before footnote area
- From: Bob Stayton <bobs at caldera dot com>
- To: Marko Petersen <lg002237 at rzserv2 dot fhnon dot de>,docbook-apps at lists dot oasis-open dot org
- Date: Tue, 12 Nov 2002 13:12:49 -0800
- Subject: Re: DOCBOOK-APPS: line before footnote area
- References: <5.1.1.6.0.20021106141747.00b95f50@rzserv2.fhnon.de>
On Wed, Nov 06, 2002 at 02:18:47PM +0100, Marko Petersen wrote:
> Hi,
>
> I am trying to add a line between the main-reference-area and
> the footnote-reference-area in the PDF output. Has anybody an
> idea how to do this?
I don't see any way to do this. When a <footnote> element
is processed, the following fo objects are placed in the fo file:
<fo:footnote>
<fo:inline>mark</fo:inline>
<fo:footnote-body font-size="{$footnote.font.size}">
[apply templates to the footnote element]
</fo:footnote-body>
</fo:footnote>
While you could put a top border property on the
fo:footnote-body or a block within it, that would apply to
every footnote, not just the first one on the page.
Since the FO processor takes the fo:footnote-body elements
and makes the decision about on which page to place them,
there is no way for the stylesheet to designate the
first footnote on a page that should have a top border.
And I don't see a way to tell the FO processor to
do that, either.
Does anyone else have a solution?
Are there any other 'hooks' for processing footnotes?
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com