ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: multipage table in columns
Date: Tue, 9 Aug 2005 15:54:10 +0200	[thread overview]
Message-ID: <20050809135410.GA26757@cebitec.uni-bielefeld.de> (raw)

Hi all,

I have to build a table which should split over several columns
(probably two) and, if necessary, across pages.
I have tried this with

\starttext
	\startcolumns[n=3]
	\setupTABLE[split=yes]
	\bTABLE
	\bTABLEhead
		\bTR \bTD Head \eTD \bTD Head~2 \eTD \eTR
	\eTABLEhead
	\bTABLEbody
	\bTR \bTD once \eTD \bTD once~2 \eTD \eTR
	\dorecurse{120}{%
		\bTR \bTD test \eTD \bTD test~2 \eTD \eTR
	}
	\eTABLEbody
	\bTABLEfoot
		\bTR \bTD low \eTD \bTD low~2 \eTD \eTR
	\eTABLEfoot
	\eTABLE
\stopcolumns
\stoptext

This does something at least similar to what I had in mind :-)
Problems:

- As soon a page break is involved, the balancing algorithm gets totally
	confused. For example, the code above gives me three pages, with a
	single cell on the second one. The head is repeated only on the third
	page.

- How can I make a column break trigger head repetition instead of a
	page break?

- How to get the footer repeated at the end of each column, too?

Furthermore, there are some old messages concerning captions for
multipage tables, but I could not find a satisfactory answer. How can I
get a caption on the first page and something like "Table x cont." on
the following ones?

Thanks,
-- 
Eckhart

                 reply	other threads:[~2005-08-09 13:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050809135410.GA26757@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.de \
    --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).