From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106802 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:07:01 -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-37034537-1586383623=:1720571" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90531"; 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:07:27 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 1jMIr0-000NQI-3R for gctc-ntg-context-518@m.gmane-mx.org; Thu, 09 Apr 2020 00:07:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 58B8F183022; Thu, 9 Apr 2020 00:07:10 +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 btKqWDbsVzv3; Thu, 9 Apr 2020 00:07:07 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B74C31831F1; Thu, 9 Apr 2020 00:07:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EA273183022 for ; Thu, 9 Apr 2020 00:07:06 +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 Q6ndoCyADdTG for ; Thu, 9 Apr 2020 00:07:05 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=141.211.125.12; helo=maleficent.mr.itd.umich.edu; envelope-from=adityam@umich.edu; receiver= Original-Received: from maleficent.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.125.12]) (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 59EB1181EE8 for ; Thu, 9 Apr 2020 00:07:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2016-05-12; t=1586383623; bh=P1eg+uvFS17tMm7+s+FqWsLEGnBr7bbmJraW4yNJGYI=; h=Date:From:To:Subject:In-Reply-To:References; b=dqJdwRTt1s/V29Xh+o9HJQpfqqkTl55kRushH9kn/kQGUzVTg7oTguUP5/yDn1Y0P EbK1kxTmLB2sweQf4GXaS37pCG+IoW1YeKYEpe3pTYu6xk67NAl5NqzRF1w8Ms2j8N ItLmt9uWYIh+njoX+UYwSWVCtrWzHdHRS+GRBGciKWxeJZ3A+Qv+wW2TnUGIGKkcPE VhQBbFl6kgmcQXX041UhQE8xUb6cv7MoWzibktXxBeRIX/pR6gWy2T5jvLDlfo28cI yu9feaTAKvFKwfU0PQLggUV0GGU5jptfHuehfEfZwQSf9Fvs0q2j1g6EbOlBizCVsY F019ATxQWq0Hg== Authentication-Results: maleficent.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 maleficent.mr.itd.umich.edu ID 5E8E4B07.5CC3B.31919; Authuser adityam; Wed, 08 Apr 2020 18:07:03 -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:106802 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-37034537-1586383623=:1720571 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 8 Apr 2020, Aditya Mahajan wrote: > Simpler example: Sorry, pasted the wrong thing: \usemodule[pgfplots] \starttext \starttikzpicture \startaxis \addplot {x}; \stopaxis \stoptikzpicture \stoptext > Works with LMTX 2019.12.31 but fails with the most recent LMTX (same erro= r as=20 > below) using the same pgfplots module. > > Aditya > > On Wed, 8 Apr 2020, Fabrice Couvreur wrote: > >> Hi Henri, >> Sorry ! >>=20 >> \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 >>=20 >>=20 >> tex error > tex error on line 5 in file pgfplotsbinary.data.code.t= ex: >> ! Undefined control sequence >>=20 >> l.5 ...ode`\^0=3D11 \expandafter\xdef\csname pgfp@bin@\the\counter >> \endcsname{^0 >> >> }\advance\counter by1 >> lua error: >>=20 >> ? >>=20 >>=20 >> Le mer. 8 avr. 2020 =C3=A0 12:40, Henri Menke a = =C3=A9crit : >>=20 >>> MINIMAL working example... >>>=20 >>> Cheers, Henri >>>=20 >>> On 08/04/20, 11:52, Fabrice Couvreur wrote: >>>> Hi Henri, >>>> This file works well with context but does not work with lmtx. >>>>=20 >>>> \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 >>>>=20 >>>>=20 >>>> open source > level 7, order 88, name 'pgfplotsbinary.data.code.te= x' >>>>=20 >>>> tex error > tex error on line 5 in file >>> pgfplotsbinary.data.code.tex: >>>> ! Undefined control sequence >>>>=20 >>>> l.5 ...ode`\^0=3D11 \expandafter\xdef\csname pgfp@bin@\the\counter >>>> \endcsname{^0 >>>> >>>> }\advance\counter by1 >>>> lua error: >>>>=20 >>>> ? >>>>=20 >>>>=20 >>>>=20 >>>> >>>>=20 >>>>=20 >>>> 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. >>>>=20 >>>>=20 >>>> mtx-context | fatal error: return code: 256 >>>>=20 >>>> TeX Output exited abnormally with code 1 at Wed Apr 8 11:49:56 >>>>=20 >>>>=20 >>>> Le mer. 8 avr. 2020 =C3=A0 11:21, Henri Menke a= =C3=A9crit >>> : >>>>=20 >>>>> Hi Fabrice, >>>>>=20 >>>>> Could you provide a MWE, or maybe even open an issue on the bugtracke= r? >>>>> https://github.com/pgf-tikz/pgfplots/issues >>>>>=20 >>>>> Cheers, Henri >>>>>=20 >>>>> 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 >>>>>>=20 >>>>>> tex error > tex error on line 5 in file >>>>> pgfplotsbinary.data.code.tex: >>>>>> ! Undefined control sequence >>>>>>=20 >>>>>> l.5 \catcode`\^00=3D11 \expandafter\xdef\csname pgfp@bin@\the\counte= r >>>>>> \endcsname{^0 >>>>>> >>>>>> 0}\advance\counter by1 >>>>>> lua error: >>>>>>=20 >>>>>> ? >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> >>>>>>=20 >>>>>>=20 >>>>>> 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. >>>>>>=20 >>>>>>=20 >>>>>> mtx-context | fatal error: return code: 256 >>>>>>=20 >>>>>> TeX Output exited abnormally with code 1 at Tue Apr 7 14:15:58 >>>>>>=20 >>>>>> Le mar. 7 avr. 2020 =C3=A0 04:21, Henri Menke = a >>> =C3=A9crit >>>>> : >>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> Cheers, Henri >>>>>>>=20 >>>>>>> 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' >>>>>>>>=20 >>>>>>>> tex error > tex error on line 42 in file >>>>>>>> pgfplotsbinary.data.code.tex: ! Undefined control sequence >>>>>>>>=20 >>>>>>>> l.42 \catcode`\ =3D11^^I\expandafter\xdef\csname pgfp@bin@ >>>>>>>>=20 >>>>>>>> \the\counter^^I\endcsname{^^20}\endgroup\advance\counter by1 >>>>>>>> lua error: >>>>>>>>=20 >>>>>>>> ? >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> 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. >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> mtx-context | fatal error: return code: 256 >>>>>>>>=20 >>>>>>>> TeX Output exited abnormally with code 1 at Mon Apr 6 22:19:01 >>>>>>>=20 >>>>>>>>=20 >>>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>>>> If your question is of interest to others as well, please add an >>>>> entry >>>>>>> to the Wiki! >>>>>>>>=20 >>>>>>>> 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 >>>>>>>>=20 >>>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>>> If your question is of interest to others as well, please add an >>> entry >>>>> to >>>>>>> the Wiki! >>>>>>>=20 >>>>>>> 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 >>>>>>>=20 >>>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>>>=20 >>>>>=20 >>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>> If your question is of interest to others as well, please add an >>> entry >>>>> to the Wiki! >>>>>>=20 >>>>>> 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 >>>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>=20 >>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>> If your question is of interest to others as well, please add an entr= y >>> to >>>>> the Wiki! >>>>>=20 >>>>> 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 >>>>>=20 >>>>>=20 >>> _______________________________________________________________________= ____________ >>>>>=20 >>>=20 >>>>=20 >>> _______________________________________________________________________= ____________ >>>> If your question is of interest to others as well, please add an entry >>> to the Wiki! >>>>=20 >>>> 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 >>>>=20 >>> _______________________________________________________________________= ____________ >>>=20 >>>=20 >>> _______________________________________________________________________= ____________ >>> If your question is of interest to others as well, please add an entry = to >>> the Wiki! >>>=20 >>> 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 >>>=20 >>> _______________________________________________________________________= ____________ >>>=20 > --8323329-37034537-1586383623=: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-37034537-1586383623=:1720571--