This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Section levels in TOC
Walter Joyce wrote:
> Perfect. It works.
>
> Does anyone know how to handle it in the customization layer?
Well, it is not in dbparam.dsl, AFAIK, but you could add something like:
(define %book-toc-depth% 3)
(define %other-toc-depth% 1)
to your driver file, and then change dbautoc.dsl to:
> 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))
(define (toc-depth nd)
(if (string=? (gi nd) (normalize "book"))
%book-toc-depth%
%other-toc-depth%))
--
Richard Sharpe, rsharpe@ns.aus.com, LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>