From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58379 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Re :! Undefined control sequence Date: Fri, 23 Apr 2010 20:36:31 +0200 Message-ID: <4BD1E8AF.8030409@googlemail.com> References: <4BD1F2F9.21561.243D178@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272047820 22632 80.91.229.12 (23 Apr 2010 18:37:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 18:37:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 23 20:36:59 2010 connect(): No such file or directory 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 1O5NkJ-00019C-1z for gctc-ntg-context-518@m.gmane.org; Fri, 23 Apr 2010 20:36:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8464BC9BD0; Fri, 23 Apr 2010 20:36:58 +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 G1XCuFYbVrMy; Fri, 23 Apr 2010 20:36:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3B4DC9CDE; Fri, 23 Apr 2010 20:36:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21692C9CDE for ; Fri, 23 Apr 2010 20:36:45 +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 f4D26p7bTrug for ; Fri, 23 Apr 2010 20:36:33 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by balder.ntg.nl (Postfix) with ESMTP id B639DC9BD0 for ; Fri, 23 Apr 2010 20:36:33 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id e21so294810fga.2 for ; Fri, 23 Apr 2010 11:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OzMUEqjo/YayWUoFkc62+QDT711ITHd0GaYcTKNU6uo=; b=gl0QiFTzbJppSdTvKGLo1CPU42EI28u+cKnrmSuI76TweCuqj5rcGcv8OEJre522pH b2lxCr+0/OQb6OnzlXXA74CwfDZemy0XBqrYQk88wUjau8UxBfAKi1Kg4FF4XcjQ2s/l F8HBuUh4ickNToNdoQawWH2HktYVw59p4/ddw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=qC/oq7HMyRDIfuKX0L5XWUi+6DNeeKVZ8TSNuhJj40kbJccKvqiaUEUGqcFR74mkrd od+GeMbvzVaIx51B9IL7MANZFx1fa+o0vqvh2/d/Uocto3lVdSLQSl21BRSoewj9Gsjs Q05qcQBUEREBXHf7phn4pe6LVEsDgKJHVM0k4= Original-Received: by 10.87.47.3 with SMTP id z3mr1006429fgj.74.1272047793313; Fri, 23 Apr 2010 11:36:33 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2934BA.dip.t-dialin.net [91.41.52.186]) by mx.google.com with ESMTPS id 3sm849588fge.15.2010.04.23.11.36.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Apr 2010 11:36:32 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 In-Reply-To: <4BD1F2F9.21561.243D178@wwl.musensturm.de> 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:58379 Archived-At: Am 23.04.10 19:20, schrieb Wolfgang Werners-Lucchini: > What is the following command for: > > \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad] > }] > > This is enough, or are there any problems? > > \setupTst[1][n,\getvariable{tst}{broad}*broad] > To explain it with simpler macros \setvariables[tst][set={...}] is similar to \def\tstset{\setupTst[1][n,\tstbroad*broad]} and \setvariables[tst][broad=5] is similar to \def\tstbroad{5} but the special thing is now that \setvariables calls \tstset (or to be concrete the value of the 'set' key in \setvariables after the) value was assigned to broad. In a complete and simple example this is what happens: \defineitemgroup[Tst] \def\tstset{\setupTst[1][\tstbroad*broad]} \starttext \startTst \item text \stopTst \def\tstbroad{5}\tstset \startTst \item text \stopTst \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________