From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80260 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: index: distinguish entries by pagestyle Date: Tue, 15 Jan 2013 09:31:03 +0100 Message-ID: References: <9E70F1AB-AA7E-4064-9A57-2FB03E4FE6C2@imt.uni-luebeck.de> <16FA0D53-6CB9-4673-AD11-C34459C1A56D@uni-bonn.de> <20130114163636.GB24866@phlegethon.router_intern> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358238678 3419 80.91.229.3 (15 Jan 2013 08:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 08:31:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 15 09:31:36 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tv1vj-0006JZ-BE for gctc-ntg-context-518@m.gmane.org; Tue, 15 Jan 2013 09:31:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B010A101EC; Tue, 15 Jan 2013 09:31: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 ybiurEJoPmP1; Tue, 15 Jan 2013 09:31:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5A164101E5; Tue, 15 Jan 2013 09:31:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BCA7101E5 for ; Tue, 15 Jan 2013 09:31:12 +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 FoywScZVksoA for ; Tue, 15 Jan 2013 09:31:11 +0100 (CET) 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 ED86F101E2 for ; Tue, 15 Jan 2013 09:31:10 +0100 (CET) Original-Received: from ip1.rz.uni-luebeck.de (ip1.rz.uni-luebeck.de [141.83.100.71]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0F8V5eS031977 for ; Tue, 15 Jan 2013 09:31:05 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AogFAIYS9VCNU3BB/2dsb2JhbABEgmu3UYM5FnOCHgEBBYEJAgEIGC4yJQEBBBMbh38DCKgDjkCQTWEDlyePLYJ2 Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip1.rz.uni-luebeck.de with ESMTP/TLS/AES128-SHA; 15 Jan 2013 09:31:05 +0100 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Tue, 15 Jan 2013 09:31:04 +0100 Thread-Topic: [NTG-context] index: distinguish entries by pagestyle Thread-Index: Ac3y+qf8qGyywaoXRNGrVOtHAbT2QQ== In-Reply-To: <20130114163636.GB24866@phlegethon.router_intern> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.71; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IM8v5yO - 8a2902aefd93 - 20130115 (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:80260 Archived-At: Am Jan 14, 2013 um 5:36 PM schrieb Philipp Gesang : > =B7=B7=B7=B7=B7=B7=B7= =B7=B7 > = >> = >> On Jan 14, 2013, at 2:54 PM, Andreas Mang wrot= e: >> = >>> Hi there, >>> = >>> I got a question considering the registers. I'd like to distinguish bet= ween the definition of some term and its appearance/use somewhere else (bol= dface vs. normal font of page number for instance). The garden provides a s= olution, which does not seem to work for me: >>> = >>> %%%%%%%%%%%%%%%%%%% >>> \setupregister[index][nb][pagestyle=3Dbold] >>> = >>> \starttext >>> = >>> My \index[nb::dog]{dog}dog is a cat\index{cat}. >>> = >>> \placeindex >>> \stoptext >>> %%%%%%%%%%%%%%%%%%% >>> = >>> (modified from http://wiki.contextgarden.net/Registers). >>> = >>> What I'd like to have is, that dog appears with a bold page number and = that cat doesn't. >> = >> Your example produces the expected output with Mkii, and your code is OK= , so i assume this must be a bug in Mkiv. Hans? > = > Hi Andreas and Thomas, > = > this was reported a while back [0] but is still a =93todo=94 in the > source [1]. > = > [0] http://www.ntg.nl/pipermail/ntg-context/2011/059544.html > [1] http://repo.or.cz/w/context.git/blob/refs/heads/origin:/tex/context/b= ase/strc-reg.mkiv Hi there, Thomas & Philipp: Thanks a lot for looking into this. In my opinion this is a very helpful feature, as it allows to differentiate= between definition and use. @Hans: May I humbly ask, if it is possible to fix this?! (it doesn't hurt t= o ask, I suppose ;) ) Cheers, Andreas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________