Wolfgang Schuster wrote:
> Hi,
> 
> is it possible to support columnspan in tabulate.
> 
> \def\tabulateuse#1%
>   {\dorecurse{\numexpr2*#1-1\relax}{\span}}
> 
> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands]
> 
> \starttext
> 
> \starttable[|l|l|l|l|]
> \NC a \NC b \NC c \NC d \AR
> \NC 1 \NC \TWO 2  \NC 4 \AR
> \stoptable
> 
> \starttabulate[|l|Bl|l|l|]
> \NC a \NC b \NC c \NC d \NR
> \NC 1 \NC 2 \TWO  \NC 4 \NR
> \stoptabulate
> 
> \stoptext

them more something like ...

\def\tabulateuse#1{\dorecurse{\numexpr2*#1-1\relax}{\span\omit}}

\appendtoks
     \let\use\tabulateuse
     \defineTABLEshorthands
\to \everytabulate

\starttext

\starttabulate[|l|Br|l|l|]
\NC a \NC b \NC c \NC d \NR
\NC 1 \NC 2 \TWO  \NC 4 \NR
\stoptabulate

i have no problem with adding such a feature, but you have to write down 
a 'limited use' entry in the wiki then since it will not work with p entries

has to be tested anyway


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to