You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Marko Petersen <lg...@rzserv2.fhnon.de> on 2002/11/06 14:17:20 UTC

line before footnote area

Hi,

I am trying to add a line between the main-reference-area and
the footnote-reference-area. Has anybody an idea how to do
this?

Greetings,

Marko 


Re: line before footnote area

Posted by Marko Petersen <lg...@rzserv2.fhnon.de>.
A second transformation would be difficult, because it should
work for several documents and dynamic content.
But thanks for the info. If it is not implemented yet, I have to find
another solution for dividing these two parts, maybe a larger
margin for the body part (if this will work...).

Greetings,

Marko

At 23:23 06.11.2002 +0100, you wrote:
>Marko Petersen wrote:
>>I am trying to add a line between the main-reference-area and
>>the footnote-reference-area. Has anybody an idea how to do
>>this?
>
>The spec provides a special region named "xsl-footnote-separator"
>for this purpose, you could put a leader in it:
>   <fo:static-content flow-name="xsl-footnote-separator">
>     <fo:block><fo:leader leader-pattern="rule"/></fo:block>
>   </fo:static-content>
>
>Unfortunately, FOP does not implement this. IOW you're hosed.
>
>If you are adventurous, check out the area tree output (aka XML
>output). You might be able to automatically leverage this to
>determine which footnotes are the first on a page, and then do
>a second XSLT/rendering pass, using this information to insert
>a leader in the footnote-body of said footnotes.
>
>J.Pietschmann
>


Re: line before footnote area

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Marko Petersen wrote:
> I am trying to add a line between the main-reference-area and
> the footnote-reference-area. Has anybody an idea how to do
> this?

The spec provides a special region named "xsl-footnote-separator"
for this purpose, you could put a leader in it:
   <fo:static-content flow-name="xsl-footnote-separator">
     <fo:block><fo:leader leader-pattern="rule"/></fo:block>
   </fo:static-content>

Unfortunately, FOP does not implement this. IOW you're hosed.

If you are adventurous, check out the area tree output (aka XML
output). You might be able to automatically leverage this to
determine which footnotes are the first on a page, and then do
a second XSLT/rendering pass, using this information to insert
a leader in the footnote-body of said footnotes.

J.Pietschmann


Re: line before footnote area

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Marko Petersen wrote:

> I am trying to add a line between the main-reference-area and
> the footnote-reference-area. Has anybody an idea how to do
> this?

Well, you certanly know what the first footnote body is, so you can just add 
block with an rule leader at the beginning. See Dave Pawson's example:
http://www.dpawson.co.uk/xsl/sect3/bk/ch11.html#d0e8692
-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel