This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Chunk everything in a DocBook book? (Repost)
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: Chunk everything in a DocBook book? (Repost)
- From: "Kevin M. Dunn" <kdunn at hsc dot edu>
- Date: Tue, 18 Jul 2000 09:30:46 -0400
- References: <m0hf9nag07.fsf@darwin.eeb.uconn.edu>
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)