ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \placetable and \starttables ... \stoptables
@ 2004-12-13 20:28 Nikolai Weibull
  2004-12-15 22:39 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Weibull @ 2004-12-13 20:28 UTC (permalink / raw)


\starttext
\placetable
  [][]
  {Operators}
  {\start
\starttablehead
\HL
\NC \bf Operator     \NC \bf Matches     \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|lp(25em)|]
\dorecurse{50}{\NC . \NC anything \NC\AR}
\stoptables\stop}
\stoptext

This doesn't split appropriately.  It works OK if one removes the
placetable, but that kind of counteracts the whole idea.  Am I doing
something wrong, or is this an issue with the tables code?
	nikolai

-- 
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: \placetable and \starttables ... \stoptables
  2004-12-13 20:28 \placetable and \starttables ... \stoptables Nikolai Weibull
@ 2004-12-15 22:39 ` Hans Hagen
  2004-12-16  9:46   ` Nikolai Weibull
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2004-12-15 22:39 UTC (permalink / raw)


Nikolai Weibull wrote:
> \starttext
> \placetable
>   [][]
>   {Operators}
>   {\start
> \starttablehead
> \HL
> \NC \bf Operator     \NC \bf Matches     \NC\SR
> \HL
> \stoptablehead
> \starttabletail
> \HL
> \stoptabletail
> \starttables[|l|lp(25em)|]
> \dorecurse{50}{\NC . \NC anything \NC\AR}
> \stoptables\stop}
> \stoptext

no need for this \start \stop

> This doesn't split appropriately.  It works OK if one removes the
> placetable, but that kind of counteracts the whole idea.  Am I doing
> something wrong, or is this an issue with the tables code?

\splitfloat
   [lines=3,conversion=greek]
   {\placetable{Operators}}
   {\starttablehead
      \HL
      \NC \bf Operator     \NC \bf Matches     \NC\SR
      \HL
      \stoptablehead
      \starttabletail
      \HL
      \stoptabletail
      \starttables[|l|lp(25em)|]
      \dorecurse{50}{\NC . \NC anything \NC\AR}
    \stoptables}

or


\startbuffer
   \starttablehead
     \HL
     \NC \bf Operator     \NC \bf Matches     \NC\SR
     \HL
     \stoptablehead
     \starttabletail
     \HL
     \stoptabletail
     \starttables[|l|lp(25em)|]
     \dorecurse{50}{\NC . \NC anything \NC\AR}
   \stoptables
\stopbuffer

\splitfloat
   [lines=3,conversion=greek]
   {\placetable{Operators}}
   {\getbuffer}



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

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

* Re: \placetable and \starttables ... \stoptables
  2004-12-15 22:39 ` Hans Hagen
@ 2004-12-16  9:46   ` Nikolai Weibull
  0 siblings, 0 replies; 3+ messages in thread
From: Nikolai Weibull @ 2004-12-16  9:46 UTC (permalink / raw)


* Hans Hagen <pragma@wxs.nl> [Dec 16, 2004 10:30]:
> \splitfloat
>   [lines=3,conversion=greek]
>   {\placetable{Operators}}
>   {\starttablehead
>      \HL
>      \NC \bf Operator     \NC \bf Matches     \NC\SR
>      \HL
>      \stoptablehead
>      \starttabletail
>      \HL
>      \stoptabletail
>      \starttables[|l|lp(25em)|]
>      \dorecurse{50}{\NC . \NC anything \NC\AR}
>    \stoptables}

Aha, OK.  Thank you very much.  I have never seen \splitfloat before.
	nikolai

-- 
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

end of thread, other threads:[~2004-12-16  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-13 20:28 \placetable and \starttables ... \stoptables Nikolai Weibull
2004-12-15 22:39 ` Hans Hagen
2004-12-16  9:46   ` Nikolai Weibull

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).