← Prev in month ← Prev in thread
Next in thread → Next in month →

DOCBOOK-APPS: Re: DOCBOOK: Gettings numbered documents

From
camille
Date
2001-03-15T08:13:08+00:00
ID
Thread
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 嶰rit :
> 
> 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
> 
> 
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: 
← Prev in month ← Prev in thread
Next in thread → Next in month →