Florent Michel schrieb am 20.11.2024 um 17:26:
Hi,

I'm having issues generating PDF files with a coloured background when export is set to ‘yes’.

Minimal example:

\setupbackend[export=yes]
\setupbackgrounds [page] [background=color,backgroundcolor=black]
\starttext
\startcolor[white]
test
\stoptext

This example seems to work as expected when I comment out the first line (a black page with the word ‘test’ in white). However, with the first line the pdf looks entirely white. Is this a known issue, or am I doing something wrong here?

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.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to