[NTG-context] Natural tables (split) + setupinteraction = fail? (latest mkiv)

luigi scarso luigi.scarso at gmail.com
Sun Jan 9 22:02:13 CET 2011


On Sun, Jan 9, 2011 at 4:14 PM, Marco Pessotto <melmothx at gmail.com> wrote:
>
> Hello there.
>
> See the following minimal example:
>
> %%%% begin %%%%
> \setupinteraction[state=start,color=black,contrastcolor=black]
> \starttext
> \placetable[split]{Test}
> {\bTABLE[split=yes]
> \dorecurse{60}{
> \bTR \bTD hello \eTD \eTR
> }
> \eTABLE}
>
> \stoptext
> %%%% end %%%%%
>
> If I try to compile it, I get the following error:
>
> pages           > flushing realpage 1, userpage 1, subpage 1
> ! Missing number, treated as zero.
> <to be read again>
>                   {
> \docompletefloat ...\vbox \floatcaptionattribute {
>                                                  \doifelsemainfloatbody \cu...
> <argument> ...loat {table}{}{split}{Test}\nextbox
>                                                  \else \docompletefloat {ta...
> \thirdofthreearguments #1#2#3->#3
>
> \xdocompletefloat ...afloat ,#3}{#4}\nextbox \fi }
>                                                  \else \docompletefloat {#1...
> \dodowithnextbox ...tefloat {table}{}{split}{Test}
>                                                  \doifnotinset \v!text {spl...
> ...
> l.11 \eTABLE
>            }
> ?
>
> The same source compiles as expected with version 2010.12.15 (ok, there
> was the bug for the numbering, but it compiled).
>
> Bests
>
> --
> Marco
I think splifloat is to be complete in mkiv. This works on mkii but not in mkiv:
%%from tabl-tsp.mkiv
\starttext
 \splitfloat[lines=auto,inbetween={}]
   {\placetable{\dorecurse{5}{test\recurselevel\endgraf}}}
   {\bTABLE[split=yes]
    \bTR \bTD 11 \eTD \bTD \input tufte \eTD \eTR
    \bTR \bTD 12 \eTD \bTD \input zapf \eTD \eTR
    \bTR \bTD 13 \eTD \bTD \input bryson \eTD \eTR
    \bTR \bTD 14 \eTD \bTD test  \eTD \eTR
    \bTR \bTD 21 \eTD \bTD \input tufte \eTD \eTR
    \bTR \bTD 22 \eTD \bTD \input zapf \eTD \eTR
    \bTR \bTD 23 \eTD \bTD \input bryson \eTD \eTR
    \bTR \bTD 24 \eTD \bTD test  \eTD \eTR
    \bTR \bTD 31 \eTD \bTD \input tufte \eTD \eTR
    \bTR \bTD 32 \eTD \bTD \input zapf \eTD \eTR
    \bTR \bTD 33 \eTD \bTD \input bryson \eTD \eTR
    \bTR \bTD 34 \eTD \bTD test  \eTD \eTR
    \eTABLE}
\stoptext


-- 
luigi


More information about the ntg-context mailing list