ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Natural tables (split) + setupinteraction = fail? (latest mkiv)
@ 2011-01-09 15:14 Marco Pessotto
  2011-01-09 21:02 ` luigi scarso
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Pessotto @ 2011-01-09 15:14 UTC (permalink / raw)
  To: ntg-context


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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Natural tables (split) + setupinteraction = fail? (latest mkiv)
  2011-01-09 15:14 Natural tables (split) + setupinteraction = fail? (latest mkiv) Marco Pessotto
@ 2011-01-09 21:02 ` luigi scarso
  0 siblings, 0 replies; 2+ messages in thread
From: luigi scarso @ 2011-01-09 21:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 9, 2011 at 4:14 PM, Marco Pessotto <melmothx@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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-09 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-09 15:14 Natural tables (split) + setupinteraction = fail? (latest mkiv) Marco Pessotto
2011-01-09 21:02 ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).