ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* flushlayer
@ 2021-09-28 14:49 Bruce Horrocks via ntg-context
  0 siblings, 0 replies; only message in thread
From: Bruce Horrocks via ntg-context @ 2021-09-28 14:49 UTC (permalink / raw)
  To: ntg-context; +Cc: Bruce Horrocks

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
___________________________________________________________________________________

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

only message in thread, other threads:[~2021-09-28 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 14:49 flushlayer Bruce Horrocks 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).