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] | [List Home]

Subject: use titleabbrev for index but not for TOC: how?

Hi, I'm trying to create a specialized index in HTML output (for an
ebook actually).

This specialized index will be called "Literary works mentioned in this book."

I see how to do that in Bob's XSLT book.

Here's my problem. In HTML output, default behavior in the index  is
for the hyperlink to go to the label for the chapter or section where
the indexterm is found. Output will look like


Twain, Mark, Chapter 4. (1001 Different Types of metaphors and how to
use them).

where 1001 Different types of metaphors and how to use them is the
section containing the indexterm.

This is not ideal for me. Ideally I'd like the names of the literary
works to become hyperlinks. Failing that, I'd prefer that the
hyperlink for the index item to be a titleabbrev so that the output
displays as:


Twain, Mark, (Ch. 4)

 If I leave the section or chapter title, the size of the section
title will take up more room than the literary works themselves. That
will look strange on the page (because the reader does not really need
to know the section but the specific location of the mention).

I see that I can set the index.prefer.titleabbrev  to a numerical
value so that the index will display abbreviated titles instead of the
complete title. That is good. But I notice that the titleabbrev value
will show up in the TOC (and that is bad).

Is there a way to tell the stylesheets to pay attention to the
titleabbrev value in the index but NOT the TOC? Thanks.

Robert Nagle
12777 Ashford Point Dr #1417
Houston, Texas 77082
713 893 3424

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