From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106801 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Lmtx + pgfplots compilation error Date: Wed, 8 Apr 2020 18:02:31 -0400 (EDT) Message-ID: References: <20200407022050.vzk5vpvcnmvicmz3@worklaptop> <20200408092051.7idbcoblzgs2jjx6@worklaptop> <20200408104000.4ge7qbx3zeffihmo@worklaptop> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1589046249-1586383353=:1720571" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="71705"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (LNX 394 2020-01-19) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 09 00:03:14 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMImv-000IXf-MN for gctc-ntg-context-518@m.gmane-mx.org; Thu, 09 Apr 2020 00:03:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 25C6E181EC8; Thu, 9 Apr 2020 00:02:42 +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 eNZqxTE_hdsc; Thu, 9 Apr 2020 00:02:40 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 37F37183022; Thu, 9 Apr 2020 00:02:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 96161181EC8 for ; Thu, 9 Apr 2020 00:02: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 W014OmjRnFDT for ; Thu, 9 Apr 2020 00:02:37 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=141.211.12.86; helo=tombraider.mr.itd.umich.edu; envelope-from=adityam@umich.edu; receiver= Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) (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 111D9180908 for ; Thu, 9 Apr 2020 00:02:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1586383354; bh=RvWRdzLhYRFmIc5mRJ62V3iICrYfD4J/qimKsPPd20Y=; h=Date:From:To:Subject:In-Reply-To:References; b=Lq5Ebjl4Ksf0DEfsu11V/LcxmAG1k29Di+ErT/X3i+vi5JWS0v7qcwqOUecZJ6k2N p8WCwUYChvdP2oqtabx5hUR8E2KtBgXY+wt5dEPYbP4SkkbZQAAQaDLfkVJsr4lwhq rKoauhGFEiC2xWsVcDSO4+4bT1UTeDun5V80oqJdfYSue6xarOwPERDqVw0Y5pEK6u fialEhX2Aa6MaACAFLYCb3aY0HYexsiP1lByXyFqNjbNYjEHPba1qKHk4UtRz8wvjr vxgPKJeu6RFWsKqJ85GN3IKUZ5O+ARMIyaWEoy1jCMlzfNIf86NJrwOYjijdBFd8zQ WCtbAUGWlVSkQ== Authentication-Results: tombraider.mr.itd.umich.edu; iprev=pass policy.iprev=198.84.255.218 (198-84-255-218.cpe.teksavvy.com); auth=pass smtp.auth=adityam Original-Received: FROM adi-thinkpad-2.local (198-84-255-218.cpe.teksavvy.com [198.84.255.218]) By tombraider.mr.itd.umich.edu ID 5E8E49F9.97BB8.5809; Authuser adityam; Wed, 08 Apr 2020 18:02:33 -0400 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:106801 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. --8323329-1589046249-1586383353=:1720571 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Simpler example: \usemodule[pgfplots] \pgfplotsset{compat=3Dnewest} \starttext \starttikzpicture \startaxis [ xlabel=3D$x$, ylabel=3D{$f(x) =3D x^2 - x +4$} ] \addplot {x^2 - x +4}; \stopaxis \stoptikzpicture \stoptext Works with LMTX 2019.12.31 but fails with the most recent LMTX (same error= =20 as below) using the same pgfplots module. Aditya On Wed, 8 Apr 2020, Fabrice Couvreur wrote: > Hi Henri, > Sorry ! > > \usemodule[pgfplots] > \pgfplotsset{compat=3Dnewest} > \starttext > \starttikzpicture > \startaxis > [ > xlabel=3D$x$, > ylabel=3D{$f(x) =3D x^2 - x +4$} > ] > \addplot {x^2 - x +4}; > \stopaxis > \stoptikzpicture > \stoptext > > > tex error > tex error on line 5 in file pgfplotsbinary.data.code.te= x: > ! Undefined control sequence > > l.5 ...ode`\^0=3D11 \expandafter\xdef\csname pgfp@bin@\the\counter > \endcsname{^0 > > }\advance\counter by1 > lua error: > > ? > > > Le mer. 8 avr. 2020 =C3=A0 12:40, Henri Menke a = =C3=A9crit : > >> MINIMAL working example... >> >> Cheers, Henri >> >> On 08/04/20, 11:52, Fabrice Couvreur wrote: >>> Hi Henri, >>> This file works well with context but does not work with lmtx. >>> >>> \usemodule[pgfplots] >>> \usemodule[pgfpltstable] >>> \pgfplotsset{compat=3Dnewest} >>> \starttext >>> \starttikzpicture >>> \startaxis[ >>> title=3D{\bf Relev=C3=A9 de notes chronologique}, >>> ymajorgrids=3Dtrue, >>> grid style=3D{cyan!30}, >>> ymin=3D0, >>> ymax=3D22, >>> xmin=3D0, >>> xmax=3D14, >>> x=3D1cm, >>> y=3D0.3cm, >>> axis x line =3Dbottom, >>> axis y line =3Dleft, >>> axis on top=3Dtrue, >>> axis line style =3Dvery thick, >>> tick align=3Doutside, >>> tickwidth=3D0.12cm, >>> tick style=3Dvery thick, >>> xtick=3D{\empty}, >>> ytick=3D{0,2,...,18,20}, >>> extra x ticks=3D{2,5,7,9,11,13}, >>> extra x tick labels=3D{octobre,novembre,janvier,mars,avril, juin}, >>> extra x tick style=3D{tick label style=3D{rotate=3D45}}, >>> extra tick style=3D{tick style=3D{draw=3Dnone}}, >>> xlabel=3D{Date},ylabel=3D{Note}, >>> xlabel=3D{Date},ylabel=3D{Effectif}, >>> every axis x label/.style=3D{ >>> at=3D{(ticklabel* cs:1.01)}, >>> anchor=3Dwest, >>> }, >>> every axis y label/.style=3D{ >>> at=3D{(ticklabel* cs:1.01)}, >>> anchor=3Dsouth, >>> }, >>> samples=3D1000, >>> >=3Dstealth, >>> ] >>> \addplot [color=3Dgreen,only marks] coordinates { >>> (1,5) >>> (2,7) >>> (3,5) >>> (4,10) >>> (5,5) >>> (6,8) >>> (7,10) >>> (8,8) >>> (9,10) >>> (10,14) >>> (11,18) >>> (12,14) >>> (13,11) >>> }; >>> \stopaxis >>> \stoptikzpicture >>> \stoptext >>> >>> >>> open source > level 7, order 88, name 'pgfplotsbinary.data.code.tex= ' >>> >>> tex error > tex error on line 5 in file >> pgfplotsbinary.data.code.tex: >>> ! Undefined control sequence >>> >>> l.5 ...ode`\^0=3D11 \expandafter\xdef\csname pgfp@bin@\the\counter >>> \endcsname{^0 >>> >>> }\advance\counter by1 >>> lua error: >>> >>> ? >>> >>> >>> >>> >>> >>> >>> The control sequence at the end of the top line of your error message w= as >>> never >>> \def'ed. You can just continue as I'll forget about whatever was >> undefined. >>> >>> >>> mtx-context | fatal error: return code: 256 >>> >>> TeX Output exited abnormally with code 1 at Wed Apr 8 11:49:56 >>> >>> >>> Le mer. 8 avr. 2020 =C3=A0 11:21, Henri Menke a = =C3=A9crit >> : >>> >>>> Hi Fabrice, >>>> >>>> Could you provide a MWE, or maybe even open an issue on the bugtracker= ? >>>> https://github.com/pgf-tikz/pgfplots/issues >>>> >>>> Cheers, Henri >>>> >>>> On 07/04/20, 14:22, Fabrice Couvreur wrote: >>>>> Hi Henri, >>>>> Thank you for answering me. We're entering an area that I don't >> really >>>> know. I >>>>> replaced all ^^ by ^ but I'm not sure I understood. I now have the >>>>> following message : >>>>> Thank you >>>>> Fabrice >>>>> >>>>> tex error > tex error on line 5 in file >>>> pgfplotsbinary.data.code.tex: >>>>> ! Undefined control sequence >>>>> >>>>> l.5 \catcode`\^00=3D11 \expandafter\xdef\csname pgfp@bin@\the\counter >>>>> \endcsname{^0 >>>>> >>>>> 0}\advance\counter by1 >>>>> lua error: >>>>> >>>>> ? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> The control sequence at the end of the top line of your error >> message was >>>>> never >>>>> \def'ed. You can just continue as I'll forget about whatever was >>>> undefined. >>>>> >>>>> >>>>> mtx-context | fatal error: return code: 256 >>>>> >>>>> TeX Output exited abnormally with code 1 at Tue Apr 7 14:15:58 >>>>> >>>>> Le mar. 7 avr. 2020 =C3=A0 04:21, Henri Menke = a >> =C3=A9crit >>>> : >>>>> >>>>>> The problem is that pgfplots uses the ^^ syntax to access >> characters >>>> but >>>>>> this relies on ^ having catcode 7 which is not the case by default >> in >>>>>> ConTeXt. I had a similar issue in PGF before and that was fixed by >>>> just >>>>>> replacing the ^^ syntax with the ascii code constants from >>>>>> syst-ini.mkxl. >>>>>> >>>>>> Cheers, Henri >>>>>> >>>>>> On 06/04/20, 22:23, Fabrice Couvreur wrote: >>>>>>> Hi, >>>>>>> Still with the idea of using lmtx, I get a compilation error >> when I >>>> use >>>>>>> pgfplots. >>>>>>> Thank you. >>>>>>> Fabrice >>>>>>> #################################################### >>>>>>> open source > level 9, order 92, name >>>> 'pgfplotsbinary.data.code.tex' >>>>>>> >>>>>>> tex error > tex error on line 42 in file >>>>>>> pgfplotsbinary.data.code.tex: ! Undefined control sequence >>>>>>> >>>>>>> l.42 \catcode`\ =3D11^^I\expandafter\xdef\csname pgfp@bin@ >>>>>>> >>>>>>> \the\counter^^I\endcsname{^^20}\endgroup\advance\counter by1 >>>>>>> lua error: >>>>>>> >>>>>>> ? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> The control sequence at the end of the top line of your error >>>> message was >>>>>>> never >>>>>>> \def'ed. You can just continue as I'll forget about whatever was >>>>>> undefined. >>>>>>> >>>>>>> >>>>>>> mtx-context | fatal error: return code: 256 >>>>>>> >>>>>>> TeX Output exited abnormally with code 1 at Mon Apr 6 22:19:01 >>>>>> >>>>>>> >>>>>> >>>> >> ________________________________________________________________________= ___________ >>>>>>> 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://context.aanhet.net >>>>>>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>>>>>> wiki : http://contextgarden.net >>>>>>> >>>>>> >>>> >> ________________________________________________________________________= ___________ >>>>>> >>>>>> >>>>>> >>>> >> ________________________________________________________________________= ___________ >>>>>> 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://context.aanhet.net >>>>>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>>>>> wiki : http://contextgarden.net >>>>>> >>>>>> >>>> >> ________________________________________________________________________= ___________ >>>>>> >>>> >>>>> >>>> >> ________________________________________________________________________= ___________ >>>>> 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://context.aanhet.net >>>>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>>>> wiki : http://contextgarden.net >>>>> >>>> >> ________________________________________________________________________= ___________ >>>> >>>> >>>> >> ________________________________________________________________________= ___________ >>>> 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://context.aanhet.net >>>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>>> wiki : http://contextgarden.net >>>> >>>> >> ________________________________________________________________________= ___________ >>>> >> >>> >> ________________________________________________________________________= ___________ >>> 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://context.aanhet.net >>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>> wiki : http://contextgarden.net >>> >> ________________________________________________________________________= ___________ >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> the Wiki! >> >> maillist : ntg-context@ntg.nl / >> http://www.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ________________________________________________________________________= ___________ >> > --8323329-1589046249-1586383353=:1720571 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --8323329-1589046249-1586383353=:1720571--