From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106848 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Lmtx + pgfplots compilation error Date: Mon, 13 Apr 2020 11:41:31 +0200 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="===============6130393487648640537==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68070"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 13 11:42: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 1jNvbn-000HaE-Mk for gctc-ntg-context-518@m.gmane-mx.org; Mon, 13 Apr 2020 11:42:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EDDA31831A6; Mon, 13 Apr 2020 11:41:54 +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 3kIBqxiovHmq; Mon, 13 Apr 2020 11:41:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 507831831B0; Mon, 13 Apr 2020 11:41:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 068E1182CEB for ; Mon, 13 Apr 2020 11:41:51 +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 4gPf_tRDfT0Q for ; Mon, 13 Apr 2020 11:41:49 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.49; helo=mail-wr1-f49.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B8CC718280F for ; Mon, 13 Apr 2020 11:41:49 +0200 (CEST) Original-Received: by mail-wr1-f49.google.com with SMTP id k11so8903710wrp.5 for ; Mon, 13 Apr 2020 02:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=s+lktv4dO/2Ch67BfTrWp+kEzHYWQ3ihRmbZ4IJfnPE=; b=DPKE6vBXHhyVoAv0dvW6Z4FR5QBcCVPoodrZFzf9YSSjN4OBEDCY9qQZX67UQDqVTz l5C30F8hN2bGmsfBJ47EQil8f9QtmRun4rGF64ieNlwDM16CJuNTk+LoF114SBfAqHHh ZOYHJ8tyu8JoT0FIMB+vvqobxhkpNyN9dOcHyAue75uTr8Zyi9hnV+y1OEbTbPyobvva Aw/CTrnd+lWiIuevFwvYavXpC6y06wFAbYSqXw8Tw9QxTyrlTshCx0MXmk4SieEDgScA WDiR7PJQcv0uRvQkZ1pSNemJF15+ww8nhf/V6XGS8JeAgbFrSQY4evUNyFhMOZiwAnAj t1SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=s+lktv4dO/2Ch67BfTrWp+kEzHYWQ3ihRmbZ4IJfnPE=; b=ZG72hGkydByts4xRjdFhhwtWAXYXw696zSBTeUXNN+QoJ2n9bED1j0MZ5hLl/tHQgr Mt0SFG+OK/wmXwur8A0nZexvMkGVoaIDXjtbrd6oAUVoLfSRb3bfO0AalqbnJX1SakRU hIvwU0b7rvZQoFEL1dT9byr8bo8rMJh4wiTs2iln7kH6S6Gk0G7cnMT6e5CesdKDbjC8 hH9sZjLdoRc72ktzMISML1W6ip9TQP/elfCD7/OPHNgliBO966Xqh9WwmprpuZZazGq8 FyJZY14PDDsrPHW9xNc98OYzIjp1GPoKtpGZTCkFqt+UHiROAci33UovCd9zR9Y73iVO wOuw== X-Gm-Message-State: AGi0PuYCkZ/93O8DZQn5YYQVt3XLUu9CBYUy1FP7xrRiOE2MP9GcyodK NZZnW2/QbxIn5m6H5/oa1HpUuckjwcp/V6CAkerVie5t X-Google-Smtp-Source: APiQypKVNJq2VfbPhllVuD3kIJxRswXV0KY/ORJt3ofKE2L9Z3Zn08cyPvWkbJ58Y+QN3xjsBI6Bvq0VuyUhwzZaEBo= X-Received: by 2002:a5d:6605:: with SMTP id n5mr17555314wru.303.1586770909054; Mon, 13 Apr 2020 02:41:49 -0700 (PDT) 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:106848 Archived-At: --===============6130393487648640537== Content-Type: multipart/alternative; boundary="0000000000005fcaa105a328e4b5" --0000000000005fcaa105a328e4b5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Sorry to restart the discussion, but I have updated my entire system and the problem remains. I used the example of Aditya. Thank you. Fabrice \usemodule[pgfplots] \starttext \starttikzpicture \startaxis \addplot {x}; \stopaxis \stoptikzpicture \stoptext 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: ? Le jeu. 9 avr. 2020 =C3=A0 00:07, Aditya Mahajan a =C3= =A9crit : > 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 > error 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.tex: > >> ! 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\counte= r > >>>> \endcsname{^0 > >>>> > >>>> }\advance\counter by1 > >>>> lua error: > >>>> > >>>> ? > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> The control sequence at the end of the top line of your error messag= e > 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 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\coun= ter > >>>>>> \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 defaul= t > >>> 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 ent= ry > >>> 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 entr= y > 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 > > _________________________________________________________________________= __________ > --0000000000005fcaa105a328e4b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
Sorry to restart the discussion, but I have updated my = entire system and the problem remains. I used the example of Aditya.
Tha= nk you.
Fabrice

