Page 1 of 1

Specialize an indexterm

Posted: Thu Jan 27, 2022 11:07 pm
by gbv34
Hello,
I'm in a situation where I need to create an index for a project which uses the same terms, repeated in different sections, but whose application differs according to the ongoing chapter. Example:

Chapter 1 : Gemmotherapy
Blackcurrant
Chapter 2 : Homeopathy
Blackcurrant
Chapter 3 : Phytotherapy
Blackcurrant

My goal is to publish an index that distinguishes the herbs in regard to the chapters and in order to avoid having duplicates which point to identical terms but different uses. What strategy would you advise me, and how could I leverage <indexterm> for this?

Thanks a lot for your feedback.

Re: Specialize an indexterm

Posted: Fri Jan 28, 2022 7:44 am
by Radu
Hi,

I'm not very skilled in using index terms so you might want to try also registering and asking around on the DITA Users List:https://dita-users.groups.io/g/main
Looking at the DITA 1.3 specification for indexterm: https://www.oxygenxml.com/dita/1.3/spec ... xterm.html
Indexterms can be nested like this:

Code: Select all

<indexterm>Gemmotherapy<indexterm>sBlackcurrant</indexterm></indexterm>
Regards,
Radu