[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: Re: DOCBOOK: Gettings numbered documents
Hi Jonathan,
Simply write a custom stylesheet like that:
----------------------------------------------------------------------
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN"
[
<!ENTITY docbook.dsl SYSTEM "dsssl/print/docbook.dsl" CDATA DSSSL >
]>
<style-sheet>
<style-specification id="print" use="docbook">
<style-specification-body>
;; number chapters and sections
(define %chapter-autolabel% #t)
(define %section-autolabel%
#t)
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook.dsl">
</style-sheet>
---------------------------------------------------------------------
For the index you need to process it with collateindex.pl, see Norm's
website: nwalsh.com
Camille.
Jonathan Riddell a �crit :
>
> I'm a bit of a docbook beginner so you'll have to be kind.
>
> I notice that Docbook, the definitive guide has a useful habit of
> numbering all the sections and subsection (eg 1. then 1.1, 1.2 etc) yet
> when I try to make a docbook document it only numbers the chapters.
>
> How do I get it to number all the sections?
>
> Thanks, Jonathan Riddell
> jr@jriddell.org
>
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: docbook-request@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC