This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: line before footnote area


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]