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] Position of section toc in JavaHelp


Yes, this is an import problem.  There are two templates that match on
section.  The first one that is applied is from the chunking stylesheet
because it has highest import precedence. All it does is start a chunk and
do apply-imports.  The apply-imports then processes the section with the
original non-chunking section template from the imported non-chunking
stylesheet.

Your current customization is overwriting the section template that does the
chunking.  You need to leave the chunking template alone, and arrange it so
that the apply-imports uses your custom section template to format within
the chunk.  This doc describes a bit how to do it:

http://www.sagehill.net/docbookxsl/ChunkingCustomization.html

Let me know if you can't get it working.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "patrick riffel" <versorger@gmx.li>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 12, 2005 1:22 AM
Subject: [docbook-apps] Position of section toc in JavaHelp


> Hello all,
>
> I could need some help on a customization layer for generating JavaHelp
from
> DocBook. The stock stylesheets place the section TOC at the beginning of
> each section and Iīd like to have the TOC at the end of each section.
>
> I found out that the TOC is generated in html/sections.xsl in the
> <xsl:template match="section">. I rearranged the call-templates to suit my
> needs. The problem is: It works fine, if I edit the original stylesheets,
> but as soon as I copy that template to my customization layer, the
chunking
> stops working. I suppose there is some import problems but I just couldnīt
> figure it out.
>
> Any hints for putting the toc at the end of a section instead of the
> beginning?
>
> Thanks in advance
> Patrick
>
> -- 
> Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
> Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
>
> ---------------------------------------------------------------------
> 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]