[NTG-context] formal multipage table

Csikos Bela bcsikos425 at freemail.hu
Tue Apr 7 18:44:25 CEST 2015


Hello:

I would like to place a landscape formal multi-page table in a document.
I try to attach a pdf showing what I would like to achieve.
The example file was made in latex using array, booktabs, lscape, and  longtable packages.

I read the contextgarden wiki pages on different table packages but according to that information none of the available table modules can be used to make such table. Is the information up-to-date and accurate? Furthermore, how can I insert the table in landscape mode on a portrait page (page numbers should be portrait). I need different headers for the first and the following pages, different footers for the last and the previous pages, rules width different depths for start/end and middle rules.

I experimented with both Tables and TABLE modules but before I go into it more I would like to know if it is feasible at all what I want.

This is one of the trials I made:

\defineipsum[tf][alternative=lines,n=2]

\starttext

\setupTABLE[r][first][style=\tf]

\bTABLE[split=repeat,option=stretch,frame=off,bottomframe=on]
\bTABLEhead
\bTR
  \bTH[nc=2]  This is the first page header \eTH
\eTR
\bTR
  \bTH  Column 1 \eTH  
  \bTH  Column 2 \eTH
\eTR
\eTABLEhead

\bTABLEnext
\bTR
  \bTH[nc=2]  This is the page header (not on first page) \eTH
\eTR
\bTR
  \bTH  Column 1 \eTH  
  \bTH  Column 2 \eTH
\eTR
\eTABLEnext

\bTABLEbody
\dorecurse{25}{
\bTR
  \bTC  \ipsum[tf] \eTC
  \bTC  aaaa \eTC
\eTR}
\eTABLEbody

\bTABLEfoot[bottomframe=off]
\bTR
  \bTC[nc=2] This is the footer \eTC
\eTR
\eTABLEfoot
\eTABLE

\stoptext

There is no separate footer, I could not get rid of the rule below the footer, and I don't understand why the firs header is not in normal typeface instead of bold.


Thanks in advance,

bcsikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: formal-multipage-table.pdf
Type: application/pdf
Size: 34142 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150407/c518fd1d/attachment-0001.pdf>


More information about the ntg-context mailing list