[NTG-context] tabulate span broken

Hans Hagen pragma at wxs.nl
Mon Jan 10 14:24:18 CET 2011


On 10-1-2011 10:46, Steffen Wolfrum wrote:
> Hi,
>
> as far as I remember, the following code worked up to december:
>
> \def\tabulateuse#1%
>   {\dorecurse{\numexpr2*#1-1\relax}{\span\omit}\raggedright\ignorespaces}
>
> \appendtoks
>     \let\use\tabulateuse
>     \defineTABLEshorthands

remove the previous line as there is no reason why tabulate should 
inherit all from table

> \to \everytabulate
>
> \starttext
>
> \starttabulate[|p(4cm)|p(4cm)|p(6cm)|]
> \NC \dorecurse{10}{text } \NC \dorecurse{8}{text } \NC
> \dorecurse{18}{text } \NC\NR
> \NC \TWO Short text spanning two tabulate paragraphs. \NC

\use2 seems to work but keep in mind that such local patches are not 
guaranteed to work (one never what logic is used deep down)

> \dorecurse{22}{text } \NC\NR
> \stoptabulate
>
> \stoptext
>
>
> Today it gives:
> ! Undefined control sequence.
> <inserted text>  ...lateuse \defineTABLEshorthands
>
> \dofinalstarttabulate ...ount \the \everytabulate
>                                                    \tabulateparameter \c!inne...
> <to be read again>
>                     \NC
> l.42 \NC
>           \dorecurse{10}{text } \NC \dorecurse{8}{text } \NC
> ?
>
>
>
> Is there a substitute?
> Steffen
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list