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: Modifying chapter headings not working


Try adding this inside <l:l10n language="en">:

   <l:context name="title-numbered">
      <l:template name="appendix" text="%n. %t"/>
      <l:template name="chapter" text="%n. %t"/>
   </l:context>

David

> -----Original Message-----
> From: arnonym [mailto:arnonym@subdimension.com]
> Sent: Wednesday, September 11, 2002 9:41 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: DOCBOOK-APPS: Modifying chapter headings not working
> 
> 
> Hello,
> 
> I am trying to modify the chapter headings through a XSL
> customization file. An older post to this mailing list
> stated this solution:
> 
> <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">
> 				<l:template name="chapter" 
> text="%n. %t"/>
> 			</l:context>
> 		</l:l10n>
> 	</l:i18n>
> 
> Well, this is not working for me. Strangely, the code below
> succesfully changes the navigation text:
> 
> <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:gentext key="nav-next"
> text="Foo"/>
> 		</l:l10n>
> 	</l:i18n>
> 
> I use saxon6_5_2 with DocBook 4.2 on a Win2k machine.
> 
> Is it a simple syntax error, or do i have to use a different
> approach to change the chapter headings?
> 
> wbr,
> Arno Sosna  


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