No, you don't. If the generate.toc param has "toc" listed for your
element, it will automatically generate the toc. An empty <toc/>
element can be used to override the default position of the toc in the
output, but you have to turn off the generate.toc setting for that
element. See:
http://docbook.sourceforge.net/release/xsl/current/doc/fo/process.empty.source.toc.html
Bob Stayton
Sagehill Enterprises
[email protected]
On 10/31/2018 5:30 AM, Dave Pawson wrote:
do you actually need the <toc/> element in the doc body?
to position the toc's.
regartds
On Wed, 31 Oct 2018 at 10:50, Peter Fleck <[email protected]> wrote:
HI Bernhard,
http://www.sagehill.net/docbookxsl/TOCcontrol.html
Check that you have included tables in the generate.toc parameter.
For example:
<xsl:param name="generate.toc">
appendix toc,title
article/appendix nop
article toc,title
book toc,title,figure,table,example,equation
chapter toc,title
part toc,title
preface toc,title
qandadiv toc
qandaset toc
reference toc,title
sect1 toc
sect2 toc
sect3 toc
sect4 toc
sect5 toc
section toc
set toc,title
</xsl:param>
Peter
On 31/10/2018 07:23, Bernhard Kleine wrote:
I checked Docbook 5: the Definitive Guide and Docbook XSL: the complete
Guide for LoT and I did not find it.
Adding tocentry="1" to selected tables did not generate a List of Tables
either. What do I miss? How to make it appear? How to place it?
Regards
Bernhard