OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] How to remove chapter pretext from title?


That text is part of the generated text system, which uses text templates 
for each locale for each element.  If you add something like this to your 
customization layer (for English documents), then you will get just the 
number and the title:

<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
  <l:l10n language="en">
     <l:context name="title-numbered">
       <l:template name="chapter" text="%n.&#160;%t"/>
     </l:context>
  </l:l10n>
</l:i18n>

See this reference for details:

http://www.sagehill.net/docbookxsl/CustomGentext.html#CustomGenText

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Darya Said-Akbari" <darya_akbari@yahoo.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, September 06, 2006 7:54 AM
Subject: [docbook-apps] How to remove chapter pretext from title?


> Hi,
>
> I try to remove the chapter pretext in chapter titles
> with <xsl:param name="chapter.autolabel">0</xsl:param>
> in my customization layer.
>
> However this removes pretext and label.
>
> I want to keep the label.
>
> Any hints?
>
> Regards,
> Darya
>
>
>
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]