Next in thread → Next in month →

Re: [docbook-apps] Possible problem with typed indexes

From
Richard Hamilton <>
Date
2013-11-05T03:12:21+00:00
ID
Thread
Re: [docbook-apps] Possible problem with typed indexes
Hi Dave,

Thanks, that did it. I should have noticed that option when I was looking at Bob's book; it's right there at the top of that section:-).

And, yes, I know that the specialized terms appear in the general index, and that's fine.

Best regards,
Richard
-------
XML Press
XML for Technical Communicators
http://xmlpress.net




On Nov 4, 2013, at 7:03 PM, Dave Gardiner wrote:

> Richard,
> Do you have "index.on.type" set to 1? Also, the terms appearing in the specialized index will also appear in the general index - it's just a subset.
> Dave
> On 05-11-13 12:40 PM, Richard Hamilton wrote:
>> I just tried to use the type facility with indexes for the first time, and I got a strange result.
>> 
>> I have indexterms with type="author" and indexterms with no type attribute. E.g.,
>> 
>> <indexterm type="author"><primary>Shakespeare, William</primary></indexterm>
>> 
>> I inserted two index tags, one with type="author" and one without. The one with author has a title. E.g.,
>> 
>> <index type="author"><title>Authors</title></index>
>> <index/>
>> 
>> I get two indexes, but they are identical except for the title. That is, all of the terms, regardless of type, are in both indexes. I expected to get one complete index and one index with only the terms that have type="author".
>> 
>> Has anyone else run into this? Am I doing something wrong, or is this a bug in the stylesheets (I'm using 1.78.1).
>> 
>> Best regards,
>> Dick Hamilton
>> -------
>> XML Press
>> XML for Technical Communicators
>> 
>> http://xmlpress.net
>> 
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> 
>> 
>> For additional commands, e-mail: 
>> 
>> 
>> 
>> 
> 
> -- 
> Dave Gardiner
>
Next in thread → Next in month →