This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] Chapter boiler plate text, xslt stylesheets.
- From: Jeff Beal <jeff dot beal at ansys dot com>
- To: 'Dave Pawson' <dpawson at nildram dot co dot uk>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 7 Oct 2003 14:09:24 -0400
- Subject: RE: [docbook-apps] Chapter boiler plate text, xslt stylesheets.
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:dpawson@nildram.co.uk]
> Sent: Tuesday, October 07, 2003 2:08 PM
> To: docbook-apps@lists.oasis-open.org
> 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
> docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.