ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* table won't break across page
@ 2005-04-10  8:21 Paul Tremblay
  2005-04-10  8:45 ` Nikolai Weibull
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Tremblay @ 2005-04-10  8:21 UTC (permalink / raw)


I am trying to create a table that breaks across pages. I used the
example from the wiki. The table repeated its headers like it should
have, but it did not break across a page; it stuck the table on one
page. 

Here is an excerpt from the file:

\placetable[here][tab:insurance]{Percentage of People without health
insurance in US}{\start
\starttablehead
\HL
\VL State     \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)  \VL\SR
\stoptablehead
\starttabletail
\HL[4]
\stoptabletail
\starttables[|l w(30mm)|l|l|]
\VL Alabama   \VL 13.3                     \VL 13.5                        \VL\FR
\HL
\VL Alaska    \VL 17.8                     \VL 18.8                        \VL\MR
\HL
...
\stoptables
\stop}

Thanks

Paul


-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

* Re: table won't break across page
  2005-04-10  8:21 table won't break across page Paul Tremblay
@ 2005-04-10  8:45 ` Nikolai Weibull
  2005-04-10 16:45   ` Paul Tremblay
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-10  8:45 UTC (permalink / raw)


Paul Tremblay, April 10:

> I am trying to create a table that breaks across pages. I used the
> example from the wiki. The table repeated its headers like it should
> have, but it did not break across a page; it stuck the table on one
> page. 

The example on the wiki is messed up.  I guess I could have fixed it,
but I haven't had time:

\splitfloat
  {\placetable{Percentage of People without…}}
  {\starttablehead
   ⋮
   \stoptablehead
   \starttabletail
   ⋮
   \stoptabletail
   \starttables[…]
   ⋮
   \stoptables}

Enjoy,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: table won't break across page
  2005-04-10  8:45 ` Nikolai Weibull
@ 2005-04-10 16:45   ` Paul Tremblay
  2005-04-10 17:10     ` Nikolai Weibull
  2005-04-10 21:11     ` Patrick Gundlach
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Tremblay @ 2005-04-10 16:45 UTC (permalink / raw)


On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:
> 
> The example on the wiki is messed up.  I guess I could have fixed it,
> but I haven't had time:
> 
> \splitfloat
>   {\placetable{Percentage of People without???}}
>   {\starttablehead
>    ???
>    \stoptablehead
>    \starttabletail
>    ???
>    \stoptabletail
>    \starttables[???]
>    ???
>    \stoptables}
> 

Thanks. I've included this example at:

http://getfo.sourceforge.net/context_xml/page4.html#id2256900

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

* Re: table won't break across page
  2005-04-10 16:45   ` Paul Tremblay
@ 2005-04-10 17:10     ` Nikolai Weibull
  2005-04-10 18:38       ` Paul Tremblay
  2005-04-10 21:11     ` Patrick Gundlach
  1 sibling, 1 reply; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-10 17:10 UTC (permalink / raw)


Paul Tremblay, April 10:

> On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:

> > \splitfloat
> >   {\placetable{Percentage of People without???}}
> >   {\starttablehead
> >    ???
> >    \stoptablehead
> >    \starttabletail
> >    ???
> >    \stoptabletail
> >    \starttables[???]
> >    ???
> >    \stoptables}

Your mailer seems to mess up the charset.  You're sending us-ascii
responses to utf-8 mail and including the utf-8 sequences (the ???'s),
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: table won't break across page
  2005-04-10 17:10     ` Nikolai Weibull
@ 2005-04-10 18:38       ` Paul Tremblay
  2005-04-10 19:12         ` Nikolai Weibull
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Tremblay @ 2005-04-10 18:38 UTC (permalink / raw)


On Sun, Apr 10, 2005 at 07:10:07PM +0200, Nikolai Weibull wrote:
> 
> > On Sun, Apr 10, 2005 at 10:45:37AM +0200, Nikolai Weibull wrote:
> 
> > > \splitfloat
> > >   {\placetable{Percentage of People without???}}
> > >   {\starttablehead
> > >    ???
> > >    \stoptablehead
> > >    \starttabletail
> > >    ???
> > >    \stoptabletail
> > >    \starttables[???]
> > >    ???
> > >    \stoptables}
> 
> Your mailer seems to mess up the charset.  You're sending us-ascii
> responses to utf-8 mail and including the utf-8 sequences (the ???'s),
>         nikolai

When I got your email, I saw the ???. I assumed you put them in to
indicate I should fill in the blank. What characters were you trying to
convey here? I wasn't aware that my emailer was messing things up. It is
the mutt emailer.

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

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

* Re: table won't break across page
  2005-04-10 18:38       ` Paul Tremblay
@ 2005-04-10 19:12         ` Nikolai Weibull
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2005-04-10 19:12 UTC (permalink / raw)


Paul Tremblay, April 10:

> > Your mailer seems to mess up the charset.  You're sending us-ascii
> > responses to utf-8 mail and including the utf-8 sequences (the ???'s),

> When I got your email, I saw the ???. I assumed you put them in to
> indicate I should fill in the blank. What characters were you trying to
> convey here? I wasn't aware that my emailer was messing things up. It is
> the mutt emailer.

Those are supposed to be ellipses of the horizontal and vertical kind to
the effect that you perceived them to be (as ?, though).  Anyway, you
can compile mutt with unicode support.  You need to enable unicode
support in ncurses as well.  Anyway, it doesn't matter much I suppose,
but I guess it's another one of those problems with mutt...,
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

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

* Re: table won't break across page
  2005-04-10 16:45   ` Paul Tremblay
  2005-04-10 17:10     ` Nikolai Weibull
@ 2005-04-10 21:11     ` Patrick Gundlach
  1 sibling, 0 replies; 7+ messages in thread
From: Patrick Gundlach @ 2005-04-10 21:11 UTC (permalink / raw)


Hello,

I wonder why this table doesn't split:

--------------------------------------------------
\starttext
\showgrid
\dorecurse{3}{\input zapf \par}
\splitfloat
  [lines=4,conversion=greek]
{\placetable{sample table}}
{\starttablehead
\HL
\NC command	\NC meaning	\NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}	\NC next column	\NC\FR
\NC \tex{HL}	\NC horizontal line	\NC\MR
\NC \tex{VL}	\NC vertical line	\NC\MR
\NC \tex{NR}	\NC next row	\NC\LR
\HL
\NC \tex{SR}	\NC single row	\NC\FR
\NC \tex{FR}	\NC first row	\NC\MR
\NC \tex{MR}	\NC middle row	\NC\MR
\NC \tex{LR}	\NC last row	\NC\LR
\HL
\NC \tex{SR}	\NC single row	\NC\FR
\NC \tex{FR}	\NC first row	\NC\MR
\NC \tex{MR}	\NC middle row	\NC\MR
\NC \tex{LR}	\NC last row	\NC\LR
\stoptables
}

\stoptext
--------------------------------------------------

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net

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

end of thread, other threads:[~2005-04-10 21:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-10  8:21 table won't break across page Paul Tremblay
2005-04-10  8:45 ` Nikolai Weibull
2005-04-10 16:45   ` Paul Tremblay
2005-04-10 17:10     ` Nikolai Weibull
2005-04-10 18:38       ` Paul Tremblay
2005-04-10 19:12         ` Nikolai Weibull
2005-04-10 21:11     ` Patrick Gundlach

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