OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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/           


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC