From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67048 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \expandoneargafter? Date: Tue, 15 Mar 2011 12:48:47 +0100 Message-ID: <0E4690EA-F77C-4A09-825A-6530FD1F3349@gmail.com> References: <58EAB5D1-EB46-4ED7-B142-86A10DF92955@uva.nl> <706C68F4-A619-4457-86F0-EDADBFEF497E@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300189751 17053 80.91.229.12 (15 Mar 2011 11:49:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2011 11:49:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 15 12:49:04 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzSkJ-00072p-Gf for gctc-ntg-context-518@m.gmane.org; Tue, 15 Mar 2011 12:49:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9307FCAB0E; Tue, 15 Mar 2011 12:48:59 +0100 (CET) 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 Uy8E58zvtP4m; Tue, 15 Mar 2011 12:48:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C2E7CAAF0; Tue, 15 Mar 2011 12:48:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 579E7CAAF0 for ; Tue, 15 Mar 2011 12:48:55 +0100 (CET) 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 lyc+e3K53xZm for ; Tue, 15 Mar 2011 12:48:53 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 3F916CAAE0 for ; Tue, 15 Mar 2011 12:48:53 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2FBmqZu012937 for ; Tue, 15 Mar 2011 12:48:52 +0100 Original-Received: by bwz17 with SMTP id 17so627564bwz.14 for ; Tue, 15 Mar 2011 04:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=BNW7pwdmSkPpsYYqvhx+hjZVMbrsSZNI201IQnLdZ6I=; b=PfVX1cJt1oWhD9xiGRLmNqFB64C9nWFipYmHM+UGYRH/xJi+yAGGfiWS3MINy42flO +vN6uUyxsTal0izcquzBGaPKaTmHLErc/wbSAlVdmEoiDD/suIRYu/Qb5sBnuzq71g/+ hodgTORUJlPNAobjYeXk9KqpBC4MDv5znreEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=IztRA//9S838IyKhmBk2/iulJ4dhH4jdxZwi3n1e1KSpHOvonGv33Au3vi3PDX5JD2 873qeFIQxZZvbi7+fnm3DNSSIRiURZPADvfZTO/Xh9U2wfIOzQGiIPZbctI0UpUGbTmz vwAoIwHYltrINnVpNmuguszjRYKU6TZH4hWVQ= Original-Received: by 10.204.136.213 with SMTP id s21mr3664702bkt.0.1300189731710; Tue, 15 Mar 2011 04:48:51 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B294867.dip.t-dialin.net [91.41.72.103]) by mx.google.com with ESMTPS id v21sm5908950bkt.23.2011.03.15.04.48.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 04:48:50 -0700 (PDT) In-Reply-To: <706C68F4-A619-4457-86F0-EDADBFEF497E@uva.nl> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eEjnMQdk - 1ff34e56001b - 20110315 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:67048 Archived-At: Am 15.03.2011 um 12:36 schrieb Hans van der Meer: > = > On 15 mrt 2011, at 12:14, Wolfgang Schuster wrote: > = >> = >> Am 15.03.2011 um 12:10 schrieb Hans van der Meer: >> = >>> The ConTeXt system macro's used to contain a definition for \expandonea= rgafter (see Taco Hoekwater's article on this). What happened with it? It s= eems to have disappeared. A pity because I use it in my macros in several p= laces. >>> = >>> ! Undefined control sequence. >>> l.3 \expandoneargafter >>> \command{\abc} >>> = >>> Someone who can help? >> = >> Most of the command in context are now defined as \unexpanded >> and because of this the command isn=92t necessary anymore. >> = > = > I see. But I used this for my own macros and now I cannot find the defini= tion of \expandoneargafter. > = > \def\comparenumericprefix#1#2{% > % remember that #1 (\firstsortelement) has to be expanded first! > \comparenumeric{\expandoneargafter\uptodelim{#1}}{\uptodelim{#2}}} > = > Could it be that \expandoneargafter is defined as \expandafter\expandafte= r\expandafter? syst-gen.mkii: \def\expandoneargafter #1{\@EA#1\@EA} but now you can write \unexpanded\def\uptodelim#1{#1} \def\comparenumericprefix#1#2% {\comparenumeric{\normalexpanded{\uptodelim{#1}}{...}} and this will only expand =93#1=94 but not \uptodelim. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________