On 3/10/2015 12:10 PM, Norbert Melzer wrote:
I've posted the same question on TE already: http://tex.stackexchange.com/questions/232158/tikz-is-colored-despite-having...
Text of the question:
In the following MWE I get a red square, but I want it to be gray, as in the also provided LaTeX-document:
```tex % ConTeXt MWE \setupcolors[state=stop] \usemodule[tikz]
\starttext \tikz{\draw[color=red,fill] (0,0) rectangle (1,1)} \stoptext ```
``` % LaTeX-document wich does what I want \PassOptionsToPackage{gray}{xcolor} \documentclass{article} \usepackage{tikz} \begin{document} \tikz{\draw[color=red,fill] (0,0) rectangle (1,1)} \end{document} ```
The state=stop will only affect tikz when it uses the context color handling. One of the relevant status variables is: \c_colo_enabled \ifcase\c_colo_enabled yes \else no \fi assuming that _ is a character ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------