From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63748 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definenamespace Date: Fri, 19 Nov 2010 19:48:45 +0100 Message-ID: References: <20101117191032.GD20635@aides> <8B256D52-298A-462A-9BDD-BBC4A5BF3B67@gmail.com> <12CE99E6-0C02-4194-B352-4D42485AF13C@gmail.com> <4CE6BA63.1060303@wxs.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 1290192544 3365 80.91.229.12 (19 Nov 2010 18:49:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 18:49:04 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 19:48:59 2010 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 1PJW14-0006G1-RZ for gctc-ntg-context-518@m.gmane.org; Fri, 19 Nov 2010 19:48:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5198CA87B; Fri, 19 Nov 2010 19:48:58 +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 zh++0+lOnhOT; Fri, 19 Nov 2010 19:48:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00541CA877; Fri, 19 Nov 2010 19:48:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF05FCA877 for ; Fri, 19 Nov 2010 19:48:54 +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 vLTZNgahBtFW for ; Fri, 19 Nov 2010 19:48:52 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 7FB77CA871 for ; Fri, 19 Nov 2010 19:48:52 +0100 (CET) Original-Received: from mail-yx0-f169.google.com (mail-yx0-f169.google.com [209.85.213.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAJImpKb000476 for ; Fri, 19 Nov 2010 19:48:51 +0100 Original-Received: by yxl31 with SMTP id 31so48498yxl.14 for ; Fri, 19 Nov 2010 10:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=MtFBUyRikbNy2sFNSx31ghO6lFDbH6llvVVQMh6ho/0=; b=KStlbZEOk2apaF+cHswpQZtNMxwlKTz3SJ9INjiWRmbeNUR60OpqGXPCg9RxTVoW6i Dna4sBVjWaK1tyUtSwt6zNCUjXlQUyJxBgYge0Vpocq1wtEm9ZDswQDaQH5I+zXd2Pnr yyPzO9Lo0oWA6mSlNyMbytYCD+eyNsPb8mxxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=D2qtSUO3d8yULDCp1MYQP3ka5JmuOwbmfeW8CZqyLRMpD3HqJZT3paG4P1lnyzPsN2 msLOwEN0hMe4i4EdJ2xi7Kc6HC1vMHZbO8vxM0ZpMfg8zGVj629OBXLX3GKzpXH5wrYT phnlohMkkXR+QvLcMzQTRS0EJz3QHyrNg1HsM= Original-Received: by 10.204.83.215 with SMTP id g23mr2395506bkl.211.1290192529964; Fri, 19 Nov 2010 10:48:49 -0800 (PST) Original-Received: from [192.168.2.23] (p5B293164.dip.t-dialin.net [91.41.49.100]) by mx.google.com with ESMTPS id d27sm1027252bkw.2.2010.11.19.10.48.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Nov 2010 10:48:48 -0800 (PST) In-Reply-To: <4CE6BA63.1060303@wxs.nl> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.169; 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: 0cDx6MPp4 - fee9dec2d7ec - 20101119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:63748 Archived-At: Am 19.11.2010 um 18:56 schrieb Hans Hagen: > or maybe: > = > \unprotected\unexpanded\def\doinstalldefinehandler#1#2#3#4#5#6#7% > {\unexpanded\def#2{\dotripleempty#5}% > \newtoks#6% > \newtoks#7% > \def#5[##1][##2][##3]% > {\edef#4{##1}% > \the#6% predefine > \ifthirdargument > \getparameters[#1#4][\s!parent=3D#1##2,##3]% > \else\ifsecondargument > \getparameters[#1#4][\s!parent=3D#3,##2] > \fi\fi > \the#7}} No, because you need \doifassignment. Your code allows only \define...[new][old][..=3D..] and \define...[new][..=3D..] but it=92s not possible to write \define...[new][old] because =84new=93 won=92t use =84old=93 as parent with this defintion. 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 ___________________________________________________________________________= ________