From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95419 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Different colors in LaTeX and ConTeXt Date: Tue, 12 Jul 2016 11:07:28 -0400 (EDT) Message-ID: References: <5784DA25.4000206@gmail.com> <1b9dbb52-06c7-043c-9855-f13179f49a9f@wxs.nl> <5784F432.8010301@gmail.com> <959a3c5c-c11a-d8f9-f031-05f6b128313e@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-2030897342-1468336050=:5341" X-Trace: ger.gmane.org 1468336116 5523 80.91.229.3 (12 Jul 2016 15:08:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jul 2016 15:08:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 12 17:08:22 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMzII-0003gF-IB for gctc-ntg-context-518@m.gmane.org; Tue, 12 Jul 2016 17:08:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C439D117AA; Tue, 12 Jul 2016 17:07:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IX5LeEI-xFjF; Tue, 12 Jul 2016 17:07:46 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 29DDA117AB; Tue, 12 Jul 2016 17:07:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D75B5117A9 for ; Tue, 12 Jul 2016 17:07:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HdrNCyLuW87t for ; Tue, 12 Jul 2016 17:07:43 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 182C1117A7 for ; Tue, 12 Jul 2016 17:07:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1468336050; bh=vnQ0wegviQ8jMOlxs7r2hgmukYbTYSWln02h16gP6+k=; h=Date:From:To:Subject:In-Reply-To:References; b=DD2wSVCB/YQtu/T29jxBaxGGcia2xBjiXtTXf1Ne72IKrv3PhX3K/R+H3znbuFV8p Ubg+ihquxiWjBFvjFnzHV7YnVW2Twx27Y9jX4XCc5RPksRlYLUGnT5Z8q+HZAhcqKC BNtg0SZoaKbA5TN2vXZmK6nzLsFGjv823V5Wdk9lV1ubDY1/s35fH80yEU83TLejgV v96JJ7IFlAtJYzsNCooQAQOodZsF66vALgwG6O2MszlWgu8eA7cbE4gxP9Gs9xW9Hn N/4ajhG7XpgmCHc7LVk44SlByf4z+oXb3TX2h/Sh77xoPcLv0hzj7xdqOamArWyRFj 18Da7M6OqEZGQ== Authentication-Results: hellskitchen.mr.itd.umich.edu; iprev=permerror policy.iprev=135.0.221.172 (unknown); auth=pass smtp.auth=adityam Original-Received: FROM [192.168.0.14] (unknown [135.0.221.172]) By hellskitchen.mr.itd.umich.edu ID 578507B2.9FAFB.11617; Authuser adityam; Tue, 12 Jul 2016 11:07:30 -0400 In-Reply-To: <959a3c5c-c11a-d8f9-f031-05f6b128313e@wxs.nl> User-Agent: Alpine 2.02 (OSX 1266 2009-07-14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95419 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-2030897342-1468336050=:5341 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 12 Jul 2016, Hans Hagen wrote: > 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@definecolor{gray}{gray}{0.5} >> >> If I add >> >>> \csname pgfutil@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 =C2=BBno need for x colors (users can load= it >> if needed)=C2=AB? 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=20 > defining them in tikz is creating incompatibilities (your case is the=20 > reverse and a-typical) However, without such redefinitions, tikz does not understand ConTeXt=20 colors. I use a similar workaround in my documents as well. Perhaps, one could define a macro `\enabletikzcolors[...list..]` that will= =20 do the appropriate translations. Aditya --0-2030897342-1468336050=:5341 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --0-2030897342-1468336050=:5341--