* Possible seeindex enhancement
@ 2018-10-25 20:39 Rik Kabel
2018-10-27 17:07 ` Rik Kabel
0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2018-10-25 20:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]
List,
I am looking for a way to modify the text used for \seeindex (in
English, "see") to have two types of seeindex result in the same index
register. I would like to produce, for example,
pseudepigraphy, 103,/see also obliteration/
and at the same time be able to produce the standard
Marut, Ret,/see Traven, B./
For the first of these in print documents (no interaction required) I
can use \seeindex{pseudepigraphy}{also obliteration}, but that does not
produce an interactive link.
Can anyone suggest how to accomplish this?
--
Rik
//
[-- Attachment #1.2: Type: text/html, Size: 969 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Possible seeindex enhancement
2018-10-25 20:39 Possible seeindex enhancement Rik Kabel
@ 2018-10-27 17:07 ` Rik Kabel
0 siblings, 0 replies; 2+ messages in thread
From: Rik Kabel @ 2018-10-27 17:07 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1303 bytes --]
On 10/25/2018 16:39, Rik Kabel wrote:
>
> List,
>
> I am looking for a way to modify the text used for \seeindex (in
> English, "see") to have two types of seeindex result in the same index
> register. I would like to produce, for example,
>
> pseudepigraphy, 103,/see also obliteration/
>
> and at the same time be able to produce the standard
>
> Marut, Ret,/see Traven, B./
>
> For the first of these in print documents (no interaction required) I
> can use \seeindex{pseudepigraphy}{also obliteration}, but that does
> not produce an interactive link.
>
> Can anyone suggest how to accomplish this?
>
> --
> Rik
>
Following up on my post, here is an MWE demonstrating the lack of
interaction, which is expected because {also obliteration} is not indexed:
\setupinteraction [state=start]
\setupregister [index]
[check=no]
\seeindex {pseudepigraphy}
{also obliteration}
\seeindex {Matilda effect}
{obliteration}
\seeindex {Marut, Ret}
{Traven, B.}
\starttext
Something, but could be only \tex{dontleavhmode}.
\index{obliteration}
\index{pseudepigraphy}
\index{Traven, B.}
\placeindex
\stoptext
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 1949 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-27 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 20:39 Possible seeindex enhancement Rik Kabel
2018-10-27 17:07 ` Rik Kabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).