From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79336 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: \dorecurse and \startcombination Date: Mon, 19 Nov 2012 16:18:39 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20121119161839.03b5cc7a@sole> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353338396 26893 80.91.229.3 (19 Nov 2012 15:19:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 15:19:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 19 16:20:05 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TaT7l-0003kC-Tl for gctc-ntg-context-518@m.gmane.org; Mon, 19 Nov 2012 16:19:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9607E10234; Mon, 19 Nov 2012 16:18:50 +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 854XSF3LKuNa; Mon, 19 Nov 2012 16:18:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BBF951020E; Mon, 19 Nov 2012 16:18:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D73A51020E for ; Mon, 19 Nov 2012 16:18:47 +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 C5ny4MXMjJmO for ; Mon, 19 Nov 2012 16:18:41 +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 850F31020D for ; Mon, 19 Nov 2012 16:18:41 +0100 (CET) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAJFIdtL003826 for ; Mon, 19 Nov 2012 16:18:40 +0100 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id qAJFIdRf011672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 19 Nov 2012 16:18:39 +0100 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id qAJFIdXF026315 for ; Mon, 19 Nov 2012 16:18:39 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from sole (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id qAJFIduo024600 for ; Mon, 19 Nov 2012 16:18:39 +0100 X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) X-Bayes-Prob: 0.9996 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=132.167.192.142; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06IpriESV - f15b9a5ebac8 - 20121119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79336 Archived-At: Hello, Does anyone have a suggestion how to use \dorecurse within combinations? (without having to use lua...) Alan minimal example: \starttext \startcombination [2] \dorecurse{2}{{#1}{#1}} \stopcombination \stoptext ! Missing { inserted. system > tex > error on line 3 in file foo.tex: Missing { inserted ... 1 \starttext 2 \startcombination [2] 3 >> \dorecurse{2}{{#1}{#1}} 4 \stopcombination 5 \stoptext 6 \global \syst_helpers_recurse_x #1#2->\global \advance \outerrecurse \plusone \globa... l.3 \dorecurse{2}{{#1}{#1}} ? ___________________________________________________________________________________ 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 ___________________________________________________________________________________