From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67697 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Stange error with \definepalet Date: Sun, 10 Apr 2011 08:15:33 +0200 Message-ID: <275DCC81-3F30-477F-A740-AEB2A5667AEC@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1302416161 23294 80.91.229.12 (10 Apr 2011 06:16:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 06:16:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 10 08:15:57 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 1Q8nwC-0004kx-Kz for gctc-ntg-context-518@m.gmane.org; Sun, 10 Apr 2011 08:15:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1DACCABA5; Sun, 10 Apr 2011 08:15:55 +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 7WfTnIKAeURA; Sun, 10 Apr 2011 08:15:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39C58CAB99; Sun, 10 Apr 2011 08:15:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4120DCAB99 for ; Sun, 10 Apr 2011 08:15:51 +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 4IZmAkXs4SFb for ; Sun, 10 Apr 2011 08:15:39 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id A1585CAB91 for ; Sun, 10 Apr 2011 08:15:39 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3A6Fc1W017735 for ; Sun, 10 Apr 2011 08:15:39 +0200 Original-Received: by bwz17 with SMTP id 17so5652292bwz.14 for ; Sat, 09 Apr 2011 23:15:38 -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=qVuM6OyCUWCJ00Ctw1F+OeUtk5yLOpO8R/H4QVrl9N0=; b=hIdVoGsrNtiaP3mWFZuO1jNCbTPfpXOUb5RP36tjb3rda17XXLrPYfeeXO8inNsISH TNe/RWhKWnQpfHSrhy4Ocp6jBK3lucGpW0jZG8xiDY/lUaY30dp0uC6dY7tpYWghg2cz MDr/BRC6QyJVSvDprQPPjqtmfLfRAR23Otdc4= 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=aYYuRgwjXC3KkYfXTbs7j6jXdAWVVmvPO9hvuH2Mkozl18Kmiq6pz/eelyMw84sKc2 DI3gFpG271jtoyJigNmPYBXjxcsroAcLXFraotiPvGHAYawHgehbuxdYU49EUGiytKjO LNahPODpTMNMDaxdI4coA+n6VRjCj2u1/M+0I= Original-Received: by 10.204.73.157 with SMTP id q29mr3509381bkj.101.1302416138365; Sat, 09 Apr 2011 23:15:38 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B292B8C.dip.t-dialin.net [91.41.43.140]) by mx.google.com with ESMTPS id c11sm2502291bkc.2.2011.04.09.23.15.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Apr 2011 23:15:36 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) 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: 05EtGfCmy - b75fcfa37933 - 20110410 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:67697 Archived-At: Am 10.04.2011 um 00:22 schrieb Aditya Mahajan: > Hi, > = > \definepalet > [test] > [one=3Dred, > two=3Dblue, > ] > = > \normalend > = > gives > = > ]\doprocesscommaitem ]\relax \global \advance \commalevel \minusone \ETC. > ! File ended while scanning use of \dodododefinepalet. > = > while > = > \definepalet > [test] > [one=3Dred, > two=3Dblue] > = > \normalend > = > compiles correctly. Shouldn't the both be equal? \definepalet use it=92s own code to parse assignments which can=92t handle empty entries like \getparameters, your first example is therefore wrong. 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 ___________________________________________________________________________= ________