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 is suppressed

Title: Re: [docbook-apps] footnote numbering is suppressed
Hi Bob
I had to bring in the whole template to my customization layer because using match="para[not(parent::footnote)]" fouled up some other effects.  However, all is well now.
Many thanks.

This is one of the gotchas of XSL import precedence.  This template in fo/footnote.xsl:
<xsl:template match="footnote/para[1]

which generates the superscript in the para fo:block is being overridden by your customization of para.  A template match with a higher import precedence will always be used before a template of lower import precedence, even if  that has a better match and higher priority.  So you need to copy this template to your customization layer to raise its import precedence, or change your match attribute in your customization to exclude footnote parents:
Bob Stayton
Sagehill Enterprises
DocBook Consulting

Ron Catterall, Phd, DSc                         email: ron@catterall.net
Prolongacion de Hidalgo 140                             http://catterall.net/
San Felipe del Agua                                        tel: +52 951 520 1821
Oaxaca      68020  Mexico                          fax: +1 530 348 8309

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