From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106735 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Compile a file embedding modules with the lmtx engine Date: Fri, 3 Apr 2020 19:21:27 +0200 Message-ID: References: <361069e8-89a7-b3d1-2021-7660c12bee1f@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3681844274231997928==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="56923"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 03 19:22:12 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 1jKQ1D-000Eg6-Vk for gctc-ntg-context-518@m.gmane-mx.org; Fri, 03 Apr 2020 19:22:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E5E6182DC2; Fri, 3 Apr 2020 19:21: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 FlF-UQgWH_mD; Fri, 3 Apr 2020 19:21:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 54DB9182FE2; Fri, 3 Apr 2020 19:21:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9FCB7182FE2 for ; Fri, 3 Apr 2020 19:21: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 FrlU7166Rmn5 for ; Fri, 3 Apr 2020 19:21:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.45; helo=mail-wm1-f45.google.com; envelope-from=fabrice1.couvreur@gmail.com; receiver= Original-Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 E5721182DC2 for ; Fri, 3 Apr 2020 19:21:36 +0200 (CEST) Original-Received: by mail-wm1-f45.google.com with SMTP id r16so7920060wmg.5 for ; Fri, 03 Apr 2020 10:21:36 -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=yZp/xkq98IAFt7aIWPkzopwUQQwse9o9tCKfLqi/LOk=; b=q5TVZpB9kGBWwAXpBG+mgkGJSeVcuB1d1WoqqJQhVU/W0Keg+G8cipPHIOCLFzDF8j CKPr1BUllOkvwCz619D0eF0yns25j3RxfWMLut/vOn+RQCwcBIdkPhPwKQMFB1me+DBO SE0AGNn5D2hKhJdGZyClW7oT4OxdTVBebcouSLBOkwFbdgKw9DD9tqfGa84uoGst0C0S vvUcl4uqa/75YtUY9d102po4FALYUso0lvWAgs6x1f+iECkYMlZcmedxuWDYt3LBjV6p 2ezbThnqFRUL692MN0wZwvH8bQIus2waDb74WwLnLczIg6W6kvZqkYfwleeqlFF8HYTM TrHQ== 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=yZp/xkq98IAFt7aIWPkzopwUQQwse9o9tCKfLqi/LOk=; b=IkwkwKFgxQSGiNxInQSOAAfDgDr0hQ0jiL4f4iflIw9eKmMFb9uvVWf1FMJoOeuAbD 7g/PvG5xTorWmeTiwNwFmUAB6LavhJwydrXl8YVT8mf5WP/ld9VEndPtBJYWYJ7/x8nG 0nArOK2j49VlAnbe2qt0rIeH5+lKxjWRfzr1I5BsXTcvROFbbRy5YpIgfc16Q2pb8005 wTUo1U6UDPTtZ7/nPZrZevdqvav3zeOrsOEnf1KzW7jkqectO7ISE/rsXf5A3qGIDIIf tKSZGtgTyF0crHDO93z2veTDxl+do9RWNckonuPriFMNyvK6pJ7rMRD9/RzJ+ryqGWmL OUzA== X-Gm-Message-State: AGi0PubzyIf4WikDdiGnOV7xPJncUcrXvWPBVGokoUTdyMsLaulACp4z Cv9b2kwmcs4++/eNWU+Y9oeBLlEqHNAurOydc2md+xx8f9U= X-Google-Smtp-Source: APiQypIH01jIp/3a1SwfrXP28jUB5db8ZUXlOYnPhED2MXXUnd3er1CeUDv00RA+7g2OF1j6FVZyx+CS2cDb7jR4lGM= X-Received: by 2002:a1c:5410:: with SMTP id i16mr9741945wmb.150.1585934496223; Fri, 03 Apr 2020 10:21:36 -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:106735 Archived-At: --===============3681844274231997928== Content-Type: multipart/alternative; boundary="00000000000048d81705a26626a2" --00000000000048d81705a26626a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I reinstalled context and lmtx, followed your instructions because I got the same error message but now I get another error message; my editor is Emacs. Thank you. Fabrice Running `LmtX' on `ESSAI' with ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ESSAI'' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' TeX Output exited abnormally with code 1 at Fri Apr 3 19:15:18 Le ven. 3 avr. 2020 =C3=A0 15:07, Pablo Rodriguez a =C3=A9cr= it : > On 4/3/20 2:18 PM, Fabrice Couvreur wrote: > > Hi, > > > > I did the installation then I copied the files and finally I did mtxrun > > --generate > > The file does not compile and I get a file where it says ERROR. > > > > viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules= / > > [viserion@archlinux texmf-modules]$ ls > > doc fonts ls-R metapost scripts source tex VERSION > > Hi Fabrice, > > I have just installed both LMTX and the ConTeXt Suite brand new. I moved > the tex/texmf-modules contents form the Suite to LMTX tex/temxf-modules. > > Your file was compiled perfectly fine. I removed the contents of > tex/texmf-modules and I got these errors: > > system > jobfiles > unknown tex file > > '/home/ousia/64ctx/tex/texmf-modules/tex/context/pgf/frontendlayer/t-tikz= .tex' > modules > 'tikz' is loaded > > tex error > tex error on line 2 in file ./a.tex: ! Undefined > control sequence > > \syst_helpers_triple_empty_two_nop \usetikzlibrary > > l.2 \usetikzlibrary > [calc] > > If you get a similar error, I would do the following: > > 1. Remove tex/texmf-cache/luatex-cache. > 2. Run "mtxrun --generate". > 3. Compile the document. > > I hope this helps, > > Pablo > -- > http://www.ousia.tk > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --00000000000048d81705a26626a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I reinstalled context and lmtx, followed your i= nstructions because I got the same error message but now I get another erro= r message; my editor is Emacs.
Thank you.
Fabrice

