reducing toc-depth to two, dropping the parts

Alex Groenewoud krisp at wanadoo.nl
Mon May 13 13:41:27 PDT 2002


If book/book.xml is changed to read:

&bookinfo;
&dedication;
&preface;
&chapter01;
&chapter02;
&chapter03;
&chapter04;
&chapter05;
&chapter06;
&chapter07;
&chapter08;
&chapter09;
&appendixa;
&appendixb;

And the following three lines are included in lfs.dsl:

(define (toc-depth nd)
;; set depth of main Table of Contents to 2, others to 1
(if (string=? (gi nd) (normalize "book"))  2  1))

Does this remove the thorn from your eye, Gerard?

Alex

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list