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]

Customizing chapter title


--------------enig9E7E4BC90DB84811B8722693
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"/>
    </l:context>

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.

cheers,

roel

--------------enig9E7E4BC90DB84811B8722693
Content-Type: application/pgp-signature

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

iEYEARECAAYFAj2RyIQACgkQ0s1hH2Icyr9w1gCgkbrQx9BZBE5s4Jar/YDVuQ9b
JWQAn0S4V0S6V3YrPIJCGcS+iXfcip3o
=z52K
-----END PGP SIGNATURE-----

--------------enig9E7E4BC90DB84811B8722693--


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