← Prev in month ← Prev in thread

Change "TableofContents" gentext for Chapter level tocs?

From
anon croaker
Date
2003-12-09T18:00:46+00:00
ID
Thread
Change "TableofContents" gentext for Chapter level tocs?
Hello

 

I'm trying to setup a customisation layer that will give me a Book level TOC and a set of Chapter level TOCs. I would like, however, for the TOC title text to read "In this Chapter you will cover:" when at a chapter level and to retain the more traditional "Table of Contents" at the Book level.

 

Long term, I'd probably need to support other languages too but I can worry about that later.

 

I've got the <xsl:param name="generate.toc"> stuff sorted and working but as far as I can see <l:gentext key="TableofContents" text="Table of Contents"/> is a single entry for all TOCs.

 

Is it possible to do what I want at a customisation layer level or would I need to edit the templates themselves. If so, is there any merit in submitting a change request?

 

I'd also like the Chapter level TOC to be just a list (bulleted?) rather than a full-on TOC.

 

Perhaps I should set:

 

<xsl:param name="generate.toc">
book      title,toc,figure
chapter   title
section   title
</xsl:param>

 

And manually maintain my Chapter TOC within my <chapter> XML source?

 

TIA

 

croaker

   BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be.
← Prev in month ← Prev in thread