From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78916 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \dorecurse within TABLE Date: Fri, 26 Oct 2012 15:16:58 +0200 Message-ID: <06933C18-93D4-4CF8-B724-1A027F43DCB3@gmail.com> References: <20121026115042.6852b97a@iram-hb-003386.extra.cea.fr> <20121026122709.65a465a1@homerow> <20121026150359.109e8098@iram-hb-003386.extra.cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351257427 25302 80.91.229.3 (26 Oct 2012 13:17:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2012 13:17:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 26 15:17:14 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 1TRjmh-00046f-Iw for gctc-ntg-context-518@m.gmane.org; Fri, 26 Oct 2012 15:17:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79FDC10287; Fri, 26 Oct 2012 15:17:03 +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 Oq5ZYmpH4mUd; Fri, 26 Oct 2012 15:16:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C18131028D; Fri, 26 Oct 2012 15:16:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31CB71028D for ; Fri, 26 Oct 2012 15:16:56 +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 WCXicWH4ZVGb for ; Fri, 26 Oct 2012 15:16:54 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id CB37E10287 for ; Fri, 26 Oct 2012 15:16:54 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9QDGrVT023175 for ; Fri, 26 Oct 2012 15:16:53 +0200 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so1349810bkc.14 for ; Fri, 26 Oct 2012 06:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=0zF6rvoaEHhDczIibk2aEO4P8RejPSHqI+V7zuBJp1Q=; b=CJxS2BJWZcwchF7J5wVZf1dFsqfN5qevkKacretuD0HvSiHSQbVCfBzNG4JFizA3OG rJfYS9WmFxF/5LgMvrvWhEP4fqYwzDpcs+KlPV2GruG1ZSZ+s2v0rmHT7QdBGBFgPZ/G UWgJBzZI3Tlx1kNXQswpkLFunjLgbMzIxeqLMNCAKoE5aCSDwwRDl3kmNFVWxg6Ys9lO YGUl3XRoweKp4PMOw08VNzmtBTQHx7jLmyhmaOxJo+KLDnFP1a3VreJdrhKHLvF6uT/E tUx7YraLxCiFLlKtW98Y9tnhMmV001sKsjFg63y15qQNv8CNEytMLV3C2CiZVXPpteXz 0OnA== Original-Received: by 10.204.9.3 with SMTP id j3mr7318526bkj.15.1351257413352; Fri, 26 Oct 2012 06:16:53 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d074a30.pool.mediaWays.net. [77.7.74.48]) by mx.google.com with ESMTPS id r15sm979270bkw.9.2012.10.26.06.16.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2012 06:16:52 -0700 (PDT) In-Reply-To: <20121026150359.109e8098@iram-hb-003386.extra.cea.fr> X-Mailer: Apple Mail (2.1499) 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: 0TIfNgRfy - 13c336e44c64 - 20121026 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:78916 Archived-At: Am 26.10.2012 um 15:03 schrieb Alan BRASLAU : > 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 \starttext \bTABLE \dorecurse{8}{\bTR\dorecurse{5}{\bTD #1,##1 \eTD}\eTR} \eTBALE \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 ___________________________________________________________________________________