From: Stanislav Sokolenko <stanislav@sokolenko.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
stanislav@sokolenko.net
Subject: Different layout for specific pages
Date: Fri, 23 Aug 2019 11:22:59 -0300 [thread overview]
Message-ID: <25e5fc65-63ab-3e10-b6e6-fa7408ffe697@sokolenko.net> (raw)
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
___________________________________________________________________________________
reply other threads:[~2019-08-23 14:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25e5fc65-63ab-3e10-b6e6-fa7408ffe697@sokolenko.net \
--to=stanislav@sokolenko.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).