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: Chunk everything in a DocBook book? (Repost)


Kent Holsinger wrote:
 
This puts out the appropriate chunks, but the second-level sections
don't appear in the table of contents and the footer navigation is
 
You've done the hard part. The TOC is controlled by
 
;;What depth should the TOC generate?
;;Only top level of appendixes
(define (toc-depth nd)
  (if (string=? (gi nd) (normalize "book"))
      3        ;;change this to what you want and add to your custom driver
      (if (string=? (gi nd) (normalize "appendix"))
        0
        1)))
-- 
Kevin M. Dunn
kdunn@hsc.edu
Department of Chemistry
Hampden-Sydney College
HSC, VA 23943
(804) 223-6181
(804) 223-6374 (Fax)
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]