[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook] para customization affects footnote numbers
Hi Sharon, I had the very same problem long ago and was helped by Bob
Stayton on the docbook-apps mailing list: “This is one of the
gotchas of XSL import precedence. This template in fo/footnote.xsl: <xsl:template
match="footnote/para[1]
|footnote/simpara[1]
|footnote/formalpara[1]"
priority="2"> 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: match="para[not(parent::footnote)]" So you’ll want to change: <xsl:template match="para"> To <xsl:template match="para[not(parent::footnote)]"> And all should be well. Btw., I’ve replied to the docbook-apps list. The docbook
list is for questions about what markup to use and the DocBook schema while
docbook-apps is for questions about the stylesheets and other matters of
DocBook processing. I’m getting a blank page for that oasis list
guidelines page as well. No idea what’s up with that. David From: Sharon Lifshitz
[mailto:sharon.l.mail@gmail.com] Hello, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]