OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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-specification id="print" use="docbook">
;; number chapters and sections
(define %chapter-autolabel% #t)
(define %section-autolabel%
<external-specification id="docbook" document="docbook.dsl">

For the index you need to process it with collateindex.pl, see Norm's
website: nwalsh.com


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