Re: DOCBOOK: Appendix & TOC

From
Norman Walsh <>
Date
1999-12-22T16:38:42+00:00
ID
Thread
Re: DOCBOOK: Appendix & TOC
/ Nicolas Mailhot <> was heard to say:
| Is it possible to specify somewhere that you do not want
| appendix subsections to be included in the main TOC ?

Off the top of my head...

;; Returns the depth of auto TOC that should be made at the nd-level
(define (toc-depth nd)
  (if (string=? (gi nd) (normalize "book"))
      7
      (if (string=? (gi nd) (normalize "appendix"))
        0
        1)))

                                        Cheers,
                                          norm

-- 
Norman Walsh <>      | Debugging is 99% complete most of
http://www.oasis-open.org/docbook/ | the time--Fred Brooks, jr.
Member, DocBook Editorial Board    |