ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table breaking over pages
@ 2003-04-07 15:56 Willi Egger
  2003-04-08 10:40 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger @ 2003-04-07 15:56 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

Dear Hans

I should typset a set of rather long tables.

I tried to use the \starttable environment and the \bTABLE environment. -
Both tables will not break over pages.

Could you please have a look into this matter?

Attachment a test file in the \bTABLE environment

Thanks in advance


Willi

[-- Attachment #2: test.tex --]
[-- Type: application/octet-stream, Size: 1976 bytes --]

% testfile table breaking

\setupoutput[pdftex]

\startbuffer[Teil]
%processtap
\bTR
   \bTD[ny=3] Stap \eTD
   \bTD (Micro)biologisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Chemisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Fysisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\stopbuffer

\starttext
\switchtobodyfont[small]

%\setupTABLE[split=yes]
\setupTABLE[row][1,2][align={middle,lohi},background=color,backgroundcolor=lightgray]

\bTABLE
\setupTABLE[split=yes]
\bTABLEhead
\bTR
   \bTH[ny=2] Processtap \eTH
   \bTH[nx=2] Gevarenanalyse \eTH
   \bTH[nx=2] Risicoanalyse \eTH \eTR
\bTR
   \bTH Gevaar \eTH
   \bTH Beheersen \eTH
   \bTH Risico \eTH
   \bTH CP / CCP \eTH \eTR
\eTABLEhead
\bTABLEbody
\bTR
   \bTD[nc=5] A. goederen \eTD\eTR
% Processtap
\bTR
   \bTD[ny=3] Stap 1 \eTD
   \bTD (Micro)biologisch nee \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Chemisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Fysisch  \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
%processtap
\bTR
   \bTD[ny=3] Stap 2 \eTD
   \bTD (Micro)biologisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Chemisch  \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Fysisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
%processtap
\bTR
   \bTD[ny=3] Stap 3 \eTD
   \bTD (Micro)biologisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Chemisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR
\bTR
   \bTD Fysisch \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD
   \bTD \strut \eTD \eTR

\dorecurse{20}{\getbuffer[Teil]}
\eTABLEbody
\eTABLE
\stoptext

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

* Re: Table breaking over pages
  2003-04-07 15:56 Table breaking over pages Willi Egger
@ 2003-04-08 10:40 ` Hans Hagen
  2003-04-08 13:55   ` Willi Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2003-04-08 10:40 UTC (permalink / raw)


At 17:56 07/04/2003 +0200, you wrote:
>Dear Hans
>
>I should typset a set of rather long tables.
>
>I tried to use the \starttable environment and the \bTABLE environment. -
>Both tables will not break over pages.
>
>Could you please have a look into this matter?
>
>Attachment a test file in the \bTABLE environment

this work sok here:

   \setupTABLE[split=yes]

or

   \startTABLE[split=yes]

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: Table breaking over pages
  2003-04-08 10:40 ` Hans Hagen
@ 2003-04-08 13:55   ` Willi Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger @ 2003-04-08 13:55 UTC (permalink / raw)


Hi Hans,

Strange, with my beta-version of ConTeXt  ver: 2003.3.17  fmt: 2003.3.29
int: english  mes: english
the following works:

\bTABLE[split=yes] -- No repetition of the \TABLEhead on following pages.

\setupTABLE[split=yes] has no effect i.e. the table is placed on one page
and cut off at the bottom margin.

By trying again I was able to produce a breaking table with the
\starttables[...] \stoptables environment with repetition of the table head
by means of the \starttablehead \stoptablehead en the pendant
\starttabletail \stoptabletail.


> this work sok here:
>
>    \setupTABLE[split=yes]
>
> or
>
>    \startTABLE[split=yes]

Where can I use this latter command?? I thought that \bTABLE \eTABLE are the
commands for the natural tables...


Kind regards Willi

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

end of thread, other threads:[~2003-04-08 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-07 15:56 Table breaking over pages Willi Egger
2003-04-08 10:40 ` Hans Hagen
2003-04-08 13:55   ` Willi Egger

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