From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Different colors in LaTeX and ConTeXt
Date: Tue, 12 Jul 2016 14:29:20 +0200 [thread overview]
Message-ID: <1b9dbb52-06c7-043c-9855-f13179f49a9f@wxs.nl> (raw)
In-Reply-To: <5784DA25.4000206@gmail.com>
On 7/12/2016 1:53 PM, Henri Menke wrote:
> 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.
you need to figure out the default definitions in tikz then (i suppose
'help lines' is related to some color)
-----------------------------------------------------------------
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 / 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-07-12 12:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-12 11:53 Henri Menke
2016-07-12 12:29 ` Hans Hagen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b9dbb52-06c7-043c-9855-f13179f49a9f@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).