\usemodule[pgfplots]
\starttext
\starttik= zpicture
=C2=A0 =C2=A0\startaxis
=C2=A0 =C2=A0 =C2=A0\addplot {x};=C2=A0 =C2=A0\stopaxis
\stoptikzpicture
\stoptext

tex error= =C2=A0 =C2=A0 =C2=A0 > tex error on line 5 in file pgfplotsbinary.data.= code.tex: ! Undefined control sequence

l.5 ...ode`\^0=3D11 =C2=A0 = =C2=A0\expandafter\xdef\csname pgfp@bin@\the\counter \endcsname{^0
=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 }\advance\counter b= y1
lua error:

?


Le=C2=A0jeu. 9 avr. 2020 =C3=A0=C2= =A000:07, Aditya Mahajan <adityam@u= mich.edu> a =C3=A9crit=C2=A0:
On Wed, 8 Apr 2020, Aditya Mahajan wrote:

> Simpler example:

Sorry, pasted the wrong thing:

\usemodule[pgfplots]

\starttext
\starttikzpicture
=C2=A0 =C2=A0\startaxis
=C2=A0 =C2=A0 =C2=A0\addplot {x};
=C2=A0 =C2=A0\stopaxis
\stoptikzpicture
\stoptext

> Works with LMTX 2019.12.31 but fails with the most recent LMTX (same e= rror 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
>>=C2=A0 \startaxis
>>=C2=A0 =C2=A0 [
>>=C2=A0 =C2=A0 =C2=A0 xlabel=3D$x$,
>> ylabel=3D{$f(x) =3D x^2 - x +4$}
>>=C2=A0 =C2=A0 ]
>>=C2=A0 =C2=A0 \addplot {x^2 - x +4};
>>=C2=A0 \stopaxis
>> \stoptikzpicture
>> \stoptext
>>
>>
>> tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> tex error on line 5 in fi= le pgfplotsbinary.data.code.tex:
>> ! Undefined control sequence
>>
>> l.5 ...ode`\^0=3D11=C2=A0 =C2=A0 \expandafter\xdef\csname pgfp@bin= @\the\counter
>> \endcsname{^0
>>
>>=C2=A0 =C2=A0 }\advance\counter by1
>> lua error:
>>
>> ?
>>
>>
>> Le mer. 8 avr. 2020 =C3=A0 12:40, Henri Menke <henrimenke@gmail.com> 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 l= mtx.
>>>>
>>>> \usemodule[pgfplots]
>>>> \usemodule[pgfpltstable]
>>>> \pgfplotsset{compat=3Dnewest}
>>>> \starttext
>>>> \starttikzpicture
>>>> \startaxis[
>>>>=C2=A0 =C2=A0 =C2=A0title=3D{\bf Relev=C3=A9 de notes chron= ologique},
>>>>=C2=A0 =C2=A0 =C2=A0ymajorgrids=3Dtrue,
>>>>=C2=A0 =C2=A0 =C2=A0grid style=3D{cyan!30},
>>>>=C2=A0 =C2=A0 =C2=A0ymin=3D0,
>>>>=C2=A0 =C2=A0 =C2=A0ymax=3D22,
>>>>=C2=A0 =C2=A0 =C2=A0xmin=3D0,
>>>>=C2=A0 =C2=A0 =C2=A0xmax=3D14,
>>>>=C2=A0 =C2=A0 =C2=A0x=3D1cm,
>>>>=C2=A0 =C2=A0 =C2=A0y=3D0.3cm,
>>>>=C2=A0 =C2=A0 =C2=A0axis x line =3Dbottom,
>>>>=C2=A0 =C2=A0 =C2=A0axis y line =3Dleft,
>>>>=C2=A0 =C2=A0 =C2=A0axis on top=3Dtrue,
>>>>=C2=A0 =C2=A0 =C2=A0axis line style =3Dvery thick,
>>>>=C2=A0 =C2=A0 =C2=A0tick align=3Doutside,
>>>>=C2=A0 =C2=A0 =C2=A0tickwidth=3D0.12cm,
>>>>=C2=A0 =C2=A0 =C2=A0tick style=3Dvery thick,
>>>>=C2=A0 =C2=A0 =C2=A0xtick=3D{\empty},
>>>>=C2=A0 =C2=A0 =C2=A0ytick=3D{0,2,...,18,20},
>>>>=C2=A0 =C2=A0 =C2=A0extra x ticks=3D{2,5,7,9,11,13},
>>>>=C2=A0 =C2=A0 =C2=A0extra x tick labels=3D{octobre,novembre= ,janvier,mars,avril, juin},
>>>>=C2=A0 =C2=A0 =C2=A0extra x tick style=3D{tick label style= =3D{rotate=3D45}},
>>>>=C2=A0 =C2=A0 =C2=A0extra tick style=3D{tick style=3D{draw= =3Dnone}},
>>>>=C2=A0 =C2=A0 =C2=A0xlabel=3D{Date},ylabel=3D{Note},
>>>>=C2=A0 =C2=A0 =C2=A0xlabel=3D{Date},ylabel=3D{Effectif}, >>>>=C2=A0 every axis x label/.style=3D{
>>>>=C2=A0 at=3D{(ticklabel* cs:1.01)},
>>>>=C2=A0 anchor=3Dwest,
>>>>=C2=A0 },
>>>>=C2=A0 every axis y label/.style=3D{
>>>>=C2=A0 at=3D{(ticklabel* cs:1.01)},
>>>>=C2=A0 anchor=3Dsouth,
>>>>=C2=A0 },
>>>>=C2=A0 samples=3D1000,
>>>> >=3Dstealth,
>>>> ]
>>>> \addplot [color=3Dgreen,only marks] coordinates {
>>>>=C2=A0 =C2=A0(1,5)
>>>>=C2=A0 =C2=A0(2,7)
>>>>=C2=A0 =C2=A0(3,5)
>>>>=C2=A0 =C2=A0(4,10)
>>>>=C2=A0 =C2=A0(5,5)
>>>>=C2=A0 =C2=A0(6,8)
>>>>=C2=A0 =C2=A0(7,10)
>>>>=C2=A0 =C2=A0(8,8)
>>>>=C2=A0 =C2=A0(9,10)
>>>>=C2=A0 =C2=A0(10,14)
>>>>=C2=A0 =C2=A0(11,18)
>>>>=C2=A0 =C2=A0(12,14)
>>>>=C2=A0 =C2=A0(13,11)
>>>> };
>>>> \stopaxis
>>>> \stoptikzpicture
>>>> \stoptext
>>>>
>>>>
>>>> open source=C2=A0 =C2=A0 =C2=A0> level 7, order 88, nam= e 'pgfplotsbinary.data.code.tex'
>>>>
>>>> tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> tex error on line= 5 in file
>>> pgfplotsbinary.data.code.tex:
>>>> ! Undefined control sequence
>>>>
>>>> l.5 ...ode`\^0=3D11=C2=A0 =C2=A0 \expandafter\xdef\csname = pgfp@bin@\the\counter
>>>> \endcsname{^0
>>>>
>>>>=C2=A0 =C2=A0 =C2=A0}\advance\counter by1
>>>> lua error:
>>>>
>>>> ?
>>>>
>>>>
>>>>
>>>> <empty file>
>>>>
>>>>
>>>> The control sequence at the end of the top line of your er= ror message was
>>>> never
>>>> \def'ed. You can just continue as I'll forget abou= t whatever was
>>> undefined.
>>>>
>>>>
>>>> mtx-context=C2=A0 =C2=A0 =C2=A0| fatal error: return code:= 256
>>>>
>>>> TeX Output exited abnormally with code 1 at Wed Apr=C2=A0 = 8 11:49:56
>>>>
>>>>
>>>> Le mer. 8 avr. 2020 =C3=A0 11:21, Henri Menke <henrimenke@gmail.com= > a =C3=A9crit
>>> :
>>>>
>>>>> Hi Fabrice,
>>>>>
>>>>> Could you provide a MWE, or maybe even open an issue o= n 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 unders= tood. I now have the
>>>>>> following message :
>>>>>> Thank you
>>>>>> Fabrice
>>>>>>
>>>>>> tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> tex error= on line 5 in file
>>>>> pgfplotsbinary.data.code.tex:
>>>>>> ! Undefined control sequence
>>>>>>
>>>>>> l.5 \catcode`\^00=3D11 \expandafter\xdef\csname pg= fp@bin@\the\counter
>>>>>> \endcsname{^0
>>>>>>
>>>>>>=C2=A0 =C2=A0 0}\advance\counter by1
>>>>>> lua error:
>>>>>>
>>>>>> ?
>>>>>>
>>>>>>
>>>>>>
>>>>>> <empty file>
>>>>>>
>>>>>>
>>>>>> 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 for= get about whatever was
>>>>> undefined.
>>>>>>
>>>>>>
>>>>>> mtx-context=C2=A0 =C2=A0 =C2=A0| fatal error: retu= rn code: 256
>>>>>>
>>>>>> TeX Output exited abnormally with code 1 at Tue Ap= r=C2=A0 7 14:15:58
>>>>>>
>>>>>> Le mar. 7 avr. 2020 =C3=A0 04:21, Henri Menke <= henrimenke@gmail.= com> a
>>> =C3=A9crit
>>>>> :
>>>>>>
>>>>>>> The problem is that pgfplots uses the ^^ synta= x to access
>>> characters
>>>>> but
>>>>>>> this relies on ^ having catcode 7 which is not= the case by default
>>> in
>>>>>>> ConTeXt.=C2=A0 I had a similar issue in PGF be= fore and that was fixed by
>>>>> just
>>>>>>> replacing the ^^ syntax with the ascii code co= nstants 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=C2=A0 =C2=A0 =C2=A0> level = 9, order 92, name
>>>>> 'pgfplotsbinary.data.code.tex'
>>>>>>>>
>>>>>>>> tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> t= ex 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\a= dvance\counter by1
>>>>>>>> lua error:
>>>>>>>>
>>>>>>>> ?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> <empty file>
>>>>>>>>
>>>>>>>>
>>>>>>>> The control sequence at the end of the top= line of your error
>>>>> message was
>>>>>>>> never
>>>>>>>> \def'ed. You can just continue as I= 9;ll forget about whatever was
>>>>>>> undefined.
>>>>>>>>
>>>>>>>>
>>>>>>>> mtx-context=C2=A0 =C2=A0 =C2=A0| fatal err= or: return code: 256
>>>>>>>>
>>>>>>>> TeX Output exited abnormally with code 1 a= t Mon Apr=C2=A0 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=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net
>>>>>>>> archive=C2=A0 : ht= tps://bitbucket.org/phg/context-mirror/commits/
>>>>>>>> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgar= den.net
>>>>>>>>
>>>>>>>
>>>>>
>>> ______________________________________________________________= _____________________
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>> ______________________________________________________________= _____________________
>>>>>>> If your question is of interest to others as w= ell, please add an
>>> entry
>>>>> to
>>>>>>> the Wiki!
>>>>>>>
>>>>>>> maillist : ntg-context@ntg.nl /
>>>>>>> http://www.ntg.nl/mailman= /listinfo/ntg-context
>>>>>>> webpage=C2=A0 : http://www.pragma-ade.nl / = = http://context.aanhet.net
>>>>>>> archive=C2=A0 : https:= //bitbucket.org/phg/context-mirror/commits/
>>>>>>> wiki=C2=A0 =C2=A0 =C2=A0: 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/listinf= o/ntg-context
>>>>>> webpage=C2=A0 : http://www.pragma-ade.nl / http= ://context.aanhet.net
>>>>>> archive=C2=A0 : https://bi= tbucket.org/phg/context-mirror/commits/
>>>>>> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net<= /a>
>>>>>>
>>>>>
>>> ______________________________________________________________= _____________________
>>>>>
>>>>>
>>>>>
>>> ______________________________________________________________= _____________________
>>>>> If your question is of interest to others as well, ple= ase add an entry
>>> to
>>>>> the Wiki!
>>>>>
>>>>> maillist :
ntg-context@ntg.nl /
>>>>> http://www.ntg.nl/mailman/listinf= o/ntg-context
>>>>> webpage=C2=A0 : http://www.pragma-ade.nl / http://= context.aanhet.net
>>>>> archive=C2=A0 : https://bitbuc= ket.org/phg/context-mirror/commits/
>>>>> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net<= br> >>>>>
>>>>>
>>> ______________________________________________________________= _____________________
>>>>>
>>>
>>>>
>>> ______________________________________________________________= _____________________
>>>> 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-co= ntext
>>>> webpage=C2=A0 : http://www.pragma-ade.nl / http://con= text.aanhet.net
>>>> archive=C2=A0 : https://bitbucket.= org/phg/context-mirror/commits/
>>>> wiki=C2=A0 =C2=A0 =C2=A0: 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-co= ntext
>>> webpage=C2=A0 : http://www.pragma-ade.nl / http://context.a= anhet.net
>>> archive=C2=A0 : https://bitbucket.org/= phg/context-mirror/commits/
>>> wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
>>>
>>> ______________________________________________________________= _____________________
>>>
>_______________________________________________________________________= ____________
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/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000005fcaa105a328e4b5-- --===============6130393487648640537== 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== --===============6130393487648640537==--