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


/ Walter Joyce <wjoyce@bestweb.net> was heard to say:
| Perfect.  It works.
| 
| Does anyone know how to handle it in the customization layer?

Just put the definition of

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

in a customization layer. See plain.dsl in the print directory
for an example of a customization layer.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | The greatest of all secrets is
http://www.oasis-open.org/docbook/ | knowing how to reduce the force of
Chair, DocBook Technical Committee | envy.--Cardinal De Retz

----------------------------------------------------------------
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]