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: Re: [docbook-apps] Indices


Hi Dave,

On Sonntag, 23. September 2007, Dave Pawson wrote:
> I'm looking at the emacs texinfo markup.
>
> It has indexterms marked by 'class', e.g. index terms for variables,
> functions, keys etc.
>
> Is there such capability in docbook please?

If I understood you correctly, you want to group some index entries into 
*separate* indices, or in other words, a "specialized index". Right?


> I can use
>
>   <indexterm class='variable'>
>              <primary>track-eol</primary>
>           </indexterm>
>
> But is there any mechanism to group index entries by some attribute
> value? I don't think the zone attribute is applicabe?

Use the "type" attribute (»Specifies the target index for this term«). Try 
this:

 <indexterm type="variable">
   <primary>track-eol</primary>
 </indexterm>

Don't forget to insert the following line (generally at the end of your 
document):

  <index type="variable"/>

All index entries marked with "type" and its value "variable" is shown 
under this index. For more information, see [1].

Hope this helps. :)


Bye,
Tom

----------
[1] http://www.sagehill.net/docbookxsl/IndexSpecial.html


-- 
Thomas Schraitle


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