ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Newbie wants to make long tables
Date: Mon, 15 Sep 2003 00:43:30 +0200	[thread overview]
Message-ID: <5.2.0.9.1.20030915004136.0125d0a8@localhost> (raw)
In-Reply-To: <BB8A505A.15906%king@dircon.co.uk>

At 17:05 14/09/2003 +0100, you wrote:
>Hans,
>Thank you very much for this it is excellent-I have a further question.
>
>I have been trying to encourage page breaking on some lines rather than
>others. Consider the following
>
>\bTABLE[split=repeat]
>\bTABLEhead
>\bTR \bTH Head 1 \eTH \bTH Head 2 \eTH \eTR
>\eTABLEhead
>\bTABLEfoot
>\bTR \bTH Foot 1 \eTH \bTH Foot 2 \eTH \eTR
>\eTABLEfoot
>\bTABLEbody
>\dorecurse{40}{\bTR \bTD[nr=3] left \eTD\bTD right \eTD
>\eTR\dorecurse{2}{\bTR\bTD right \eTD \eTR}}
>\eTABLEbody
>\eTABLE
>
>Which is something like below
>
>Left  right
>       right
>       right  <I want to encourage page breaking after here
>Left  right
>       right
>       right
>
>
>I have been trying to find a way to encourage page breaking at appropriate
>points but have not found the way.

\bTABLE[split=yes]
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR[after=\pagina] \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\bTR \bTD left \eTD\bTD right \eTD\eTR
\eTABLE

i'll send you the adapted core-ntb in another mail

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

  reply	other threads:[~2003-09-14 22:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-20  6:44 Thomas Schrader
2003-08-21 21:29 ` Hans Hagen
2003-09-12  7:36   ` Nigel King
2003-09-13 20:54     ` Hans Hagen
2003-09-14 16:05       ` Nigel King
2003-09-14 22:43         ` Hans Hagen [this message]
2003-09-15 17:32           ` Willi Egger
2003-09-15 18:52             ` Hans Hagen
2003-09-15 22:41           ` Nigel King
2003-09-16 22:05             ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-08-18 12:23 Thomas Schrader
2003-08-19 15:49 ` Tobias Burnus

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=5.2.0.9.1.20030915004136.0125d0a8@localhost \
    --to=pragma@wxs.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).