This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: nubering section titles


[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]