Le mer. 20 nov. 2024 à 17:09, Henning Hraban Ramm <texml@fiee.net> a écrit :
Why don’t use use a mode?
\startmode[export]
\setupbackend[export=yes]
\stopmode

Then you can call "context --mode=export" etc.

Thanks a lot for that, Henning! It indeed works perfectly! 

Le mer. 20 nov. 2024 à 17:15, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> a écrit :
When you use the export mode some features of Context are disabled and
in your case the page background is one of these disabled features.

It has always been recommended to make separate runs for the PDF output
and the document export.

Thank you Wolfgang for the explanation! That makes sense - and with the workaround suggested by Henning making separate runs is no problem.

Best regards,
Florent