[NTG-context] Different colors in LaTeX and ConTeXt

Hans Hagen pragma at wxs.nl
Tue Jul 12 16:44:36 CEST 2016


On 7/12/2016 3:44 PM, Henri Menke wrote:
> Dear Hans,
>
> thanks for your reply.  Indeed there are color definitions in
> `pgfutil-context.def`.  However, they are commented out with the message
>
>> % no need for x colors (users can load it if needed)
>> ...
>> %\pgfutil at definecolor{gray}{gray}{0.5}
>
> If I add
>
>> \csname pgfutil at definecolor\endcsname{gray}{gray}{0.5}
>
> to my document the gray shows up fine.  So that's for sure a feasible
> workaround.
>
> Can you comment on the phrase »no need for x colors (users can load it
> if needed)«?  I'm not quite sure what it means and it suggests that
> there exists a proper solution to my color problem.

normally you want the same colors in tikz images as in context so then 
defining them in tikz is creating incompatibilities (your case is the 
reverse and a-typical)

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
-----------------------------------------------------------------


More information about the ntg-context mailing list