This is the mail archive of the davenport@berkshire.net mailing list for the Davenport project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DAVENPORT: Stylesheet TOC


/ Jerome Thebert <thebertj@felixstowe.rms.slb.com> was heard to say:
| For example, I'd like to have "sect1", "sect2" and "sect3" titles appear
| in the TOC for articles. 

Make a customization of the stylesheets and increase the toc-depth:

;; 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      ;; making this 9 should get you down to sect3.
      1))


                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | What if there were no hypothetical
http://www.oasis-open.org/docbook/ | questions?
Member, DocBook Editorial Board    | 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]