From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44012 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Indexing macros Date: Mon, 15 Sep 2008 14:49:21 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200809151449.21454.alan.braslau@cea.fr> References: <20080911205818.GB31572@gaston.couberia.bzh> <200809121027.34656.alan.braslau@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221487849 6740 80.91.229.12 (15 Sep 2008 14:10:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 14:10:49 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 15 16:11:35 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KfEne-0007AA-Rp for gctc-ntg-context-518@m.gmane.org; Mon, 15 Sep 2008 16:11:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30FB51FEB3; Mon, 15 Sep 2008 16:10:32 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00998-02-7; Mon, 15 Sep 2008 16:09:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 687A81FD8A; Mon, 15 Sep 2008 16:09:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CEA0C1FB82 for ; Mon, 15 Sep 2008 16:09:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30158-04-4 for ; Mon, 15 Sep 2008 16:08:58 +0200 (CEST) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.166.172.107]) by ronja.ntg.nl (Postfix) with ESMTP id 211E91FCCE for ; Mon, 15 Sep 2008 14:52:56 +0200 (CEST) Original-Received: from cyclose2.extra.cea.fr (cyclose2.extra.cea.fr [132.167.198.23]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-1.0) with ESMTP id m8FCqt5Y008704 for ; Mon, 15 Sep 2008 14:52:55 +0200 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by cyclose2.extra.cea.fr (8.13.8/8.13.8) with ESMTP id m8FCqt5M019589 for ; Mon, 15 Sep 2008 14:52:55 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from dogger.localnet (dogger.saclay.cea.fr [132.166.21.4]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.0) with ESMTP id m8FCqt0E007261 for ; Mon, 15 Sep 2008 14:52:55 +0200 User-Agent: KMail/1.10.1 (Linux/2.6.26; KDE/4.1.1; i686; ; ) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44012 Archived-At: On Tuesday 3 December 2002 17:57:00 Hans Hagen wrote: > Copied from the manual source: ... > \index {form::entry} The following minimal example works as expected: \setupregister[index][au][textstyle=\sc] \def\Index#1{\index{#1}#1} \def\Author#1{\index{au::#1}#1} \starttext The \index[TeX]{\TeX}\TeX \Index{typesetting} system (\Author{Knuth}) \page \completeindex \stoptext Within a large project using the above definitions, author entries in the index are typeset normally, not in \sc. However, if I use \setupregister[index][au][textstyle=boldslanted] I do get bold-slanted entries in my large project. Have I misunderstood the use of setupregister, or is this a bug? Thank you, in advance. Alan ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________