[NTG-context] layout for marked pages?
Pablo Rodriguez
oinos at gmx.es
Mon Jan 30 19:51:55 CET 2023
Dear list,
I have the following sample:
\showframe
\setuplayout[width=middle]
\definelayout[odd][reset]
\definelayout[even][reset]
\doiftext{\markedpages[zapf]}
{\doloopoverlist{\markedpages[zapf]}
{\definelayout[\recursestring][page]}}
\starttext
\dorecurse{50}{\input{knuth}\par}
\page\startmarkpages[zapf]
\dorecurse{50}{\input{zapf}\par}
\stopmarkpages\page
\dorecurse{50}{\input{knuth}\par}
\stoptext
I wanted to have page layout in pages marked with zapf.
I thought \markedpages[zapf] was the way to go, but I only get text
after marked pages, not before them.
Which is the right approach to have marked pages with a different layout?
I would be happy to update
https://wiki.contextgarden.net/Page_Layout#Multiple_layouts.
Many thanks for your help,
Pablo
More information about the ntg-context
mailing list