Antoine Junod <t...@tots-ns.net> writes: > Hi, > > Wolfgang Schuster <schuster.wolfg...@googlemail.com> writes: > >> Am 20.01.2009 um 09:20 schrieb Antoine Junod: >> >>> Hello List, >>> >>> I'm trying to design a little booklet on the form two A5 pages on a A4 >>> sheet. It's not hard to do as it is well documented. >>> >>> The problem is the following: I would like to add a table (actually a >>> people list with firstname, lastname, mobile, address and so on and so >>> on) that is quite wide. The idea is to put it on a double page (ie, >>> when you open the booklet, the table is on both the left and the right >>> page). >>> >>> The easy way would be to 1) manually cut the table in two tables (a >>> left one and a right one) that fit on a page and 2) to put them each >>> on their own page, beeing sure the left one is on a left page. Here, >>> the difficulty is to align both tables accross the pages. >> >> >> How about linetables? >> >> \setuplinetable[nx=2,width=.125\textwidth] >> >> \starttext >> >> \startlinetable >> \NC firstname \NC lastname \NC phone \NC mobile \NC postal >> code \NC city \NC address \NC\NR >> \NC John \NC Jonhsons \NC 0800/987654 \NC 0171/123456 \NC 12345 >> \NC New TeX \NC Meta street 12 \NC\NR >> \stoplinetable >> >> \stoptext > > Excellent, thanks Wolfgang. It exactly matches my needs :)
In fact my reply was a bit fast: in the example below the table is split on pages 2 and 3. But the lines of the table are not aligned. I'll dig the sources too see if it's possible to do that. But if anyone has a solution, I'm interested :) Thanks for your help, -AJ %%%%%%%%%%%%%%%% Page setup % Use A5 pages on A4 paper \setuppapersize[A5][A4] % Arrange the A5 pages such that there are two of them on each A4 % sheet. They are arranged such that they can be send to the printer % set to print on both pages, flipping on the long edge. \setuparranging[2UP,rotated,doublesided] % The layout of the page \setuplayout[margin=1cm,width=middle,height=middle,topspace=0cm,backspace=1.2cm] %%%%%%%%%%%%%%%% Colors % Enable the use of colors for the whole document \setupcolors[state=start] %%%%%%%%%%%%%%%% Debug % Display the layout borders \showframe % Display the grid \showgrid % Display the current layout setup value %\showsetups %%%%%%%%%%%%%%%% Font % Accept accents by default as input, like é, à and others. \enableregime[utf] %%%%%%%%%%%%%%%% Beginning of the document \starttext \section{Le mot du président} \dorecurse{2}{\input tufte \par} \section{Les comptes} \section{Les récits} \subsection{La dora} \subsection{Mon premier match de polo} \subsection{La piscine} \section{List des membres} % magic \setuplinetable[nx=2,width=.125\textwidth] \startlinetable \NC firstname \NC lastname \NC phone \NC mobile \NC postal code \NC city \NC address \NC\NR \NC John \NC Jonhsons \NC 0800/987654 \NC 0171/123456 \NC 12345 \NC New TeX \NC Meta street 12 \NC\NR \stoplinetable \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________