Next in thread → Next in month →

Re: DOCBOOK: nubering section titles

From
@orman Valsh
Date
2000-08-10T09:33:43+00:00
ID
Thread
Re: DOCBOOK: nubering section titles
[Please post questions related to stylesheets and other processing
on docbook-apps, not docbook. --moderator]

/ Dani螔 Beukers <> 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 <>      | 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
Next in thread → Next in month →