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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC