ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Different colors in LaTeX and ConTeXt
@ 2016-07-12 11:53 Henri Menke
  2016-07-12 12:29 ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Henri Menke @ 2016-07-12 11:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

Dear list,

I wanted to draw some nice pictures using TikZ and pgfplots, but then I
noticed that the colors of the ticks in my pgfplots graph were unusually
bright and it looked very weird.   So I set up a test

> \usemodule[tikz]
> \starttext
> \starttikzpicture
>   \draw[help lines,very thick] (0,0) -- (1,0);
> \stoptikzpicture
> 
> \externalfigure[test-crop]
> \stoptext

where I produced test-crop.pdf from the following plain TeX sample,
which I also typeset with LuaTeX 0.95 (to make sure it's not a LuaTeX
regression).

> \input luatex85.sty
> \input tikz
> \tikzpicture
>   \draw[help lines,very thick] (0,0) -- (1,0);
> \endtikzpicture
> \bye

Attached you find the output of the ConTeXt example and you can see that
the color of the upper line (the one produced with TikZ inside ConTeXt)
has a much brighter color than the one produced with plain TeX.

I'm using ConTeXt MkIV distributed with TL 2016.

How can I adjust the colors in ConTeXt to match the ones produced by
plain TeX?  I need the adjustment in that direction, because I also have
old images produced with plain TeX/LaTeX that I'd like to seamlessly
integrate in my ConTeXt documents.

Cheers,
Henri

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 5199 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-07-13  7:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 11:53 Different colors in LaTeX and ConTeXt Henri Menke
2016-07-12 12:29 ` Hans Hagen
2016-07-12 13:44   ` Henri Menke
2016-07-12 14:44     ` Hans Hagen
2016-07-12 15:07       ` Aditya Mahajan
2016-07-12 16:03         ` Hans Hagen
2016-07-12 18:23           ` Aditya Mahajan
2016-07-12 19:39             ` Henri Menke
2016-07-12 20:01               ` Alan BRASLAU
2016-07-12 20:03               ` Hans Hagen
2016-07-12 21:17                 ` Henri Menke
2016-07-13  7:44                   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).