At 02:53 08/12/2003, you wrote:
Hallo ConTeXt list members,
I'd like to arrange A5 landscape pages to A4 in this order ------- ------- ------- ------- ------- ------- | 1 | | 2 | | 5 | | 6 | | 9 | | 10 | ------- ------- ------- ------- ------- ------- | 3 | | 4 | | 7 | | 8 | | 11 | | 12 | ------- ------- ------- ------- ------- ------- for doublesided printing. I'd tried to set \setuparranging[2DOWN] or \setuparranging[2TOP] but it is not desired arrangement. I also experimented with \pusharrangedpage... \poparrangedpages... \handlearrangedpage... macros but I wasn't succsessful.
Please, can somebody help me? Send answer also to my private address vit.zyka@seznam.cz since my dial up connection due to long time traveling does not enable to be member of the lively conference.
\installpagearrangement 4SIDE {\dosetuparrangement{1}{2}{4}{2}{3}% \pusharrangedpageFOURSIDE\poparrangedpagesFOURSIDE\handlearrangedpageTOP} \def\pusharrangedpageFOURSIDE#1% {\doglobal\increment\arrangedpageN \reportarrangedpage\arrangedpageN \ifcase\arrangedpageN \or \handlearrangedpageXandY{#1}000\arrangedpageA % 1 \or \handlearrangedpageXandY{#1}000\arrangedpageC % 2 \or \handlearrangedpageXandY{#1}000\arrangedpageB % 1 \or \handlearrangedpageXandY{#1}000\arrangedpageD % 2 \poparrangedpages \fi} \def\poparrangedpagesFOURSIDE {\bgroup \gdef\arrangedpageN{2}% \poparrangedpagesTWO \let\arrangedpageA\arrangedpageC \let\arrangedpageB\arrangedpageD \gdef\arrangedpageN{2}% \poparrangedpagesTWO \egroup} \setuppapersize[A5,landscape][A4] \setuparranging[4SIDE] \starttext \dorecurse{20}{\input tufte \page} \stoptext