[NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
Hi all,

I think there is a bug with \placefloat and split option.

\starttext  \showframe[text]

\setupxtable
  [split=yes,option=stretch,
   width=4cm,height=3cm,
   align={middle,middle}]

\startbuffer
\startxtable
  \dorecurse{15}{%
\startxrow
  \dorecurse{5}{\startxcell cell: #1 x ##1 \stopxcell}
\stopxrow}
\stopxtable
\stopbuffer

% \getbuffer % OK

\placetable[here,split]{A big table}{\getbuffer}

\stoptext

By the way, what is the analogous split-option name if one uses the \start- 
\stopplacetable syntax?

Regards
Andreas
___
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
___


Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Wolfgang Schuster

Am 09.11.2011 um 16:55 schrieb Andreas Harder:

 Hi all,
 
 I think there is a bug with \placefloat and split option.
 
 \starttext  \showframe[text]
 
 \setupxtable
  [split=yes,option=stretch,
   width=4cm,height=3cm,
   align={middle,middle}]
 
 \startbuffer
 \startxtable
  \dorecurse{15}{%
\startxrow
  \dorecurse{5}{\startxcell cell: #1 x ##1 \stopxcell}
\stopxrow}
 \stopxtable
 \stopbuffer
 
 % \getbuffer % OK
 
 \placetable[here,split]{A big table}{\getbuffer}
 
 \stoptext
 
 By the way, what is the analogous split-option name if one uses the \start- 
 \stopplacetable syntax?

\startplacetable[location={split,…},…]

Wolfgang

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


Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Hans Hagen

On 9-11-2011 16:55, Andreas Harder wrote:

Hi all,

I think there is a bug with \placefloat and split option.


fixed but it needs testing (the float code has been cleaned up a bit and 
as a side effect grouping is slightly different)


Hans

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


Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder

On 09.11.2011, at 17:05, Wolfgang Schuster wrote:

 
 Am 09.11.2011 um 16:55 schrieb Andreas Harder:
 
 Hi all,
 
 I think there is a bug with \placefloat and split option.
 
 \starttext  \showframe[text]
 
 \setupxtable
 [split=yes,option=stretch,
  width=4cm,height=3cm,
  align={middle,middle}]
 
 \startbuffer
 \startxtable
 \dorecurse{15}{%
   \startxrow
 \dorecurse{5}{\startxcell cell: #1 x ##1 \stopxcell}
   \stopxrow}
 \stopxtable
 \stopbuffer
 
 % \getbuffer % OK
 
 \placetable[here,split]{A big table}{\getbuffer}
 
 \stoptext
 
 By the way, what is the analogous split-option name if one uses the \start- 
 \stopplacetable syntax?
 
 \startplacetable[location={split,…},…]

Thanks Wolfgang. I tried „split=yes“, „option=split“ …

Andreas
___
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
___


Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder

On 09.11.2011, at 21:09, Hans Hagen wrote:

 On 9-11-2011 16:55, Andreas Harder wrote:
 Hi all,
 
 I think there is a bug with \placefloat and split option.
 
 fixed but it needs testing (the float code has been cleaned up a bit and as a 
 side effect grouping is slightly different)

Thank you. 

I still have problems with local footnotes. It worked a couple of betas before. 
I will try to make a minimal example.

Andreas
___
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
___