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] Re: [docbook] Footnote Problem


I don't understand this question.  We are talking about the DocBook XSL
stylesheets, not CSS stylesheets.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


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


Bob,

Are you saying we can use xml and xsl to do html style sheets?

Scott

-----Original Message-----
From: Bob Stayton [mailto:bobs@sagehill.net]
Sent: Friday, May 14, 2004 10:50 AM
To: Melanie Rösch; DocBook Apps
Subject: 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/. Or http://www.allaboutsingles.com or
http://www.people-services.net
> >
> >
> >>
> >>
> >>
> >
> >
> >
> >
> >
>
> 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/.








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