From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77327 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: \seeindex and processors Date: Fri, 13 Jul 2012 19:56:31 +0200 Message-ID: <30458FB3-0972-456A-83B8-6818447FC159@imt.uni-luebeck.de> References: <5000599A.7030506@wxs.nl> 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: dough.gmane.org 1342202202 12197 80.91.229.3 (13 Jul 2012 17:56:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 17:56:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 13 19:56:42 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 1Spk6b-0002sP-Q3 for gctc-ntg-context-518@m.gmane.org; Fri, 13 Jul 2012 19:56:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88655101E3; Fri, 13 Jul 2012 19:56:40 +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 RkxNZ-Bf0dYa; Fri, 13 Jul 2012 19:56:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35084101EF; Fri, 13 Jul 2012 19:56:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19835101EF for ; Fri, 13 Jul 2012 19:56:37 +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 tgE5ie59J5Ct for ; Fri, 13 Jul 2012 19:56:34 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id BC835101E3 for ; Fri, 13 Jul 2012 19:56:34 +0200 (CEST) Original-Received: from ip2.rz.uni-luebeck.de (ip2.rz.uni-luebeck.de [141.83.100.72]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6DHsBe6003468 for ; Fri, 13 Jul 2012 19:54:12 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAPFgAFCNU3BB/2dsb2JhbABCA7gYgQeCIAEBAQMBAQEBJCI1CQICAQgYLhsMCyUBAQQTG4dsBwMHu34EiziCVYJBYAOWTI50gmE Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip2.rz.uni-luebeck.de with ESMTP; 13 Jul 2012 19:56:32 +0200 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; Fri, 13 Jul 2012 19:56:32 +0200 Thread-Topic: [NTG-context] \seeindex and processors Thread-Index: Ac1hINWuHTOdwRieQzazUUtVuMq0/w== In-Reply-To: <5000599A.7030506@wxs.nl> 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.72; country=DE; region=10; city=Lubeck; latitude=53.8667; longitude=10.7000; http://maps.google.com/maps?q=53.8667,10.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHxRSbBq - 87a2a12ab21c - 20120713 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:77327 Archived-At: Dear Hans & Wolfgang, Thanks for looking into this. I know that this has quite low priority. As i= t seems to me processors do not really seem to provide the behaviour I had = in mind. Clearly, I should have thought of a better example in the first pl= ace: %%%%%%%%%%%%% \defineprocessor[smallcaps][style=3D\sc] \starttext % this works nicely {\sc Test}\index{smallcaps->Test} % this is what I want it to look like % (which does not work for \seeindex[.]) \index{{\sc Cauchy}||Problem} % this is what I tried after you have suggested % to use processors, but it does not work (*) = {\sc Cauchy}||Problem\index{{smallcaps->Cauchy}||Problem} \placeindex[n=3D1] \stoptext %%%%%%%%%%%%% (*) As you can see I am using smallcaps as an indicator for a "personal nam= e". From looking at the code (I have to admit that I do not know anything a= bout what's beyond the context front end) I think there's no quick solution= to get this to work with preprocessors. Am I doing something wrong? If you do not have the time to look into this right now never mind. Sorry for the hassle. Cheers, Andreas Am Jul 13, 2012 um 7:23 PM schrieb Hans Hagen: > On 13-7-2012 09:57, Wolfgang Schuster wrote: >> Hi Hans, >> = >> processors aren=92t applied to the second argument of \seeindex, only th= e first is formatted. >> = >> \defineprocessor[smallcaps][style=3D\sc] >> = >> \starttext >> = >> Apples\index{smallcaps->Apple} >> = >> Malus domestica\seeindex{smallcaps->Malus domestica}{smallcaps->Apple} >> = >> \placeindex[n=3D1] >> = >> \stoptext > = > ok, so the next beta will have > = > \setupinteraction[state=3Dstart] > = > \defineprocessor[smallcaps][style=3D\sc] > \defineprocessor[bold] [style=3D\bf] > = > \starttext > = > Apples\index{smallcaps->Apple} > Pears\index{Pears} > = > Malus domestica\seeindex{smallcaps->Malus domestica}{bold->Apple} > = > Bonus domestica\seeindex{Bonus domestica}{Pears} > = > \placeindex[n=3D1] > = > \stoptext > = > ----------------------------------------------------------------- > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ -- Andreas Mang, MSc Research Associate UNIVERSITY OF LUEBECK INSTITUTE OF MEDICAL ENGINEERING Division of Computer Science, = Engineering and Natural Sciences Ratzeburger Allee 160, Building 64 23562 Luebeck, Germany Phone: +49 (0) 451 500 5416 Fax: +49 (0) 451 500 5403 mang@imt.uni-luebeck.de http://www.imt.uni-luebeck.de ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________