From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20039 Path: news.gmane.org!not-for-mail From: "luigi.scarso" Newsgroups: gmane.comp.tex.context Subject: Re: total with of TABLE ? Date: Fri, 22 Apr 2005 09:30:42 +0200 Message-ID: <4268A822.6070404@logosrl.it> References: <42678E04.8080402@logosrl.it> <4267E611.6010005@logosrl.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1114154803 18884 80.91.229.2 (22 Apr 2005 07:26:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Apr 2005 07:26:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 22 09:26:42 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DOsYN-00064Q-SA for gctc-ntg-context-518@m.gmane.org; Fri, 22 Apr 2005 09:26:19 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60F5D127E9; Fri, 22 Apr 2005 09:30:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08210-08; Fri, 22 Apr 2005 09:30:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4EEB612772; Fri, 22 Apr 2005 09:30:49 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96B4112772 for ; Fri, 22 Apr 2005 09:30:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08473-02 for ; Fri, 22 Apr 2005 09:30:47 +0200 (CEST) Original-Received: from ServerNotes.logosrl.it (unknown [81.208.99.91]) by ronja.ntg.nl (Postfix) with ESMTP id 0D8671276C for ; Fri, 22 Apr 2005 09:30:47 +0200 (CEST) Original-Received: from [192.168.2.85] ([192.168.2.85]) by ServerNotes.logosrl.it (Lotus Domino Release 6.5.1) with ESMTP id 2005042209305047-879 ; Fri, 22 Apr 2005 09:30:50 +0200 User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: X-MIMETrack: Itemize by SMTP Server on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 22/04/2005 09.30.50, Serialize by Router on ServerNotes/Logo(Release 6.5.1|January 21, 2004) at 22/04/2005 09.30.50 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20039 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20039 Peter M=FCnster wrote: >Do you know, if this is possible with TABLE: > >\starttext >\SetTableToWidth{10cm} >\starttable[|c|c|c|] >\HL >\VL xxxxxxxxxxxxxxx \VL xxxxxxx \VL x \VL\AR >\HL >\stoptable >\stoptext > >Cheers, Peter > =20 > Hmm, I change a little your code to better understand it \starttext \SetTableToWidth{10cm} \setbox100=3D\vbox{\starttable[|c|c|c|] \HL \VL xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx \VL xxxxxxx xxxxxxx \VL x x \VL\AR \HL \stoptable} \starttyping \SetTableToWidth{10cm} \setbox100=3D\vbox{% \starttable[|c|c|c|] \HL \VL xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx \VL xxxxxxx xxxxxxx \VL x x \VL\AR \HL \stoptable} \stoptyping \type{\wd100=3D}{\tt \PtToCm{\wd100}}\par \type{\ruledvbox{\unvbox100}:}\par \ruledvbox{\unvbox100} \stoptext and I see on log Overfull \hbox (11.63779pt too wide) in paragraph at lines 14--14 [][]\*12pttttf* \VL[] []xxxxxxxxxxxxxxx[] [][] []xxxxxxxxxxxxxxx[]=20 []\VL[] []xx xxxxx[] []xxxxxxx[] []\VL[] []x[] []x[] []\VL\AR If I fix table width, I must care about cell content to avoid overfull hbox; so fix table width is useless, because I have already calculate by=20 fixing cell content. I will look into natural table to see something similar to \SetTableToWidth luigi