ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* multipage table in columns
@ 2005-08-09 13:54 Eckhart Guthöhrlein
  0 siblings, 0 replies; only message in thread
From: Eckhart Guthöhrlein @ 2005-08-09 13:54 UTC (permalink / 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-09 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-09 13:54 multipage table in columns Eckhart Guthöhrlein

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