This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Section levels in TOC


Perfect.  It works.

Does anyone know how to handle it in the customization layer?

- Walt

----- Original Message -----
From: "Dan York" <dyork@e-smith.com>
To: "Walter Joyce" <wjoyce@bestweb.net>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Monday, September 24, 2001 5:05 PM
Subject: Re: DOCBOOK-APPS: Section levels in TOC


Walt,

FYI, you might want to check your system's clock... it looks like
you
are a month ahead of the rest of us:

  On Wed, Oct 24, 2001 at 04:04:40PM -0400, Walter Joyce wrote:


> Is there a way to control how many section levels appear in the
> table of contents? I am using SGML docbook. I want my TOC to
include
> <chapter> and <sect1> titles but not <sect2>, <sect3> ... .  How
is
> this done?

I believe it is controlled by the following entry in "dbautoc.dsl"
in the stylesheets:

  (define (toc-depth nd)
    (if (string=? (gi nd) (normalize "book"))
        3
1))

Not sure how to modify that in your customization layer... but that
is what I believe needs to be changed.

Dan

--
Dan York, Director of Training        dyork@e-smith.com
Ph: +1-613-751-4401 Cell: +1-613-263-4312 Fax: +1-613-564-7739
Mitel Network Corporation Network Server Solutions Group
150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            http://www.mitel.com/

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]