This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] hierarchical "."
- From: Bob Stayton <bobs at sco dot com>
- To: flo at abwesend dot de
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 1 Apr 2003 09:04:36 -0800
- Subject: Re: [docbook-apps] hierarchical "."
- References: <10024.1049141782@www52.gmx.net> <4423.1049201843@www10.gmx.net>
On Tue, Apr 01, 2003 at 02:57:23PM +0200, flo at abwesend dot de wrote:
> Bob Stayton wrote
> >On Mon, Mar 31, 2003 at 10:16:22PM +0200, flo at abwesend dot de wrote:
> >> has anyone an idea how to change the headers of sections, chapters
> [...]by removing the dot?
> >The dots are part of the generated text strings defined
> >in common/en.xml (or whatever lang you use) in the
> >stylesheet distribution. In that
> >file, the <l:context name="title-numbered"> element has
> >entries like this:
>
> ><l:template name="chapter" text="Chapter %n. %t"/>
> > ^
> > ^
> >
> >The %n is the number, and   is non-breaking space.
> >You can customize these strings in a customization
> >layer as described in this doc:
> >
> >http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomGenText
>
> Thanks, that works fine!
> Do you know where the according parts of toc-entrys are?
> Thanks and regards,
Oh yeah, that extra dot in the TOC is a stylesheet parameter.
<xsl:param name="autotoc.label.separator" select="'. '"/>
Set that to just a space.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org