Am 31.08.2025 um 22:08 schrieb Wolfgang Schuster:
Am 31.08.2025 um 20:11 schrieb Bruce Horrocks:
[...]
I'm not sure how this will react to different page sizes (for the ring
binder space etc) so you may need to use a completely different
approach whereby you print a "normal" document to PDF in regular page
order, and then process that PDF using a separate Context file and /
insertpages to achieve the layout you want.
The imposition mechanism isn't the best solution in this case to achieve
something like the result from the example with a wide left margin.
A two step mechanism with with one document for the content and a second
for the page placement is the simples solution. With the help of a
buffer and \typesetbuffer it should be possible to combine both in a
single document.
A simple example for the buffer method:
\startbuffer[content]
\definepapersize[column][width=100mm,height=210mm]
\setuppapersize[column]
\dorecurse{200}{Line \recurselevel\par}
\stopbuffer
\setuppapersize[A4,landscape]
\setuplayout[page]
\starttext
\setupTABLE
[start]
[frame=off,
offset=0pt,
height=th,
align={middle,lohi},
textwidth=tw,
option=stretch]
\bTABLE
\bTR
\bTD \eTD
\bTD \typesetbuffer[content][page=2] \eTD
\bTD \typesetbuffer[content][page=3] \eTD
\eTR
\eTABLE
\bTABLE
\bTR
\bTD \typesetbuffer[content][page=1] \eTD
\bTD \typesetbuffer[content][page=4] \eTD
\bTD \eTD
\eTR
\eTABLE
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________