Am 19.01.25 um 19:07 schrieb vm via ntg-context:

What would be the simple preferred way to define a document having not just odd and even pages but also alternating width is sets of two. e.g. two pages with width 118 mm followed by two pages of 178 mm followed by two pages with width 118 mm, ...

You can define different layouts like

\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]

To automate this for more pages, try a loop, either with \dorecurse or Lua. Calculations are probably easier in Lua.

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to