From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10663 invoked from network); 8 Jun 2023 18:38:16 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 8 Jun 2023 18:38:16 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 091E41C239A; Thu, 8 Jun 2023 20:37:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 K15RFga04cIA; Thu, 8 Jun 2023 20:37:36 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3213E1C3473; Thu, 8 Jun 2023 20:37:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AA4841C3473 for ; Thu, 8 Jun 2023 20:37:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 H2mTIeMLDiEu for ; Thu, 8 Jun 2023 20:37:29 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=77.238.177.32; helo=sonic310-11.consmr.mail.ir2.yahoo.com; envelope-from=broumpf-c@yahoo.com; receiver= Received: from sonic310-11.consmr.mail.ir2.yahoo.com (sonic310-11.consmr.mail.ir2.yahoo.com [77.238.177.32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D7C5D1C239A for ; Thu, 8 Jun 2023 20:37:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686249448; bh=mCI/kROgEHlLEMiq8lNqYIxqelPvl+/SOHmV25lKW14=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To; b=ilq6fJ/P4Y4cxWeKNfM7FrnRw/NC+uQ7p8Z2Bg3DFMCfwVDeYUl73q4gVDJdicSqprIeRWhx+VfqBcKDcy0yj69hyCpzYF8ii7QqRXsN+EcmquQWXeGBW62utj294KuKEs3zkrCAbtpJLm2UxW2BMTBXPEFHoNXDuiGlmtROWKCJ/OWFxUDmRUZd5zfuR8LE2M6jiv9nLuTKnCa+h8xYfPJPAsKPJiQ58S9J1nF5lf7zFhSUXoFqEHdUACVzbMORhMs8+TiluLuWCVmC2zyAPn77DsWJihC2NLg3k5DA1pUqrdZ4qCpoywV8Jv3ZLIBfOJsnHDzMJGsuClNBmJxFpg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686249448; bh=WsDWDlvgFjavyUIuIHt1dVgABt+A/azBhb4bMLJ+nU4=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=dB6STYZOENErMpTOw5oLwNfZxhngwGTqFMVB/wr6UiOuRta83yyz5BpFuyFFD3lOOoeGV5YbmqlLXqY9zEU25TisjVwnPQyfy+QdO9N0olHHeF+8U1EJTTv9Fpe1XExhxu95P5swcq5goMGKPCIsCHzyt9ENwSJWHtHzAsO4hoVvXhiy03XzWLPWVoq2mjV7T53NpRhhZz/aCDAlBrQgjySyN1UrStOr177Cb6lgOCK11/2qvo1bTpxOPhk7+JilWNCFdKiZEUXF/cY04OWHef2OhvGmMvy/pHw6wIRBhJQ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nWK9XpF_wvM4W_uXeiuuQ4tjpd7ctL 2wNvne5tRMajrjexz6I6cHcLlX.j1VUd8rf0ESaPwGpmSYhHGRlHiI_ulC8Xyo_Pn2CvnA5lWaDn jTyvfPYzg9hkvqaSWxZOQe1SpO4H2FDiCzeyCgybi3a64a8QPA0duuiA_eST0v3jHYfwf.gj8Yp7 yFXD1rqb6y9HyvrOayZ.8DrE- X-Sonic-MF: X-Sonic-ID: 4f719098-9c40-4a91-8d04-52b7ab8d2fc1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Thu, 8 Jun 2023 18:37:28 +0000 Date: Thu, 8 Jun 2023 18:37:23 +0000 (UTC) To: ntg-context@ntg.nl Message-ID: <939972081.2642279.1686249443206@mail.yahoo.com> In-Reply-To: References: MIME-Version: 1.0 X-Mailer: WebService/1.1.21516 YMailNodin Subject: Re: [NTG-context] TiKz with LMTX X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Jig=C3=A9_via_ntg-context?= Reply-To: mailing list for ConTeXt users Cc: =?UTF-8?Q?Jig=C3=A9?= Content-Type: multipart/mixed; boundary="===============6921863242791172076==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============6921863242791172076== Content-Type: multipart/alternative; boundary="----=_Part_2642278_1870834610.1686249443205" ------=_Part_2642278_1870834610.1686249443205 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks a lot Aditya. The very simple TikZ example with the cross works. The more complex example with the trigonometric circle from the pgf manual, quoted in https://wiki.contextgarden.net/TikZ , does not compile unless you also comment out or find(n,"pdftex") in line 181 of the mtx-install-modules.lua file before doing mtxrun --script install-modules --install tikz but I could guess that from a: Driver file ``pgfsys-pdftex.def'' not found.. message Thanks again Jean-Guillaume Le jeudi 8 juin 2023 =C3=A0 12:28:34 UTC+2, a = =C3=A9crit : Date: Mon, 5 Jun 2023 22:32:37 -0400 (EDT) From: Aditya Mahajan To: Aditya Mahajan via ntg-context Subject: Re: [NTG-context] TiKz with LMTX Message-ID: Content-Type: text/plain; charset=3D"iso-8859-15" On Mon, 5 Jun 2023, Aditya Mahajan via ntg-context wrote: > On Sun, 4 Jun 2023, Jig? via ntg-context wrote: > > > > $ mkdir ~/.local/share/context > > $ cd ~/.local/share/context > > $ wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip > > $ unzip context-linux-64.zip > > $ sh install.sh > > $ rm context-linux-64.zip > > $ cd ~/.local/share/context/tex > > $ mtxrun --script install-modules --list > > $ mtxrun --script install-modules --install tikz > > (And for good measure, I later did `mtxrun --script install-modules --i= nstall all`) > > > > $ cd my-working-directory > > $ vi some-sample-context-file.tex > > $ export PATH=3D/home/myname/.local/share/context/tex/texmf-linux-64/bi= n:$PATH > > $ context some-sample-context-file.tex > > > > Did I miss anything? It works just fine. > > On a new machine and pgfsys-luatex.def is missing for me as well. I'll tr= y to check what is going on. This was a bit crazy to track down. Here is the fix: In line 180 of mtx-install-modules.lua, comment the line =C2=A0 =C2=A0 =C2=A0 =C2=A0 or find(n,"luatex") Otherwise, the file =C2=A0 =C2=A0 tex/generic/pgf/systemlayer/pgfsys-luatex.def is not extracted from the tikz.zip! I don't know why OP and I (both on archlinux) were the only ones who had pg= fsys-luatex.def missing. Everyone should have been affected by this. Aditya PS: Also on line 103, it may be a good idea to change the curl call to =C2=A0 =C2=A0 curl --ssl --location mirros.ctan.org will also do a HTTP 302 redirect and without the --location= flag, curl will not follow the redirect. =20 ------=_Part_2642278_1870834610.1686249443205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks a lot Aditya.

The very simple TikZ examp= le with the cross works.
The more complex example with the trigonometric= circle from the pgf manual,
quoted in https://wiki.contextgarden.net/Ti= kZ , does not compile
unless you also comment out
or find(n,"= ;pdftex")
in line 181 of the mtx-install-modules.lua file
before= doing mtxrun --script install-modules --install tikz
but I could guess = that from a:
Driver file ``pgfsys-pdftex.def'' not found..message

Thanks again
Jean-Guillaume


Le jeudi 8 juin = 2023 =C3=A0 12:28:34 UTC+2, <ntg-context-request@ntg.nl> a =C3=A9crit= :

Date: Mon, 5 Jun 2023 22:32:37 -0400 (EDT)
From: Aditya Mahaja= n <adityam@umich.edu>
To: Aditya Mahajan via ntg-context <ntg-c= ontext@ntg.nl>
Subject: Re: [NTG-context] TiKz with LMTX
Message-I= D: <p3630276-r829-9118-17n5-12242rq53878@hzvpu.rqh>
Content-Type: = text/plain; charset=3D"iso-8859-15"

On Mon, 5 Jun 2023, Ad= itya Mahajan via ntg-context wrote:

> On Sun, 4 Jun 2023, Jig? vi= a ntg-context wrote:
>
>
> > $ mkdir ~/.local/share/co= ntext
> > $ cd ~/.local/share/context
> > $ wget https://= lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
> > $ unzip = context-linux-64.zip
> > $ sh install.sh
> > $ rm context= -linux-64.zip
> > $ cd ~/.local/share/context/tex
> > $ m= txrun --script install-modules --list
> > $ mtxrun --script instal= l-modules --install tikz
> > (And for good measure, I later did `m= txrun --script install-modules --install all`)
> >
> > $ = cd my-working-directory
> > $ vi some-sample-context-file.tex
&= gt; > $ export PATH=3D/home/myname/.local/share/context/tex/texmf-linux-= 64/bin:$PATH
> > $ context some-sample-context-file.tex
> &g= t;
> > Did I miss anything? It works just fine.
>
> On= a new machine and pgfsys-luatex.def is missing for me as well. I'll tr= y to check what is going on.

This was a bit crazy to track down. Her= e is the fix:

In line 180 of mtx-install-modules.lua, comment the li= ne

=C2=A0 =C2=A0 =C2=A0 =C2=A0 or find(n,"luatex")

= Otherwise, the file

=C2=A0 =C2=A0 tex/generic/pgf/systemlayer/pgfsys= -luatex.def

is not extracted from the tikz.zip!

I don't k= now why OP and I (both on archlinux) were the only ones who had pgfsys-luat= ex.def missing. Everyone should have been affected by this.

Aditya

PS: Also on line 103, it may be a good idea to change the curl ca= ll to

=C2=A0 =C2=A0 curl --ssl --location

mirros.ctan.org wil= l also do a HTTP 302 redirect and without the --location flag, curl will no= t follow the redirect.

=20 ------=_Part_2642278_1870834610.1686249443205-- --===============6921863242791172076== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________ --===============6921863242791172076==--