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
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to