If you are in the middle of a paragraph at the page break where the width changes, it will  not work.


Den sön 19 jan. 2025 21:40vm via ntg-context <ntg-context@ntg.nl> skrev:


On 19/01/2025 20:38, Henning Hraban Ramm wrote:
> \definelayout[one][width=118mm]
> \definelayout[two][width=178mm]
>
> and then activate them for pages like
>
> \definelayout[1,2,5,6][one]
> \definelayout[4,5,7,8][two]



my current lmtx seems to ignore the \definelayout
what am i missing?


8<---

\setuppapersize [A4]
\setupheader [state=empty, no]
\usetypescript[ibmplex]
\setupbodyfont[ibmplex, serif, 11pt]
\setupinterlinespace[14pt]

\setuplayout[%
     backspace=10mm,
     topspace=20mm,
     header=0mm,
     footer=0mm,
     height=180mm,
]

\definelayout[one][width=98.8mm]
\definelayout[two][width=158.2mm]
\definelayout[1,2,5,6][one]
\definelayout[3,4,7,8][two]


\starttext
\showframe
\dorecurse{30}{\input knuth}
\stoptext

--->8
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________