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 -------------------------------------------------------------------------