xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keiron Liddle <kei...@aftexsw.com>
Subject Re: footnote
Date Fri, 29 Dec 2000 00:27:30 GMT
Currently footnotes are in development and are not committed to cvs.
You can find some footnote examples in cvs at:
docs/examples/footnotes/
Your example isn't quite right, the contents on the footnote-body need 
to be in blocks (fo:block).

You will need to wait until the code is committed before you can use 
footnotes with fop.

Fernando López Carballeda wrote:

> Hi,
> 
> would you please send me an example with footnote?
> 
> I am using this:
> 
> <fo:root
>     xmlns:fo="http://www.w3.org/1999/XSL/Format"
>     xmlns:svg="http://www.w3.org/2000/svg">
> 
>   <fo:layout-master-set>
>     <fo:simple-page-master master-name="portrait"
>         page-height="29.7cm"
>         page-width="21cm"
>         margin-top="1cm"
>         margin-bottom="2cm"
>         margin-left="2.5cm"
>         margin-right="2.5cm">
>       <fo:region-body margin-top="2.5cm" />
>       <fo:region-before extent="2.5cm" />
>       <fo:region-after extent="1.5cm" />
>     </fo:simple-page-master>
> 
>     <fo:page-sequence-master master-name="basicPSM" >
>       <fo:repeatable-page-master-alternatives>
> 	  <fo:conditional-page-master-reference master-name="portrait"
> 	  		      page-position="first" />
> 	  <fo:conditional-page-master-reference master-name="portrait"
> 			      page-position="rest" />
> 	  <fo:conditional-page-master-reference master-name="portrait" />
>      </fo:repeatable-page-master-alternatives>
>     </fo:page-sequence-master>
>   </fo:layout-master-set>
> 
>   <fo:page-sequence master-name="basicPSM" initial-page-number="1">
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block
>           font-family="serif"
>           font-size="from-parent(font-size) - 2pt"
>           font-weight="normal"
>           line-height="13pt"
>           space-before.optimum="20pt"
>           text-align="justify"
>           text-indent="5cm">Bla, bla bla bla bla bla bla bla bla bla bla bla
> bla<fo:footnote>
>       <fo:inline>[1]</fo:inline>
>       <fo:footnote-body>Test</fo:footnote-body>
>    </fo:footnote> bla bla bla bla bla bla bla bla bla bla bla bla
> bla</fo:block>
>     </fo:flow>
>   </fo:page-sequence>
> </fo:root>
> 
> and it shows the following warnings:
> 
> WARNING: Unknown formatting object
> http://www.w3.org/1999/XSL/Format^footnote
> WARNING: Unknown formatting object
> http://www.w3.org/1999/XSL/Format^footnote-body
> 
> I could not find examples with footnote in Internet.
> 
> Thanks in advance,
> Fernando López Carballeda
> 
> 
> 
> 


Mime
View raw message