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: 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



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


Powered by eList eXpress LLC