From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73622 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: CLD: context.getvariable as Lua variable Date: Thu, 5 Jan 2012 18:39:31 +0100 Message-ID: <3661B4DE-7B3F-47B0-9934-82A3B65F8EDA@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325785190 14679 80.91.229.12 (5 Jan 2012 17:39:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2012 17:39:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 05 18:39:46 2012 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 1RirI2-0006mw-6W for gctc-ntg-context-518@m.gmane.org; Thu, 05 Jan 2012 18:39:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC146CB1D0; Thu, 5 Jan 2012 18:39:45 +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 uVouYxXoBF9h; Thu, 5 Jan 2012 18:39:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62012CB1B4; Thu, 5 Jan 2012 18:39:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67D63CB1B4 for ; Thu, 5 Jan 2012 18:39:38 +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 grU+0dlzQgBn for ; Thu, 5 Jan 2012 18:39:36 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 3D540CB1A2 for ; Thu, 5 Jan 2012 18:39:36 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q05HdZcS010519 for ; Thu, 5 Jan 2012 18:39:35 +0100 Original-Received: by eekc41 with SMTP id c41so640396eek.14 for ; Thu, 05 Jan 2012 09:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=KTXhaNois1DHQDbVdfM2T61c5ADBrwlkOQdrBfxTtno=; b=D/+nrh+GQnR2RPFLGvz87F+XNsmFxR6xehInd4m5+996GLX+5FL6fQfAvfHfqHlARo rr4zI+SxXDoSfvX9r0ZLI9kyQWykDWR6TE+WFkA9hJyUVzgsmD1RgYdf++ZiUKmyfBI4 Ie4Rgxu7MRVcvkIq7rKielPhIdlVF+ynrM6ws= Original-Received: by 10.213.27.15 with SMTP id g15mr590223ebc.111.1325785175004; Thu, 05 Jan 2012 09:39:35 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFC0E2.dip.t-dialin.net. [87.175.192.226]) by mx.google.com with ESMTPS id t59sm236175044eeh.10.2012.01.05.09.39.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jan 2012 09:39:34 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0rGhRDzXe - 08645897365b - 20120105 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73622 Archived-At: Am 05.01.2012 um 18:22 schrieb Wagner Macedo: > Firstly, thanks by answer. > = > The second way is nice, but could be generic (e.g. save any variable in a= namespace)? It would require a different method because \setvariables doesn=92t provide information about the values which are set. Can you describe what do you want to achieve and I can try to provide a better solution. 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 ___________________________________________________________________________= ________