On 6/11/2025 8:40 PM, Joel via ntg-context wrote:
I have a document with lots of color text, Metapost art, and various images in PDF, JPG, and PNG format. I might have the printer just print in black and white, as it cuts printing costs in half. Is there a way to tell ConTeXt to compile everything so it appears grayscale, so I can better visualize how it would look printed?

\setupcolors
  [state=stop]

for images, you can configure converters (they call a converter program and cache results) ... (see manuals and test suite)

in principle png should be doable runtime (a bit slow) but not jpg

metapost should adapt to color settings at the tex end (preferably use "colorname" instead of hard coded numbers)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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