OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Appendix & TOC


Norman Walsh a écrit :
> 
> / Nicolas Mailhot <nmailhot@capgemini.fr> 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)))
> 

Seems good... but doesn't work at all.
Should I modify a specific file insted of putting this in my
stylesheet driver (seems you call this that way) ?

-- 
Nicolas



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC