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

Roland Stigge Roland Stigge <stigge@antcom.de>, 298127@bugs.debian.org
Sat, 05 Mar 2005 23:29:01 +0100


Hi,

On Sat, 2005-03-05 at 10:29 +0100, Michael Wiedmann wrote:
> > 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.

I'm talking about the default case which should be consistent between
processors. E.g., when converting a document to html using xmlto, I
always get a toc by default.

Feel free to reassign this bug if you think the inconsistency problem is
caused by xmlto (i.e. or whatever stylesheet in charge).

Thanks.

bye,
  Roland