ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Different colors in LaTeX and ConTeXt
Date: Tue, 12 Jul 2016 13:53:09 +0200	[thread overview]
Message-ID: <5784DA25.4000206@gmail.com> (raw)

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

             reply	other threads:[~2016-07-12 11:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12 11:53 Henri Menke [this message]
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

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=5784DA25.4000206@gmail.com \
    --to=henrimenke@gmail.com \
    --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).