← Prev in month ← Prev in thread

RE: DOCBOOK-APPS: Autogen title prefixes, htmlhelp.xsl

From
Bradford, Denis <>
Date
2001-08-06T13:33:53+00:00
ID
3906C56A7BD1F54593344C05BD1374B10286E278@SUS-MA1IT01
Thread
RE: DOCBOOK-APPS: Autogen title prefixes, htmlhelp.xsl
Switching from htmlhelp.dsl to htmlhelp.xsl, one difference seems to be that
the xsl generates chapter titles in this form: 
      Chapter 1. Title. 

We don't want this for help topics - the dsl stylesheet did a more help-like
title, omitting the prefix. 

To fix, I first set <xsl:param name="chapter.autolabel" select="0"
doc:type='boolean'/>,
but this seems to turn off only the number, giving 'Chapter  . Title'

The only workaround I could find was to edit the localization files (like
en.xml) and change template names in the title and xref contexts. For
example, removing 'Chapter %n. ' from  <template name="chapter"
text="Chapter %n. %t"/>

Since the instructions in this file say not to edit it, I suspect this is
not the preferred method. Can anybody set me straight?

______________
Denis Bradford 
Rational Software, 20 Maguire Road, Lexington, MA 02421
 (781)676-7560
--
You are only young once, but you can remain immature indefinitely. -- Ogden
Nash
← Prev in month ← Prev in thread