Next in thread → Next in month →

Re: [docbook-apps] footnote numbering in FO output

From
Bob Stayton <>
Date
2009-11-13T17:19:44+00:00
ID
144301ca6485$69ef7850$0b00a8c0@pazu
Thread
Re: [docbook-apps] footnote numbering in FO output
There is no stylesheet parameter for this, but you can customize the 
template that handles the numbering.  It starts with this line in 
fo/footnote.xsl:

<xsl:template match="footnote" mode="footnote.number">

You need to edit this instance of xsl:number:

        <xsl:number level="any"
                    from="chapter|appendix|preface|article|refentry|bibliography"
                    count="footnote[not(@label)][not(ancestor::table) and 
not(ancestor::informaltable)]
                    ...

Just delete the from="..." attribute, and then it will count from the start 
of the document.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Johannes Katelaan" <>
To: <>
Sent: Friday, November 13, 2009 6:56 AM
Subject: [docbook-apps] footnote numbering in FO output


Hi,

in FO output the numbering sequence for footnotes restarts at 1 at the 
beginning of each chapter.
Is there a way to turn this off? I'ld like to have them continuously 
increasing throughout the document.

Johannes


---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 
Next in thread → Next in month →