From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61486 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: dorecurse in table Date: Mon, 06 Sep 2010 22:29:47 +0200 Message-ID: <874oe2r4xw.fsf@linux-lqcw.site> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283805001 30675 80.91.229.12 (6 Sep 2010 20:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2010 20:30:01 +0000 (UTC) To: NTG ConTeXt mailing list Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 06 22:29:59 2010 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 1OsiKF-0000mE-Bx for gctc-ntg-context-518@m.gmane.org; Mon, 06 Sep 2010 22:29:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D94D1CA68B; Mon, 6 Sep 2010 22:29: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 rCo5a76HiI08; Mon, 6 Sep 2010 22:29:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D2B8CA626; Mon, 6 Sep 2010 22:29:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C47C3CA626 for ; Mon, 6 Sep 2010 22:29:52 +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 G1S3AFzmuekq for ; Mon, 6 Sep 2010 22:29:50 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 92641CA5C2 for ; Mon, 6 Sep 2010 22:29:50 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o86KTn6s021731 for ; Mon, 6 Sep 2010 22:29:50 +0200 Original-Received: by wwc33 with SMTP id 33so1106084wwc.2 for ; Mon, 06 Sep 2010 13:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=VAyoSgMTda9KLK0uUao8Dd9AYm/79ilqpygZ6X494Ns=; b=II+vzx97haXAgEB7s2r5vcvnhg8IGhCsy0GqTU8gKNlWibGtxSAZlMvghfan0fmTVE mrhfyx2EFTLxQEVRvjLVj+g5oLYlWU+KZ8ei2n4901PAEAB+ckii0dkjZ+MTBrFIH0Q0 fUuAsoobe825rCYeNDF0h4YreFAUw4aPtXadk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=Teqwu4vk47WUPaVA23rNeJ/nLeG16eCOhvV6qFxm+dyDiTz6gXX/lA68GpFU78NpSI W+RKwWWVTuhUubQDoS8AZCyr1RSHyU+2TRn1VqfLq4FXFxhbjo5kGTxRWbS/4ebaWYSg reBGXvw/6w6DcH/WWQe4gIwQejypFW7HwQ1Uw= Original-Received: by 10.216.187.130 with SMTP id y2mr2710518wem.60.1283804989543; Mon, 06 Sep 2010 13:29:49 -0700 (PDT) Original-Received: from linux-lqcw.site (84-53-123-169.wxdsl.nl [84.53.123.169]) by mx.google.com with ESMTPS id n40sm3620708weq.5.2010.09.06.13.29.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 13:29:48 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Bayes-Prob: 0.0016 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 08D3wtNrO - 52f06ff05da4 - 20100906 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:61486 Archived-At: The following code does what I want: \blank \SetTableToWidth{\textwidth} \starttable[|lp(0.90\textwidth)|] Some text \SR \SR \HL \SR \HL \SR \HL \SR \HL \stoptable \blank I would think that the following code is equivalent: \blank \SetTableToWidth{\textwidth} \starttable[|lp(0.90\textwidth)|] Some text \SR \dorecurse{4}{ \SR \HL } \stoptable \blank But it is not. I get: Underfull \hbox (badness 10000) in alignment at lines 39--49 [][][][][] ! Misplaced \noalign. \TABLEnoalign ->\noalign \bgroup \let \noalign \relax \let \next = \insertTABLEtail ->\TABLEnoalign {\global \settrue \preventTABLEbreak \globa... \stoptable ->\chuckTABLEautorow \insertTABLEtail \TABLEnoalign {\globalletem... l.60 \stoptable and h gives: I expect to see \noalign only after the \cr of an alignment. Proceed, and I'll ignore this case. What am I doing wrong? -- Cecil Westerhof M CLDWesterhof@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________