ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: table page breaking
Date: Sat, 22 Mar 2003 15:27:33 +0100	[thread overview]
Message-ID: <002601c2f07f$c8a14440$0100a8c0@vademecum> (raw)
In-Reply-To: <5.1.0.14.1.20030322131640.031ebdc0@server-1>

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

Hi Hans

> >! Missing } inserted.
> ><inserted text>
> >                 }
> ><to be read again>
> >                    \halign
> >\begintbl ... \rowTBL \tabskip \zeropoint \halign
>
> seem like you try to put something vertical into something horizontal,
> maybe adding \endgraf or \vbox'ing helps

Though I am not using XML at the moment, there seems to be a problem with
pagebreaking with tables of the type \bTABLES .. \eTABLE.
As other list members mentioned, the table is cut on the first page.

I would be greatful if you could have a look at the enclosed example.

Willi

.


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

% testfile table breaking

\setupoutput[pdftex]

\startbuffer[Teil]
%processtap
\bTR
   \bTD[ny=3] Volgende 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

      reply	other threads:[~2003-03-22 14:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19 19:59 Michael Wiedmann
2003-03-20  9:44 ` Hans Hagen
2003-03-21 21:47   ` Simon Pepping
2003-03-22 12:17     ` Hans Hagen
2003-03-22 14:27       ` Willi Egger [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='002601c2f07f$c8a14440$0100a8c0@vademecum' \
    --to=w.egger@boede.nl \
    --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).