Running `LmtX' on `ESSAI' with ``/h= ome/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script con= text --autopdf ESSAI''
mtxrun =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0| unknown script 'context.lua' or 'mtx-context.lua'<= br>

TeX Output exited abnormally with code 1 at Fri Apr =C2=A03 19:1= 5:18

Le=C2=A0ven. 3 avr. 2020 =C3=A0=C2=A015:07, Pablo Rodriguez <<= a href=3D"mailto:oinos@gmx.es">oinos@gmx.es> a =C3=A9crit=C2=A0:
=
On 4/3/20 2:18 PM, = Fabrice Couvreur wrote:
> Hi,
>
> I did the installation then I copied the files and finally I did mtxru= n
> --generate
> The file does not compile and I get a file where it says ERROR.
>
> viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-module= s/
> [viserion@archlinux texmf-modules]$ ls
> doc =C2=A0fonts =C2=A0ls-R =C2=A0metapost =C2=A0scripts =C2=A0source = =C2=A0tex =C2=A0VERSION

Hi Fabrice,

I have just installed both LMTX and the ConTeXt Suite brand new. I moved the tex/texmf-modules contents form the Suite to LMTX tex/temxf-modules.
Your file was compiled perfectly fine. I removed the contents of
tex/texmf-modules and I got these errors:

system=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > jobfiles > unknown tex fil= e
'/home/ousia/64ctx/tex/texmf-modules/tex/context/pgf/frontendlayer/t-ti= kz.tex'
modules=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> 'tikz' is loaded

tex error=C2=A0 =C2=A0 =C2=A0 =C2=A0> tex error on line 2 in file ./a.te= x: ! Undefined
control sequence

<recently read> \syst_helpers_triple_empty_two_nop=C2=A0 \usetikzlibr= ary

l.2 \usetikzlibrary
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[calc]

If you get a similar error, I would do the following:

1. Remove tex/texmf-cache/luatex-cache.
2. Run "mtxrun --generate".
3. Compile the document.

I hope this helps,

Pablo
--
http:/= /www.ousia.tk
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________
--00000000000048d81705a26626a2-- --===============3681844274231997928== 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== --===============3681844274231997928==--