From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78914 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: \dorecurse within TABLE Date: Fri, 26 Oct 2012 15:03:59 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20121026150359.109e8098@iram-hb-003386.extra.cea.fr> References: <20121026115042.6852b97a@iram-hb-003386.extra.cea.fr> <20121026122709.65a465a1@homerow> 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 1351256651 18056 80.91.229.3 (26 Oct 2012 13:04:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 13:04:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 26 15:04:19 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 1TRjaE-0003MN-L8 for gctc-ntg-context-518@m.gmane.org; Fri, 26 Oct 2012 15:04:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62330102B6; Fri, 26 Oct 2012 15:04:10 +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 fkJsXDbHf5J3; Fri, 26 Oct 2012 15:04:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1358F10287; Fri, 26 Oct 2012 15:04:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DDE610287 for ; Fri, 26 Oct 2012 15:04:05 +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 xy-rDPTsMEKZ for ; Fri, 26 Oct 2012 15:04:04 +0200 (CEST) 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 66F9810217 for ; Fri, 26 Oct 2012 15:04:04 +0200 (CEST) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9QD43PJ005850 for ; Fri, 26 Oct 2012 15:04:03 +0200 Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id q9QD40Ir007103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Oct 2012 15:04:00 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire1.extra.cea.fr (8.14.4/8.14.4) with ESMTP id q9QD40sV000463; Fri, 26 Oct 2012 15:04:00 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.extra.cea.fr (charybde.extra.cea.fr [132.166.43.102]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.2) with ESMTP id q9QD3xHM016453; Fri, 26 Oct 2012 15:04:00 +0200 In-Reply-To: <20121026122709.65a465a1@homerow> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.167.192.142; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IfN43ph - 8b643cf72c2a - 20121026 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:78914 Archived-At: On Fri, 26 Oct 2012 12:27:09 +0200 Marco Patzer wrote: > \dorecurse{8}{\expanded{\bTR\bTD\recurselevel\eTD\eTR}} Thank you. And I found something new to understand: http://wiki.contextgarden.net/System_Macros/Expansion_Control Now, is there some better way, or perhaps not, around creating my own counter (of course, I can use a counter for the column as well...) \starttext \bTABLE \definenumber[row] \dorecurse{8}{\incrementnumber[row] \bTR \dorecurse{5}{\expanded{\bTD \getnumber[row],\recurselevel \eTD}} \eTR } \eTABLE \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________