# [NTG-context] background problem with layers

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Jul 22 19:00:22 CEST 2019

Peter Rolf schrieb am 22.07.2019 um 13:32:
> Hi,
>
> I have a problem with a not printed color background when using layers.
> Small test file is attached.
Below is a simpler example of your problem.

The frame disappears when you repeat the layer which change how the content
if flushed, in the example below you can test it by changing \box\scratchbox
to \copy\scratchbox.

\starttext

\setbox\scratchbox\hbox{\frule width 6cm height 4cm \relax}

\dontleavehmode
\box\scratchbox % works
%\copy\scratchbox % fails

\stoptext

Wolfgang



More information about the ntg-context mailing list