That one is easily supported by the stylesheets. You can put an empty <toc/> element
where you want the mini-toc to appear. Then you need to customize the stylesheet
param named 'generate.toc' to *remove* section from it, so it does not get an
automatic TOC at the beginning of the section. Then you also need to set the
stylesheet param 'process.empty.source.toc' to 1.
Of course, this requires adding the <toc/> elements where you want them to appear. If
you want this feature to be automatic, you'll need to customize the template with
match="section" from html/sections.xsl. You'll need to add an xsl:apply-templates
that selects everything before the first sub-section element, then process the toc,
and then another xsl:apply-templates that selects only section children.
----- Original Message -----
From: "mike 675" <m_mc...@yahoo.co.uk>
Sent: Tuesday, August 23, 2011 2:52 AM
Subject: [docbook-apps] Section TOCs in HTML: Placing after intro text
DocBook -> HTML using the DocBook XSL stylesheets.
At the top of every major section, we have a mini TOC in the HTML output.
We want to retain this, but place the mini-TOC *after* any introductory
So we would get HTML output of the form:
2.1. Using the ABC Software
This section includes the following topics about using using the ABC