* layout for marked pages?
@ 2023-01-30 18:51 Pablo Rodriguez via ntg-context
0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2023-01-30 18:51 UTC (permalink / raw)
To: ConTeXt users; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-30 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 18:51 layout for marked pages? Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).