This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Customizing chapter title
- From: David Cramer <dcramer at broadjump dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 25 Sep 2002 10:05:03 -0500
- Subject: RE: DOCBOOK-APPS: Customizing chapter title
> -----Original Message-----
> From: Roel Vanhout [mailto:roel@riks.nl]
> 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):
>
> 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
Yes. These sections in Bob Stayton's tutorial should help:
http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomDriverFi
le
http://www.sagehill.net/xml/docbookxsl/CustomMethods.html#CustomGenText
David