ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Natural tables (split) + setupinteraction = fail? (latest mkiv)
Date: Sun, 9 Jan 2011 22:02:13 +0100	[thread overview]
Message-ID: <AANLkTinAfWQRf67UaWAM+WMu5dDQxMMOcAngwy2y85J9@mail.gmail.com> (raw)
In-Reply-To: <877heet8h4.fsf@universe.krase.net>

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
___________________________________________________________________________________

      reply	other threads:[~2011-01-09 21:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 15:14 Marco Pessotto
2011-01-09 21:02 ` luigi scarso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinAfWQRf67UaWAM+WMu5dDQxMMOcAngwy2y85J9@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).