This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Section numbering depth
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: Section numbering depth
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Fri, 18 May 2001 10:44:48 -0400
- References: <20010516133339.B28063@dahak.com>
/ Greg Gallagher <greg@dahak.com> was heard to say:
| We're currently using jade and DSSSL currently to render
| PS/HTML/whatever ... what is the path of least resistance to modify
| how sections are numbered in the chapters and TOC? Do we need to
| switch to DockBookXML + XSL? Is there a parameter I can play with?
| Help! I have no idea..
Write a customized stylesheet that includes:
;; 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
1))
(If 3 isn't quite right, try 4. I forget where counting starts.)
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Throughout history the world has
http://www.oasis-open.org/docbook/ | been laid waste to ensure the
Chair, DocBook Technical Committee | triumph of conceptions that are
| now as dead as the men that died
| for them.--Henry De Montherlant
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org