An example drom the wiki:

\setuplinetable[n=6,lines=40]

\setuplinetable[c][1]   [width=2cm,background=color,backgroundcolor=red]
\setuplinetable[c][4]   [width=3cm,background=color,backgroundcolor=yellow]
\setuplinetable[c][6]   [width=3cm,background=color,backgroundcolor=magenta]
\setuplinetable[r][odd] [background=color,backgroundcolor=gray]
\setuplinetable[r][even][background=color,backgroundcolor=green]

\starttext

\showframe \showstruts

\setupcolors[state=start]

\startlinetable
\dorecurse{5}{\NC aaa\crlf aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff}
\NC \NR
\dorecurse{100}{\dorecurse{5}{\NC aaa \NC bb \NC c \NC ddddd \NC eeee
\NC ff} \NC \NR}
\stoplinetable

\stoptext


! Missing number, treated as zero.
<to be read again>
                   d
\!!depth ->d
            epth
\domakeblackrule ...!!height \@@bjheight \!!depth
                                                  \@@bjdepth \stopcolor
\complexblackrule ...[\??bj ][#1]\domakeblackrule
                                                  \egroup
<argument> ...depth }, \c!width =\wd \scratchbox ]
                                                  \hskip -\wd
\scratchbox \b...
\firstoftwoarguments #1#2->#1

...
l.16 ...aa \NC bb \NC c \NC ddddd \NC eeee \NC ff}
                                                   \NC \NR
?


current minimal mkii and mkiv

Herbert
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to