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: [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/.


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