From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15887 Path: main.gmane.org!not-for-mail From: Christopher Creutzig Newsgroups: gmane.comp.tex.context Subject: Re: Understanding registers command Date: Sun, 01 Aug 2004 20:10:54 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <410D322E.7080804@mupad.de> References: <200407222136.20782.skhilji@tampabay.rr.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091443342 5823 80.91.224.253 (2 Aug 2004 10:42:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Aug 2004 10:42:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 02 12:42:14 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BraGj-0001u6-00 for ; Mon, 02 Aug 2004 12:42:13 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C04361279A; Mon, 2 Aug 2004 12:42:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18030-01; Mon, 2 Aug 2004 12:42:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E1C61279B; Mon, 2 Aug 2004 12:40:08 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96C0A1279A for ; Mon, 2 Aug 2004 12:40:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17634-07 for ; Mon, 2 Aug 2004 12:40:06 +0200 (CEST) Original-Received: from mailgate.uni-paderborn.de (unknown [131.234.22.32]) by ronja.ntg.nl (Postfix) with ESMTP id 448CC12793 for ; Mon, 2 Aug 2004 12:40:06 +0200 (CEST) Original-Received: from mlt131.math.uni-paderborn.de ([131.234.103.131] helo=mupad.de) by mailgate.uni-paderborn.de with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BraEe-0003J0-8r for ntg-context@ntg.nl; Mon, 02 Aug 2004 12:40:04 +0200 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de, en-gb, en, en-us Original-To: mailing list for ConTeXt users In-Reply-To: <200407222136.20782.skhilji@tampabay.rr.com> X-UNI-PB_FAK-EIM-MailScanner-Information: Please see http://imap.uni-paderborn.de for details X-UNI-PB_FAK-EIM-MailScanner: Found to be clean X-UNI-PB_FAK-EIM-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.615, required 4, AUTH_EIM_USER -5.00, DATE_IN_PAST_12_24 0.39) X-MailScanner-From: ccr@mupad.de X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15887 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15887 Salman Khilji wrote: > \starttext > \defineregister[street][streets] > \street{Ridderstraat} > \placestreets > \stoptext > > However, texexec gives me the following: > > ! Undefined control sequence. > \placestreets As far as I can see, \defineregister, or more precisely \dodefinieerregister, completely ignores its second argument. I guess the #1 in the \setvalue lines (but not the other lines) of \setvalue{\e!plaats#1}% {\doplaatsregister[#1]}% \setvalue{\e!volledige#1}% {\dovolledigregister[#1]}% should be #2. But that would change \completeindex to \completeindices, which would again contradict the manual, so below therewould have to be another change, from \definieerregister [\v!index] [\v!indices] to \definieerregister [\v!index] [\v!index] Note that \placestreet and \completestreet do work. regards, Christopher Creutzig