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: 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


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