From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92757 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Bug with ConTeXt and pgfplot library fillbetween Date: Fri, 23 Oct 2015 18:26:47 +0200 Message-ID: <562A5FC7.6050108@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1937739227==" X-Trace: ger.gmane.org 1445617683 3777 80.91.229.3 (23 Oct 2015 16:28:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 16:28:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 23 18:27:52 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZpfBs-0006Ie-Kt for gctc-ntg-context-518@m.gmane.org; Fri, 23 Oct 2015 18:27:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EF9710219 for ; Fri, 23 Oct 2015 18:27:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NkC_YixQIUly for ; Fri, 23 Oct 2015 18:27:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3D0D81022E for ; Fri, 23 Oct 2015 18:27:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DBA0101F6 for ; Fri, 23 Oct 2015 18:26:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3mjIcwj7QXug for ; Fri, 23 Oct 2015 18:26:57 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 4A7F5101E8 for ; Fri, 23 Oct 2015 18:26:52 +0200 (CEST) Original-Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t9NGQpPF025974 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 23 Oct 2015 18:26:51 +0200 Original-Received: by wicfv8 with SMTP id fv8so39334239wic.0 for ; Fri, 23 Oct 2015 09:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3+XuQvMmRtCA1rVJU5X0MgZxfySavDRDdeMt9zXpI9w=; b=GoKSCeoJ2iqr6z/8p0yNRdZRDhAiP/lG8YQ1UuKZiYwh/a8f6ZntfhZOd+aZVvaJ7/ cwV/mALllSjycPvW9Dz/ZQ1OajFdGwsK8SAKGQldaEf0YaTn9dpCGhSweCs0BAaX1ZYI 6hx6X/D3OLGhbj6JxLn116lSg2FwA1fmqMpH/JbOmGhk27/oRXpamofqmcJmo5EK1aek RQOsYd0Zf/0oJRX8vpumjRyP8j9qcA0vbhnmRfaLQHw/tfUBr+WBD4I255SriU4RQQCW +7wuLMcOiz4JFZAlOireiYGoUaInpvv+m4ByEWCYElQJlmIuztLg17zgfB+JGsKmzYGv 77CA== X-Received: by 10.194.85.75 with SMTP id f11mr5744198wjz.9.1445617610898; Fri, 23 Oct 2015 09:26:50 -0700 (PDT) Original-Received: from keima.localdomain (x2f246d7.dyn.telefonica.de. [2.242.70.215]) by smtp.googlemail.com with ESMTPSA id cc8sm23449548wjc.46.2015.10.23.09.26.49 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 23 Oct 2015 09:26:50 -0700 (PDT) User-Agent: Postbox 4.0.5 (Macintosh/20150923) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22a; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03PwEqP6p - fbd74c3aafe4 - 20151023 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::22a as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::22a; envelope-from=; helo=mail-wi0-x22a.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) 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:92757 Archived-At: This is a multi-part message in MIME format. --===============1937739227== Content-Type: multipart/alternative; boundary="------------020406020100070603030607" This is a multi-part message in MIME format. --------------020406020100070603030607 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > Aditya Mahajan > 22. Oktober 2015 um 02:52 > Hi, > > The following example fails: > > \usemodule[pgfplots] > \usepgfplotslibrary[fillbetween] > > \starttext > \startformula > \left. a \right| > \stopformula > > \stoptext > > with > > tex error > tex error on line 7 in file /private/tmp/test.tex: ! > Missing \endgroup inserted > > > \endgroup > > \Ucheckedstopdisplaymath > \stopdisplaymath ...math \Ucheckedstopdisplaymath > \par \ifvmode > \ifcase \c_s... > \strc_formulas_stop_formula ...native \v!formula } > \dostoptagged > \dostoptagge... > l.7 \stopformula > > This is a weird bug. Only \left. \right| fails; \left| \right| works > correctly. If I remove the fillbetween library, the error goes away. > > Any hints as to what is happening will be appreciated. The fillbetween library changes the catcode of the bar character. \starttext \the\catcode`| \usemodule[pgfplots] \usepgfplotslibrary[fillbetween] \the\catcode`| \stoptext You get the same error when you use \asciimode in your document. \asciimode \starttext \startformula \left. a \right| \stopformula \stoptext Wolfgang --------------020406020100070603030607 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
22= .=20 Oktober 2015 um 02:52
Hi,

The following example fails:

\usemodule[pgfplots]
\usepgfplotslibrary[fillbetween]

\starttext
\startformula
=C2=A0 \left. a \right|
\stopformula

\stoptext

with

tex error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > tex error on line = 7 in file=20 /private/tmp/test.tex: !=20 Missing \endgroup inserted

<inserted text>
\endgroup
<to be read again>
\Ucheckedstopdisplaymath
\stopdisplaymath ...math \Ucheckedstopdisplaymath
=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=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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= \par \ifvmode=20 \ifcase=20 \c_s...
\strc_formulas_stop_formula ...native \v!formula }
=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=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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= \dostoptagged=20 \dostoptagge...
l.7 \stopformula

This is a weird bug. Only \left. \right| fails; \left| \right| works =20 correctly. If I remove the fillbetween library, the error goes away.

Any hints as to what is happening will be appreciated.

The fillbetween library changes the catcode of the bar character.

\starttext

\the\catcode`|

\usemodule[pgfplots]
\usepgfplotslibrary[fillbetween]

\the\catcode`|

\stoptext


You get the same error when you use \asciimode in your document.

\asciimode

\starttext

\startformula
=C2=A0 \left. a \right|
\stopformula

\stoptext


Wolfgang
--------------020406020100070603030607-- --===============1937739227== 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= --===============1937739227==--