This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] "toc" in "book" and "article"
- From: Michael Wiedmann <mw at miwie dot in-berlin dot de>
- To: Bob Stayton <bobs at sco dot com>
- Cc: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 20 Oct 2003 09:18:36 +0200
- Subject: Re: [docbook-apps] "toc" in "book" and "article"
- References: <20031018223210.GA4092@miwie.in-berlin.de> <20031019180017.A15353@sco.com>
Bob Stayton <bobs@sco.com> wrote:
> If you are looking to place an automatically-created toc,
> then you might consider customizing the stylesheets.
> But in this case I don't think that is necessary because it
> normally places the TOC after the titlepage stuff for an
> article anyway.
For HTML this is not a problem but I am using the DB2LaTeX XSL
stylesheets to create TeX and finally PDF. These stylesheets
also automatically create a TOC *if* there is <toc/> element.
Unfortunately the <toc> element in an <article> is only valid
after all <section>s.
Now I consider to use a processing instruction to ouput the
necessary TeX code at the place I want the TOC to appear.
Michael
--
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.