From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18894 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Why I needed \parbox and why does \framed not work here? Date: Sun, 13 Mar 2005 16:12:32 +0100 Message-ID: <42345860.6080009@boede.nl> References: <42341CB4.7000906@boede.nl> 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: 7bit X-Trace: sea.gmane.org 1110726708 29504 80.91.229.2 (13 Mar 2005 15:11:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2005 15:11:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 13 16:11:47 2005 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 1DAUkq-0001uo-I0 for gctc-ntg-context-518@m.gmane.org; Sun, 13 Mar 2005 16:11:44 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D54112872; Sun, 13 Mar 2005 16:12:37 +0100 (CET) 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 25832-03-2; Sun, 13 Mar 2005 16:12:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C63512850; Sun, 13 Mar 2005 16:12:34 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 306BC12850 for ; Sun, 13 Mar 2005 16:12:33 +0100 (CET) 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 25832-03 for ; Sun, 13 Mar 2005 16:12:32 +0100 (CET) Original-Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by ronja.ntg.nl (Postfix) with ESMTP id 63809127A6 for ; Sun, 13 Mar 2005 16:12:32 +0100 (CET) Original-Received: from [192.168.0.193] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id j2DFCW5s005991 for ; Sun, 13 Mar 2005 16:12:32 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by XS4ALL Virus Scanner 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 X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:18894 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18894 Indeed, there is no \starttable info in the manuals. You might have a look into the sources:core-tab.tex. But what I can see, is, that you do not use vertical lines. If all tables are such, then I would suggest to use \starttabulate instead. KR Willi Gerben Wierda wrote: > Here is the example again, now with p columns. Never mind the > non-working third example (ConTeXt wraps three elements in the third > column now but not inside the \framed), but it seems that ConTeXt does > not wrap the first column at all. As a result, the other two are very > small. > > G > > PS. The ConTeXT manual does not have \starttable documentation, not does > the wiki (how does 'p' work etc). > > % Try with 'p' columns > > \usemodule[bib] % defines \newcommand > \newcommand{\operand}[1]{{\sc #1}} > \newcommand{\ttvalue}[1]{{\sc #1}} > \newcommand{\xttable}[7]{\starttable[|p|p|p|]\HL % > #1 \NC #2 \NC #1 \operand{#3} #2 \SR\HL > \ttvalue{false} \NC \ttvalue{false} \NC \ttvalue{#4} \FR % > \ttvalue{false} \NC \ttvalue{true} \NC \ttvalue{#5} \MR % > \ttvalue{true} \NC \ttvalue{false} \NC \ttvalue{#6} \MR % > \ttvalue{true} \NC \ttvalue{true} \NC \ttvalue{#7} \LR\HL % > \stoptable} > \newcommand{\ttable}[5]{\xttable{a}{b}{#1}{#2}{#3}{#4}{#5}} > \starttext > Looks fine:\blank > \midaligned{% > \xttable{Statement X}{Statement Y}{$\Rightarrow$}% > {unknown}{unknown}{invalid (false)}{valid (true)} > } > > This doesn't work:\blank > \midaligned{% > \xttable{Some sort of longer statement}{Another sort of longer statement}% > {$\Rightarrow$}% > {unknown}{unknown}{invalid (false)}{valid (true)} > } > > This doesn't work either:\blank > \midaligned{% > \xttable{\framed[width=2cm,frame=off]{Some sort\par of longer > statement\par}}{\framed[width=2cm,frame=off]{Another sort\par of longer > statement\par}}{$\Rightarrow$}% > {unknown}{unknown}{invalid (false)}{valid (true)} > } > \stoptext > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context