From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33851 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: index questions - again Date: Wed, 14 Mar 2007 17:32:01 +0100 Message-ID: <899428A6-10CF-42BC-BC0D-033391BE3830@uni-bonn.de> References: <286D1236-0AFF-4946-B14A-F3B48DB0AD01@uni-bonn.de> <45F6E24F.6080005@wxs.nl> <7C32DBEF-9F8E-44F8-81A1-71B655E58D23@uni-bonn.de> <45F7BACD.4060008@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173889970 7970 80.91.229.12 (14 Mar 2007 16:32:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 16:32:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 14 17:32:41 2007 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 1HRWP0-0001qz-AR for gctc-ntg-context-518@m.gmane.org; Wed, 14 Mar 2007 17:32:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 415C41FEF1; Wed, 14 Mar 2007 17:27:24 +0100 (CET) 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 31761-04-3; Wed, 14 Mar 2007 17:27:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76E8B1FE97; Wed, 14 Mar 2007 17:27:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1CB591FE97 for ; Wed, 14 Mar 2007 17:27:14 +0100 (CET) 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 31761-04-2 for ; Wed, 14 Mar 2007 17:27:10 +0100 (CET) Original-Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by ronja.ntg.nl (Postfix) with ESMTP id 4D62F1FE93 for ; Wed, 14 Mar 2007 17:27:10 +0100 (CET) Original-Received: from fwd35.aul.t-online.de by mailout11.aul.t-online.de with smtp id 1HRWOl-0004id-03; Wed, 14 Mar 2007 17:32:23 +0100 Original-Received: from [192.168.0.2] (rxvlL4ZEweU2XTVibmOTyYeVRyOCmJnQeNeSVeyr4faxD0h6ouy-Qc@[84.172.112.156]) by fwd35.sul.t-online.de with esmtp id 1HRWOQ-08fac40; Wed, 14 Mar 2007 17:32:02 +0100 In-Reply-To: <45F7BACD.4060008@wxs.nl> X-Mailer: Apple Mail (2.752.2) X-ID: rxvlL4ZEweU2XTVibmOTyYeVRyOCmJnQeNeSVeyr4faxD0h6ouy-Qc@t-dialin.net X-TOI-MSGID: e15a39ab-c0b3-4750-aa41-e8d7528caa29 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:33851 Archived-At: On Mar 14, 2007, at 10:05 AM, Hans Hagen wrote: > \def\dostartregister[#1][#2][#3][#4]#5% % 3 args: #3 is sortkey > {\chardef\registerpagestatus\plustwo % 4 args: #3 is type, #4 is > sortkey > \def\currentregister{#1}% > \iffourarguments > \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#4]{#5}}% > \dodoregister[#4]{#3}{#5}% > \else > \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#3]{#5}}% > \dodoregister[#3]{}{#5}% > \fi} > Thanks so much, this seems to be doing exactly what I want! Now my index is almost perfect... Thanks Thomas