In my textbook, I want to include both an index and a glossary. For the glossary, for which I'm currently using the
glossaries package, I would prefer to have pointers (and hyperlinks) that don't go straight to one or more occurrences in the main text, but instead point to a single index entry (typically for the same term).
Maybe a sketch is in order.
Index Combustion engine -> page 23, page 56, ... Glossary Combustion engine: an endangered species -> page 23, page 56, ...
What I would like instead:
Index Combustion engine -> page 23, page 56, ... Glossary Combustion engine: an endangered species. -> (page of) index entry on combustion engine
And while we are at it, we might as well also generate a pointer to the glossary entry within the index item.
No cluttering up the glossary with potentially long lists of page references that are already maintained in the index.
I usually give fairly extensive explanations in the glossary entries themselves, and the main text typically does not add much to those; thus, I don't want to frustrate the reader by inviting him to sift through the main text in search of detail that isn't there.
While writing, I don't want to think about questions like: should this occurrence go into the index only, the glossary only, or both? Thinking about what to include in the index is distraction enough.
PS: Before commenting on the above sample text, note that the book is about neither engines nor endangered species.