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] | [Elist Home]

Subject: DOCBOOK-APPS: Customizing chapter title

Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hello all,

I'm new to xsl so please forgive me my newbie question :)
I'm trying to make the chapter title different in the htmlhelp version 
and the pdf version of my document. In the htmlhelp, I'd like to make it 
look like 'Chapter 1. The simulation process', and in the pdf version it 
should look like '1. The simulation process.'. The problem is that the 
word 'Chapter' is in the file with the translations (nl.xml in my case):

    <l:context name="title-numbered">
       <l:template name="appendix" text="Aanhangsel %n. %t"/>
       <l:template name="chapter" text="Chapter %n. %t"/>
       <l:template name="sect1" text="%n. %t"/>
       <l:template name="sect2" text="%n. %t"/>
       <l:template name="sect3" text="%n. %t"/>
       <l:template name="sect4" text="%n. %t"/>
       <l:template name="sect5" text="%n. %t"/>
       <l:template name="section" text="%n. %t"/>
       <l:template name="simplesect" text="%n. %t"/>

Is there a way I can override this part in my fo driver file? Or should 
I call the template in another way in the fo stylesheets? Any hints 
would be appreciated.



Content-Type: application/pgp-signature

Version: GnuPG v1.0.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org



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

Powered by eList eXpress LLC