If you are using the XSLT 1 stylesheets, then placing an empty
element where you want a TOC, and setting the 'process.empty.source.toc'
stylesheet param to 1 will generate a TOC for that element. It applies
to hierarchy elements like chapter and section, but not arbitrary elements.
> Is there an easy way to obtain this variety? Or am I heading down the
> path to madness?
The xslTNG stylesheets will put a ToC anywhere that you put an empty
element. There’s also an m:toc mode that would allow you to
control which elements get a ToC more programmatically:
It appears to me that the parameters that control the placement and content
of tocs apply at a document level. What I am wondering is if it is possible
to to set different values for 'generate.toc', 'toc.section.depth',
'toc.max.dept' etc for different chapters/appendices?
In my document (being