From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11507 Path: main.gmane.org!not-for-mail From: Matthew Huggett Newsgroups: gmane.comp.tex.context Subject: Re: \framed and \starttabulate Date: Wed, 19 Mar 2003 23:11:07 +0900 Sender: ntg-context-admin@ntg.nl Message-ID: <3E787A7B.7040304@zam.att.ne.jp> References: <5.1.0.14.1.20030319082643.028ad5d0@server-1> Reply-To: ntg-context@ntg.nl 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: main.gmane.org 1048083249 8974 80.91.224.249 (19 Mar 2003 14:14:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2003 14:14:09 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Mar 19 15:14:08 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18veKW-0002Kb-00 for ; Wed, 19 Mar 2003 15:14:08 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0233010B64; Wed, 19 Mar 2003 15:14:10 +0100 (MET) Original-Received: from smtp1.att.ne.jp (smtp1.att.ne.jp [165.76.15.137]) by ref.ntg.nl (Postfix) with ESMTP id 092A510B64 for ; Wed, 19 Mar 2003 15:11:27 +0100 (MET) Original-Received: from zam.att.ne.jp (unknown [218.231.154.165]) by smtp1.att.ne.jp (Postfix) with ESMTP id 564C01553C for ; Wed, 19 Mar 2003 23:11:24 +0900 (JST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en, zh-cn, ja, zh-tw Original-To: ntg-context@ntg.nl In-Reply-To: <5.1.0.14.1.20030319082643.028ad5d0@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11507 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11507 Hans: Thanks for such a detailed answer. I think all novice users really appreciate this kind of response. Best wishes, Matthew Hans Hagen wrote: > At 10:37 AM 3/19/2003 +0900, you wrote: > >> Hi: >> >> I wanted to use >> \framed >> {\starttabulate ... \stoptabulate } >> >> but when I tried it, TeX complained about groupings and missing >> parentheses. Is there a way to make this work? I switched to >> \bTABLE, and that worked, but \starttabulate is more convenient >> sometimes. > > > a \framed by default makes a so called hbox, and this conflicts with > tabulate's halign; the resulting message comes deep down in tex and is > one of the most confusing ones; it should be interpreted as: you are > doing something complicated vertical in horizontal mode > > Solution: force \framed to be a vbox, by setting the width/height or > setting the align key to some value > > \starttext > > % unreadable (watch how we nil the strut, try it with \showstruts) > > \framed[align=normal,strut=no] > {\starttabulate > \NC test \NC test \NC \NR > \stoptabulate} > > % more convenient (kind of startframedtext, but more tuned to this > kind of usage) > > \defineframedcontent[mine][offset=3pt] > > test > > \startframedcontent[mine] > \starttabulate[|l|l|] > \NC test \NC test \NC \NR > \stoptabulate > \stopframedcontent > > test > > \stoptext > > Also, compare this (spacing) with: > > \defineframedcontent[mine][offset=3pt,linecorrection=yes] > > test > > \startframedcontent[mine] > \starttabulate[|l|l|] > \NC test \NC test \NC \NR > \stoptabulate > \stopframedcontent > > test > > > Hans > ------------------------------------------------------------------------- > Hans Hagen | PRAGMA ADE | pragma@wxs.nl > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com > ------------------------------------------------------------------------- > information: http://www.pragma-ade.com/roadmap.pdf > documentation: http://www.pragma-ade.com/showcase.pdf > ------------------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >