From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87725 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: distinguishing index entries according to function by using \setupregister Date: Sat, 07 Jun 2014 23:01:18 +0200 Message-ID: <53937D9E.7010906@wxs.nl> References: <87iooc7h60.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402174905 21760 80.91.229.3 (7 Jun 2014 21:01:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 21:01:45 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 07 23:01:41 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 1WtNkB-0007Zw-Tu for gctc-ntg-context-518@m.gmane.org; Sat, 07 Jun 2014 23:01:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B235E10219 for ; Sat, 7 Jun 2014 23:01:39 +0200 (CEST) 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 v6GMIv3ENlAu for ; Sat, 7 Jun 2014 23:01:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CBC241023F for ; Sat, 7 Jun 2014 23:01:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFEAC101E7 for ; Sat, 7 Jun 2014 23:01:30 +0200 (CEST) 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 MDVolQJ1nOZM for ; Sat, 7 Jun 2014 23:01:29 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 0DFE2101E2 for ; Sat, 7 Jun 2014 23:01:23 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s57L1LQH008382 for ; Sat, 7 Jun 2014 23:01:22 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 5578-1713362 for ; Sat, 07 Jun 2014 23:01:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <87iooc7h60.fsf@approx.mit.edu> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Mbx1mzi - c5ab63f31585 - 20140607 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:87725 Archived-At: On 6/7/2014 7:39 PM, Sanjoy Mahajan wrote: > In MkII, one could configure the index to have different types of page > entries, e.g. roman and italic, by using \setupregister, as in the > example at . That > doesn't work with a fairly recent MkIV (2014.05.17 beta). > > I see that it's a long-standing feature request: > > > > So, it is probably not on the short-term feature list. But, if it is on > the list, please let me know, as I'll keep using it for my textbook! hm, it's already an old (mkiv) feature > Otherwise, I'll just make all the page entries the same style. The > perfect is the enemy of the good, especially after 19 years... > > (Right now with 2014.05.17 beta, using the feature, say as > \index[definition::]{commutativity}commutativity, gives an entry > alphabetized according to the "definition::" key.) we have a better and mnore powerful mechanism now \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index{it->italic}\index{normal} This is a \index[bf->bold]{test with bold number}test. This is a less important \index{test}test. \placeindex \stoptext (see test suite registers/processors*) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________