ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Different layout for specific pages
@ 2019-08-23 14:22 Stanislav Sokolenko
  0 siblings, 0 replies; only message in thread
From: Stanislav Sokolenko @ 2019-08-23 14:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users, stanislav

Dear list,

I would like to specify in advance that certain pages are to have 
different layouts. I put together an example based on what read on the 
wiki (https://wiki.contextgarden.net/Layout#Multiple_layouts):

\setuppapersize[A6]

\definelayout[bigheader][header=0.5\textheight]
\definelayout[smallheader][header=0.1\textheight]

\setuplayout[smallheader]
\definelayout[1][bigheader]
\definelayout[2][smallheader]

\starttext
\showframe
\input knuth
\input knuth
\input knuth
\stoptext

However, rather then having the big header only on page 1, I end up with 
it on every page except page 2. Is this a bug or can someone tell me 
what I'm doing wrong? I've tried using the lmtx binaries, a recent 
context standalone version (2019-08-17) and using context live with the 
same result everywhere.

Thanks,

Stan

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-23 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23 14:22 Different layout for specific pages Stanislav Sokolenko

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).