I have a document which defines quite some terms. I want to create an index where those terms are listed, along with prominent usages. In the index, I want to differentiate between the page that defines the link and occurrences. I also want the terms be clickable and link to the defining occurrence with
coupling=yes. So, if a term is defined on page 3 and is referenced on page 1 and 5, it should look something like this:
term 1, 3, 5
and link to the occurrence on page 3.
As I understand the documentation, coupling will setup my index to link to the first or last occurrence, which is not helpful in this case. I also understand that there are processors, but they are used for styling the entry, not the page numbers.
Is this possible to do with ConTeXt registers?