This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Re: [docbook] Footnote Problem


Your document does process with the stock stylesheets, so it is something in
your customization layer.  I believe it is the handling of the para element
inside the footnote.

Your customization has a match="para".  Since it has higher import
precedence, it overrides the special template that Norm wrote to handle the
first para in a footnote.  You need to copy this template from
html/footnote.xsl to your customization layer to raise its import
precedence:

<xsl:template match="footnote/para[1]|footnote/simpara[1]" priority="2">

This is a tricky issue in stylesheet customization.  Although this template
in the original stylesheet has a more specific match, it has a lower import
precedence, so it is not used unless it appears in your stylesheet.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Melanie Rösch" <m.roesch@rose.de>
To: "Bob Stayton" <bobs@sagehill.net>; "DocBook Apps"
<docbook-apps@lists.oasis-open.org>
Sent: Friday, May 14, 2004 12:19 AM
Subject: [docbook-apps] Re: [docbook] Footnote Problem


> I work with Linux (KDE 3.1).
> The whole document validates with the program xmllint without any
problems.
> For processing the document I use Saxon 6.52 and the stylesheet version
> 1.65.1.
>
> Regards
> Melanie Rösch
>
>
> Bob Stayton schrieb:
>
> >[For future reference, please use the docbook-apps list for questions
about
> >processing DocBook.  The 'docbook' list is for questions about the
DocBook
> >DTD.  I'm moving this over to the docbook-apps list.]
> >
> >I cut and pasted your footnote example into a document and it works for
me.
> >Perhaps you could describe how you are processing the document (what
> >processor, what stylesheet version, etc.).  Does the document validate?
> >
> >Bob Stayton
> >Sagehill Enterprises
> >DocBook Consulting
> >bobs@sagehill.net
> >
> >
> >----- Original Message ----- 
> >From: "Melanie Rösch" <m.roesch@rose.de>
> >To: <docbook@lists.oasis-open.org>
> >Sent: Thursday, May 13, 2004 3:58 AM
> >Subject: [docbook] Footnote Problem
> >
> >
> >
> >
> >>I've include footnotes in my document like this:
> >><para>...Modelica <footnote><para>Modelica is a registered
> >>...</para></footnote>...</para>
> >>
> >>In the generated HTML-Output I get a Link after Modelica to the
> >>footnote, but the
> >>Link doesn't work. If I look at the end of the HTML-File the footnote is
> >>there, but
> >>without a Linklabel back to the text.
> >>
> >>What did I make wrong?
> >>
> >>regards Melanie
> >>
> >>To unsubscribe from this list, send a post to
> >>
> >>
> >docbook-unsubscribe@lists.oasis-open.org, or visit
> >http://www.oasis-open.org/mlmanage/.
> >
> >
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]