This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Automatic TOC generation
/ Stéphane Bline <sbline@apsydev.com> was heard to say:
| Well Norm, it does not work.
| The generation seems to loop forever.
Really? This works fine for me. What version of Jade are you running?
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % html "IGNORE">
<![%html;[
<!ENTITY % print "IGNORE">
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
]]>
]>
<style-sheet>
<style-specification use="docbook">
<style-specification-body>
(define (chapter-number-restart-list cmp) (list (normalize "book")
(normalize "part")))
(define (appendix-number-restart-list cmp) (list (normalize "book")
(normalize "part")
(normalize "article")))
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | It is good to have an end to
http://www.oasis-open.org/docbook/ | journey toward; but it is the
Chair, DocBook Technical Committee | journey that matters, in the
| end.--Ursula K. Le Guin