Wishlist: add interaction to \seeindex

Explaination:

\seeindex{index_entry}{see_entry}
can be used to add entry to an index
that refers one to another entry.
Example: \seeindex{DNA}{deoxyribonucleic acid}

With \setupinteraction [state=start]
one gets active hyperlinks on the page numbers
of the index entries.
It would be nice if \seeindex entries to
the index would create an interaction hyperlink
to the corresponding real index entry.

This is pretty straight-forward, but probably
non-trivial to implement, as there is no guarantee
that the second entry of \seeindex indeed exists.
Of course, \seeindex could create this entry,
but it may not have an associated page number
or page numbers if \index{deoxyribonucleic acid}
was never called.

Even more sophisticated, but the bookkeeping on this
might get a bit complicated, \index{DNA} could
create an index entry under {deoxyribonucleic acid}
as \seeindex instructs to "hijack" this label.

(currently, it will put "see DNA" followed by a page number.)

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to