From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80252 Path: news.gmane.org!not-for-mail From: "Schmitz Thomas A." Newsgroups: gmane.comp.tex.context Subject: Re: index: distinguish entries by pagestyle Date: Mon, 14 Jan 2013 17:26:38 +0100 Message-ID: <16FA0D53-6CB9-4673-AD11-C34459C1A56D@uni-bonn.de> References: <9E70F1AB-AA7E-4064-9A57-2FB03E4FE6C2@imt.uni-luebeck.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1358180848 31347 80.91.229.3 (14 Jan 2013 16:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 16:27:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 14 17:27:47 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 1Tumsw-0007Kx-3E for gctc-ntg-context-518@m.gmane.org; Mon, 14 Jan 2013 17:27:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD904101F0; Mon, 14 Jan 2013 17:27:25 +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 NRceMWpqBPi0; Mon, 14 Jan 2013 17:27:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9D45E101E5; Mon, 14 Jan 2013 17:27:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67ECE101E5 for ; Mon, 14 Jan 2013 17:27: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 RLcto2wn40VC for ; Mon, 14 Jan 2013 17:27:12 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id BDDD4101E2 for ; Mon, 14 Jan 2013 17:27:12 +0100 (CET) Original-Received: from uni-bonn.de (x23.rhrz.uni-bonn.de [131.220.15.155]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0EGRCmQ017674 for ; Mon, 14 Jan 2013 17:27:12 +0100 Original-Received: from [87.178.49.100] (account tschmit1@uni-bonn.de HELO [192.168.0.37]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.4) with ESMTPSA id 35135345 for ntg-context@ntg.nl; Mon, 14 Jan 2013 17:27:11 +0100 In-Reply-To: <9E70F1AB-AA7E-4064-9A57-2FB03E4FE6C2@imt.uni-luebeck.de> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.155; 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: 0QILQrcuU - d585fc1a870a - 20130114 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:80252 Archived-At: On Jan 14, 2013, at 2:54 PM, Andreas Mang wrote: > Hi there, > > I got a question considering the registers. I'd like to distinguish between the definition of some term and its appearance/use somewhere else (boldface vs. normal font of page number for instance). The garden provides a solution, which does not seem to work for me: > > %%%%%%%%%%%%%%%%%%% > \setupregister[index][nb][pagestyle=bold] > > \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? Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________