OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Johannes Katelaan" <jk@e-integration.de>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]