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 "J.Pietschmann" <j3...@yahoo.de> on 2007/02/17 21:54:43 UTC

[Spam Body=R 3.50 ] Re: Footnote-question

Thomas Zastrow wrote:
> Is it possible to add an automatic numbering-schema to footnotes? I 
> mean, to put a continous number on them, that they are automatically 
> numerated number one, two, three and so on?

This seems to be a pure XSLT question. If so: no problem,
have a look at xsl:number, something like
   <xsl:template match="my-footnote">
      <fo:footnote>
        <fo:inline font-size="80%" baseline-shift="super">
          <xsl:number>
        </fo:inline>
        <fo:footnote-body font-size="80%">
          <fo:block>
           <fo:wrapper font-size="80%" baseline-shift="super">
             <xsl:number>
           </fo:wrapper>
           <fo:leader leader-pattern="space" leader-length="1.5em"/>
           Stuff
....

Beware: untested!

For more XSLT help, the gurus tend to hang out on the XSL list:
  http://www.mulberrytech.com/xsl/xsl-list/

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: [Spam Body=R 3.50 ] Re: Footnote-question

Posted by Thomas Zastrow <li...@thomas-zastrow.de>.
J.Pietschmann schrieb:
> Thomas Zastrow wrote:
>> Is it possible to add an automatic numbering-schema to footnotes? I 
>> mean, to put a continous number on them, that they are automatically 
>> numerated number one, two, three and so on?
>
> This seems to be a pure XSLT question. If so: no problem,
> have a look at xsl:number, something like
>  
<snip />

Sorry for the late reply, thank you, I've got it ;-)

Best,

Tom

----------
http://www.opendtp.de



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org