This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: nubering section titles
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: nubering section titles
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Thu, 10 Aug 2000 05:31:15 -0400
- References: <BFAD013A70EBD2119C6600A0C9B72DAD4D89DA@admbux.betronic.nl>
- Reply-to: Norman Walsh <ndw at nwalsh dot com>
[Please post questions related to stylesheets and other processing
on docbook-apps, not docbook. --moderator]
/ Daniël Beukers <dabe@betronic.nl> was heard to say:
| Is it possible to have the DSSSL print stylesheet generate numbers for
| setions? For example
| ...
| <sect2>
| <title>FooBar</title>
| <para>....
|
| would produce:
|
| X.y.1 FooBar
| ....
|
| (where X=chapter number and y=sect1 number)
Yes. In your custom stylesheet, set:
(define %section-autolabel% #t)
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Limited in his nature, infinite in
http://www.oasis-open.org/docbook/ | his desires, man is a fallen god
Chair, DocBook Technical Committee | who remembers heaven.--Lamartine