From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99272 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Strange behavior with TikZ Date: Sat, 7 Oct 2017 23:48:25 +0200 Message-ID: References: <6f25e5aa-7cdc-da23-f3b7-b5cd07720aa9@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3978491795589920559==" X-Trace: blaine.gmane.org 1507412966 32121 195.159.176.226 (7 Oct 2017 21:49:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Oct 2017 21:49:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 07 23:49:20 2017 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0wy8-00063Y-UT for gctc-ntg-context-518@m.gmane.org; Sat, 07 Oct 2017 23:49:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4436089172; Sat, 7 Oct 2017 23:48:39 +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 cjbhL4xxHdDl; Sat, 7 Oct 2017 23:48:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 903E189176; Sat, 7 Oct 2017 23:48:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 67C8E89176 for ; Sat, 7 Oct 2017 23:48:37 +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 oDlG8JIAuYx0 for ; Sat, 7 Oct 2017 23:48:36 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (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 35B9D89172 for ; Sat, 7 Oct 2017 23:48:26 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id q132so14870787wmd.2 for ; Sat, 07 Oct 2017 14:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=zWPXHc5saKb1mWm04U9HjibyRW6MlskmTdk7QFZoun4=; b=Cd9yotMloCBCr5acE6P42GbomWFEf6+awrHn7yqCHKYEicePgd0i6Bq6uhrY1EtVEb Ift48N2Km/sh4/jgfYzTBvlDIpHlz6rGo1EvnZv1eExm1sL3S0C3hgdnQMSg64vymQLT f7zGQJaDU9Wa9plp1s9Kq2uGrOrJTfh0Qz99ZVsplW2Wf3uybm4wL46jNQ2CLtVkXmYs sQ3lUZbn2Q/6Vi7ylDtxVqkssjP+8f9gbfByxBvKdMjSUgC0lOKqlTBN6JyUZI4tLIWy 6XvSbJqWU75xNim+9ediyLNMz0T+Ydp2nUt+f1PLVe8FIY1FpuGeKdm4qG98+8u0LxRx ne5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=zWPXHc5saKb1mWm04U9HjibyRW6MlskmTdk7QFZoun4=; b=rsLN4tNnytzD+MM/sTC1K486GRPtRR/nKD0HAN99NCVRDDOMUwYz1tITG9yvTjXu3E 19c6JWkzm2Zck4GQR7DaiXjxtwfd2M2R2Av4V1+GzDcHdVOtUir6l8gxlD7lgMpyGojU i9jqB88v4w82CMR/pWWwbBfeS+DhrAU/db862yATwKiSeZX63GAslamnRImtKsGyplSD bWzNWQpsZPvOubTlCo/56SUB8M74qKPRldRCdZCm+Xg9OUSmx3BY5hQe21CrS4ax+LXF 60Oi7n2Q7GHIvkBm6yPIUXcRiJP3joe+LWqCynQ7pNJdFvaAyh2HE+o0MmNR6LrUk+Bf wMJQ== X-Gm-Message-State: AMCzsaXeoonwW15+bnwj0n+7jfZifNJwE0eG7EQgLNwKzYIuAxQO0rY4 2CKilZ7JWkPIP7A04WoRXN5yoCHYSXlZlFCF8sbsjQ== X-Google-Smtp-Source: AOwi7QAw0TVafJapr17yO3qkHsaQK0xWbdXNWV4aRHfsniposCjbHaik4Un+Sm1XxnykDVsNBmGXiRr8rQ4QWmwjW3U= X-Received: by 10.80.174.36 with SMTP id c33mr8281303edd.191.1507412905683; Sat, 07 Oct 2017 14:48:25 -0700 (PDT) Original-Received: by 10.80.173.74 with HTTP; Sat, 7 Oct 2017 14:48:25 -0700 (PDT) In-Reply-To: <6f25e5aa-7cdc-da23-f3b7-b5cd07720aa9@wxs.nl> 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:99272 Archived-At: --===============3978491795589920559== Content-Type: multipart/alternative; boundary="94eb2c1961d0c5ee22055afbeab6" --94eb2c1961d0c5ee22055afbeab6 Content-Type: text/plain; charset="UTF-8" Hi, Thank you so much for this help, I would not have found it. Fabrice 2017-10-07 15:59 GMT+02:00 Hans Hagen : > On 10/7/2017 2:44 PM, Aditya Mahajan wrote: > >> On Sat, 7 Oct 2017, Aditya Mahajan wrote: >> >> On Sat, 7 Oct 2017, Fabrice Couvreur wrote: >>> >>> Hi Hans >>>> Sorry to insist, but I need to correct this anomaly for my documents >>>> that >>>> >>> I >>> >>>> give to students. If I compile with Context Standalone, it does not >>>> work, >>>> but maybe I do not do what you are suggesting : >>>> >>> >>> I can confirm that color leakage. It happens due to pgfplots (and not >>> tikz). >>> >> >> I use tikz/pgfplots extensively and started wondering why I don't see >> this error. Then I realized that I use a modified definition of >> starttikzpicture in my code: >> >> \define\starttikzpicture >> {\hbox\bgroup\forcecolorhack\tikzpicture} >> >> \define\stoptikzpicture >> {\endtikzpicture\egroup} >> >> >> With this definition, you code works correctly. >> > yes, i thought that was already done so someone needs to get that into the > official code base > > (btw, it seems that there is also a \stopmodule done without \startmodule > when tikz is loaded) > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA AD > > E > 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --94eb2c1961d0c5ee22055afbeab6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Thank you so much for this help, I would not have= found it.
Fabrice

2017-10-07 15:59 GMT+02:00 Hans = Hagen <pragma@wxs.nl>:
On 10/7/2017 2:44 PM, Aditya Mahajan wrote:
On Sat, 7 Oct 2017, Aditya Mahajan wrote:

On Sat, 7 Oct 2017, Fabrice Couvreur wrote:

Hi Hans
Sorry to insist, but I need to correct this anomaly for my documents that <= br>
I
give to students. If I compile with Context Standalone, it does not work, but maybe I do not do what you are suggesting :

I can confirm that color leakage. It happens due to pgfplots (and not tikz)= .

I use tikz/pgfplots extensively and started wondering why I don't see t= his error. Then I realized that I use a modified definition of starttikzpic= ture in my code:

\define\starttikzpicture
=C2=A0=C2=A0=C2=A0=C2=A0 {\hbox\bgroup\forcecolorhack\tikzpicture}

\define\stoptikzpicture
=C2=A0=C2=A0=C2=A0=C2=A0 {\endtikzpicture\egroup}


With this definition, you code works correctly.
yes, i thought that was already done so someone needs to get that into the = official code base

(btw, it seems that there is also a \stopmodule done without \startmodule w= hen tikz is loaded)

Hans


-----------------------------------------------------------------=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <= a href=3D"https://maps.google.com/?q=3DHans+Hagen+%7C+PRAGMA+AD&entry= =3Dgmail&source=3Dg">Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0tel: 038 477 53 69 | www.pragma-ade.nl | www.p= ragma-pod.nl
-----------------------------------------------------------------=
_________________________________________________________________= __________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listin= fo/ntg-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1961d0c5ee22055afbeab6-- --===============3978491795589920559== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============3978491795589920559==--