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: Enumerated sections in Table of Contents


howard mann <howardm@xmission.com> writes:

> How do I get the relevant subsections to appear in the Table of
> Contents, numbered or otherwise.

Here is what I use:

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

If it's not a book, set that final 1 to whatever value you like.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>



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


Powered by eList eXpress LLC