Hi,

I have a problem with a not printed color background when using layers.
Small test file is attached.

ConTeXt version: 2019.07.16 18:23


Peter

Attachment: test.pdf
Description: Adobe PDF document

\defineframed[framedclass][
        foregroundcolor=black,  foregroundstyle=\bfa,
        backgroundcolor=darkgray, background=color,
        backgroundoffset=1mm,
        backgroundcorner=round, backgroundradius=1mm,
        frame=on, framecolor=black,
]

\definelayer[foo][width=\the\paperwidth, height=\the\paperheight, state=repeat]
\setlayer[foo][x=70mm, y=40mm]
        {\framedclass{no style here}}

\setupbackgrounds[paper][background={foo}]


\starttext
\framedclass{works fine}
\setlayer[foo][x=40mm, y=70mm]
        {\framedclass{no background here}}
\stoptext
___________________________________________________________________________________
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 via email to