[xml/sgml-pkgs] Bug#298127: db2latex-xsl: Please create TOC by default (for book)

Michael Wiedmann Michael Wiedmann <mw@miwie.in-berlin.de>, 298127@bugs.debian.org
Sat, 5 Mar 2005 10:29:29 +0100


* Roland Stigge <stigge@antcom.de> wrote [050304 22:53]:

> currently, no table of contents is created by default for books.
> Instead, I need to manually create one with <toc/>. Other target formats
> usually generate a TOC by default. So db2latex should do that also.

I don't think that this is the right way.
The reason that there is the markup tag <toc> is exactly as to give the
author the opportunity to decide himself whether he wants a toc or not.
Quite a few of my <book> documents don't have a <toc>.

If a user always wants a <toc> for his books he could easily achieve 
this in his customization layer.

Michael
-- 
mw@miwie.in-berlin.de                              http://www.miwie.org