From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52672 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: natural tables: when I say nc=2, I really mean it Date: Fri, 4 Sep 2009 01:22:55 +0200 Message-ID: References: <83a996de0909031406yafc5f59v10e8ffd29e1b4540@mail.gmail.com> 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: ger.gmane.org 1252020194 3050 80.91.229.12 (3 Sep 2009 23:23:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 23:23:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 04 01:23:07 2009 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.50) id 1MjLdz-0002l4-Ln for gctc-ntg-context-518@m.gmane.org; Fri, 04 Sep 2009 01:23:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE327C9A9B; Fri, 4 Sep 2009 01:23: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 JHIiWS4nKB93; Fri, 4 Sep 2009 01:23:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68E25C9A9C; Fri, 4 Sep 2009 01:23:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7519CC9A9C for ; Fri, 4 Sep 2009 01:22: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 8KO5qrzOk822 for ; Fri, 4 Sep 2009 01:22:55 +0200 (CEST) Original-Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by balder.ntg.nl (Postfix) with ESMTP id BE8E1C9A9B for ; Fri, 4 Sep 2009 01:22:55 +0200 (CEST) Original-Received: by fxm19 with SMTP id 19so338039fxm.2 for ; Thu, 03 Sep 2009 16:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=LZP9oKYqXZgetFmspf6c35AOqSV/0hb3WH8Rk5djNEY=; b=r1Z0Zw3tfPd9FPD/Xd07QpDg2rhZKhTKwlgpx6CC32GprEJM0Fd2Mqoe5eZCzRzqxY vCFLgT4QuSvor1JRdDkn2L+Z2FysWSN6zD6VHz9hNDejnkya35jlrHlheaytRhMVRROU 5iSg7FfUfCSOLiTN3GDDc6szYlh41uJoKCPUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vwSwZcZeEncUJNseK0LkQWhyE8gL6MPupwNx59q3zZtSX8tmRf5bfJtz3gUQ6P/ERO mUQbebx3dfHQXf54g4wu0ll3jtUs7xPib022SbuASKGQmqy9vNsSGCO6kaBbpP8bcPo2 DSJ5hrJPcJ/JzejRR49qaEQdVZxloSV66jydo= Original-Received: by 10.204.141.26 with SMTP id k26mr8465009bku.130.1252020175219; Thu, 03 Sep 2009 16:22:55 -0700 (PDT) In-Reply-To: <83a996de0909031406yafc5f59v10e8ffd29e1b4540@mail.gmail.com> 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:52672 Archived-At: On Thu, Sep 3, 2009 at 11:06 PM, Zed Lopez wrote: > Hi folks, > > When I compile this table: > > \starttext > \setupTABLE[c][1][width=12pt,rightframe=off] > \setupTABLE[c][2][width=108pt,leftframe=off] > \setupTABLE[c][each][width=60pt] > \bTABLE > \bTR \bTD x \eTD \bTD y \eTD \bTD z \eTD \eTR > \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR > \eTABLE > \endtext > > I get the 2 rows I expect: the first with 1 narrow column, 1 wide > column, and 1 medium column; the second with 1 even wider column and 1 > medium column. > > When I do the same thing, but with the first row omitted: > > \starttext > \setupTABLE[c][1][width=12pt] > \setupTABLE[c][2][width=108pt] > \setupTABLE[c][each][width=60pt] > \bTABLE > \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR > \eTABLE > \endtext \endtext or \stoptext ? > > it's as if the nc=2 is ignored -- it tries to squeeze > "thisisaverylongwordishthing" into 1 12pt column instead of a combined > 120pt column. > > How can I convince it to do what I mean with nc=2 despite having only > one row with only 2 cells? > \starttext \setupTABLE[c][1][width=12pt] \setupTABLE[c][2][width=108pt] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD[nc=2] this is a very long wordish thing \eTD \bTD word \eTD \eTR \bTR[frame=off,strut=no,offset=0pt] \bTD\relax\eTD\bTD\relax\eTD\bTD\relax\eTD\eTR \eTABLE \stoptext -- luigi ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________