From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86691 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: \seeindex and secondary index (register) levels Date: Tue, 18 Mar 2014 20:11:59 -0400 Message-ID: <5328E0CF.4090807@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1658680931==" X-Trace: ger.gmane.org 1395187930 21946 80.91.229.3 (19 Mar 2014 00:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2014 00:12:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 19 01:12:21 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQ47H-0005pn-4i for gctc-ntg-context-518@m.gmane.org; Wed, 19 Mar 2014 01:12:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1B155101EC; Wed, 19 Mar 2014 01:12:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7cGklBiL6zr5; Wed, 19 Mar 2014 01:12:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BCA01101E8; Wed, 19 Mar 2014 01:12:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2A0C101E8 for ; Wed, 19 Mar 2014 01:12:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aYKA5GT7EnCm for ; Wed, 19 Mar 2014 01:12:13 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 8DDEC101E1 for ; Wed, 19 Mar 2014 01:12:03 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2J0THEi007661 for ; Wed, 19 Mar 2014 01:29:18 +0100 Original-Received: from [192.168.1.156] (pool-173-56-235-45.nycmny.fios.verizon.net [173.56.235.45]) by mailbackend.panix.com (Postfix) with ESMTP id 066522ED82 for ; Tue, 18 Mar 2014 20:12:01 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LDcth13 - 21a298b5d47a - 20140319 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86691 Archived-At: This is a multi-part message in MIME format. --===============1658680931== Content-Type: multipart/alternative; boundary="------------030602040604070209080700" This is a multi-part message in MIME format. --------------030602040604070209080700 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit How can I get \seeindex to refer to other than the top-level of an index entry? In the following MWE, I would like to link to /text+more/, not /text,/ and not /text+some/. That is, the highlight should include the name of the lower level(s). The actual link should be to the page with the entry for the reference text in the case that the top level is on one page of the index and the secondary entry on the next page. If this cannot be done, I can live with a separate \index{text, more} entry, but that is ugly when there are other text+something entries. I would also like to be able to specify the format of the reference, perhaps with before/middle/after keys. This would allow /text -> more/ or otherwise as my publisher's style guide may require. \setupinteraction[state=start] \starttext Some text\index{text+some}. More text\index{text+more}. And more\seeindex{I want}{text+more} and more\seeindex{I get}{text}. \placefootnotes \placeindex \stoptext -- Rik --------------030602040604070209080700 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit How can I get \seeindex to refer to other than the top-level of an index entry? In the following MWE, I would like to link to text+more, not text, and not text+some. That is, the highlight should include the name of the lower level(s). The actual link should be to the page with the entry for the reference text in the case that the top level is on one page of the index and the secondary entry on the next page.

If this cannot be done, I can live with a separate \index{text, more} entry, but that is ugly when there are other text+something entries.

I would also like to be able to specify the format of the reference, perhaps with before/middle/after keys. This would allow text -> more or otherwise as my publisher's style guide may require.
\setupinteraction[state=start]

\starttext

Some text\index{text+some}.

More text\index{text+more}.

And more\seeindex{I want}{text+more} and more\seeindex{I get}{text}.

\placefootnotes

\placeindex

\stoptext


--
Rik
--------------030602040604070209080700-- --===============1658680931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1658680931==--