Set the parameter 'chapter.autolabel' to 0. When this is non-zero, the
stylesheets pull the gentext from the context named 'title-numbered'. When
it is zero, they pull the gentext from the context named 'title-unnumbered',
which, as you see, has the proper template without 'Chapter %t'.
Jeff Beal
> -----Original Message-----
> From: Dave Pawson [mailto:]
> Sent: Tuesday, October 07, 2003 2:08 PM
> To:
> Subject: [docbook-apps] Chapter boiler plate text, xslt stylesheets.
>
>
> I'm mis-using a chapter,
> and getting
>
> Chapter 1.xxx(title)
>
> any way I can remove the 'Chapter 1' please.
> Nix on Bob's booksite seems obvious.
>
> http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText
> is close (and pretty sneaky Bob, I like it :-)
>
> I can't find the 'context' to use that example.
>
> common/en.xml has
>
> <l:context name="title-unnumbered">
> <l:template name="appendix" text="%t"/>
> <l:template name="article/appendix" text="%t"/>
> <l:template name="bridgehead" text="%t"/>
> <l:template name="chapter" text="%t"/>
>
> Which *may* be used for the gentext, but what's the context?
>
>
> Any help appreciated.
>
> DaveP
>
>
>
> To unsubscribe from this list, send a post to
> , or visit
http://www.oasis-open.org/mlmanage/.