From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: flushlayer
Date: Tue, 28 Sep 2021 15:49:48 +0100 [thread overview]
Message-ID: <8DE84316-2DBD-421F-8F1B-8ACE3B82C4A5@scorecrow.com> (raw)
Latest LMTX. I noticed the following \flushlayer behaviour and wondered if it was a bug or something I've misunderstood?
\showframe
\setuppapersize [A5][A5]
\setuplayout[marking=on, location=middle]
\definelayer[coverlayer]
[width=\paperwidth, height=\paperheight]
\setupbackgrounds [paper] [background=coverlayer,state=start ]
\starttext
\setlayerframed [coverlayer]
[width=60mm,height=60mm,hoffset=0mm,voffset=0mm]
[frame=on]
{Some framed text top left of paper}%
Hello world.
%\flushlayer[coverlayer]
\stoptext
The above works as expected: the framed text is at the top left of the paper. But if I change the last three lines to:
%Hello world.
\flushlayer[coverlayer]
\stoptext
(i.e. swap around the 'commenting out') then the framed text moves to the top left of the text area not the paper.
Is this intended?
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
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:[~2021-09-28 14:49 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=8DE84316-2DBD-421F-8F1B-8ACE3B82C4A5@scorecrow.com \
--to=ntg-context@ntg.nl \
--cc=ntg@scorecrow.com \
/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).