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


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


Powered by eList eXpress LLC