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] Placement of TOC in HTML chunked output pages


Bob,

Thanks very much, it worked perfectly.  I also had to perform
a similar modification to component.xsl to cause the TOC location
to change for preface/chapter/appendix.


On 3/9/05 2:42, "Bob Stayton" <bobs@sagehill.net> wrote:

> Hi Paul,
> You could rearrange the template with match="section" in html/sections.xsl.
> You need to move the call to the "section.toc" template to after the
> <xsl:apply-templates>.
> 
> You'll need to properly set up the change for chunked output, though,
> because of import precedence.  See this reference for more info on
> customizing chunking:
> 
> http://www.sagehill.net/docbookxsl/ChunkingCustomization.html
> 
> You'll need to put the customized section template in the file described in
> step 1 of that reference because it is changing the non-chunking behavior.
> 
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
> 
> 
> ----- Original Message -----
> From: "Paul DuBois" <paul@kitebird.com>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Friday, March 04, 2005 7:43 AM
> Subject: [docbook-apps] Placement of TOC in HTML chunked output pages
> 
> 
>> When generating HTML output, for pages that have a TOC for
>> subsections, the TOC comes out after the title and before
>> the rest of the page content.  Is there a way to make the
>> TOC come out last (after the page content)?
>> 
>> 
>> 
>> 
> 
> 



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