From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75331 Path: news.gmane.org!not-for-mail From: Alan Braslau Newsgroups: gmane.comp.tex.context Subject: Re: Formatting Indexed Words Within the Text Date: Sat, 24 Mar 2012 11:20:33 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20120324112033.68ac0a9a@iram-hb-003386.extra.cea.fr> References: <67926749-1A4E-4701-BCDC-86C2979590C0@stien.de> <4F6CC41E.4090606@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332584447 26574 80.91.229.3 (24 Mar 2012 10:20:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 10:20:47 +0000 (UTC) Cc: mailing list for ConTeXt users To: pragma@wxs.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 24 11:20:46 2012 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 1SBO5T-0000hD-2e for gctc-ntg-context-518@m.gmane.org; Sat, 24 Mar 2012 11:20:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A922B101E8; Sat, 24 Mar 2012 11:20:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HBmsndpZW0nn; Sat, 24 Mar 2012 11:20:40 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 129AC101E1; Sat, 24 Mar 2012 11:20:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F23EE101E1 for ; Sat, 24 Mar 2012 11:20:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jZ3ExHnoQV9o for ; Sat, 24 Mar 2012 11:20:36 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id E544C101DF for ; Sat, 24 Mar 2012 11:20:36 +0100 (CET) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q2OAKZq1010212 for ; Sat, 24 Mar 2012 11:20:36 +0100 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id q2OAKZUh022680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 24 Mar 2012 11:20:35 +0100 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id q2OAKYHa019201; Sat, 24 Mar 2012 11:20:34 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.extra.cea.fr (charybde.extra.cea.fr [132.166.43.102]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.2) with ESMTP id q2OAKYVM018121; Sat, 24 Mar 2012 11:20:34 +0100 In-Reply-To: <4F6CC41E.4090606@wxs.nl> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.168.224.8; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGNmkzoF - f6fd2daab8ae - 20120324 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:75331 Archived-At: On Fri, 23 Mar 2012 19:42:38 +0100 Hans Hagen wrote: > in the test suite: registers/processors-001.tex > > \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 > > so the magic word is 'processors' Magic indeed! So processors can be used *wherever* text is to be typeset, as a prefix: name->text \defineprocessor[name][...,...=...,...] with keys: style=, color=, left=, right=, command= I'm not sure that I understand, but once I do, I'll have to add a wiki page... 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________