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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL: section.label.separator?


On Mon, Aug 12, 2002 at 09:21:22AM +0200, Michael Wiedmann wrote:
> In DocBook XSL 1.53.0 there is a HTML param 'autotoc.label.separator'
> which sets the string to use to seperate labels and titles in TOC.
> 
> Is there a similar param (I couldn't find one) for setting the string
> to seperate labels and titles in running text (H1, H2, ...)?
> 
> I want to get numbered sections _without_ a trailing '.'.

There is no 'separator' parameter for titles, but you
can still customize the titles to remove the dot.
The titles use the gentext templates in common/en.xml 
(for English) under the 'title-numbered' context.
You'll see the sect1-5 'text' attributes include the dot
and a non-breaking space character.

To customize the title presentation, see Dave Pawson's FAQ
under "How do I change the way chapter titles are
presented?" for an example of the general technique:

http://www.dpawson.co.uk/docbook/styling/custom.htm 
-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


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