From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106295 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Luca Donetti Newsgroups: gmane.comp.tex.context Subject: Re: mtxrun Date: Fri, 14 Feb 2020 20:59:57 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5596332456085599152==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96100"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 14 21:00:24 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 1j2h8S-000OtR-KR for gctc-ntg-context-518@m.gmane-mx.org; Fri, 14 Feb 2020 21:00:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A0B1A181D4A; Fri, 14 Feb 2020 21:00:12 +0100 (CET) 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 i7G3IiiyalT5; Fri, 14 Feb 2020 21:00:11 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C22F4181D40; Fri, 14 Feb 2020 21:00:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8356B181D40 for ; Fri, 14 Feb 2020 21:00:10 +0100 (CET) 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 CtIcc26z-KcF for ; Fri, 14 Feb 2020 21:00:09 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.41; helo=mail-wm1-f41.google.com; envelope-from=donetti@gmail.com; receiver= Original-Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 A1200181D3C for ; Fri, 14 Feb 2020 21:00:09 +0100 (CET) Original-Received: by mail-wm1-f41.google.com with SMTP id g1so11192604wmh.4 for ; Fri, 14 Feb 2020 12:00:09 -0800 (PST) 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=VU5Q5h4IIjdkBII3xqDwDyt7vy9EzndD0jGyL2fWAYQ=; b=QllSKVtQv2AEcaVtojjSi4neXq1pFPQcPh6r24mQwv8KamVbfKl2iuVufEWnSLITAy 9LY/MBup1KCT3S5kWnxPvWmoO5MaVchAcK05nu0BWLdm0+QHYFNxZn+3KrR9RDbHsSIH 97QCQR8DdMPc3vk4JYpxJpdpXPSymPDAIXeNDYUSm00ywG3STbqHil4mXxREutIRAxlx 7sK9khaIWzPti4cPUmmE34xj8KEUeCO288/dlbeHu0Vwt001MUBRzn7fzzNWoApWtCPw vapM2bXxL0HpnzLJa/HJ4CMvTpLOUnFxso2FQ8zUqz7eoRiKwSK3vAcuGKJOyjDF01AP ksBw== 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=VU5Q5h4IIjdkBII3xqDwDyt7vy9EzndD0jGyL2fWAYQ=; b=tIXACAjXiTM+MCVEUsdIJCrb48mtiJ/7AnOd+DbCgsjNFe6ZJNoM0wssF7cn4F3X5Z ABoPSJOLvF81ljReafuLwmfrxOqNIiJXEyNFnCx5UNnGKcuYsBy4hzWLeQvSDROQjaKR 19xPysp1IaxFp1EF9/JXr3inPYXPGdLQ/NOJv1YVpqgxLsgda0HuQ6KpOuNeoQhK5l9s L2o7vYd99RLK/1vS686Jk5KuZt3evQ4Cnzn+z9qSUGNk7MkjcKKrPg3+PyEXPyXYlthZ aM1/jPCgVf0s65pgiahB86pQA2J4lqABq02h3UDi38tQRY1QCz8G2USOSx9wminnOCg7 qvPg== X-Gm-Message-State: APjAAAWQznbyGlagc3MC4/MjoCCypQJETIJew4nm25U1ojDC3KpUjN4U Ef5NYIm2xV2I8icVS1bpsdj0/K+OApDn9bE6Czv29T4J X-Google-Smtp-Source: APXvYqxYt5ExonRoOl34YE4ZS7+UgAME7yyCycquiC/qXSEDgxNnrmnYw+ez0Nf1HMvgoNlFRgFoyy52YQDiCiQb3s8= X-Received: by 2002:a1c:80d4:: with SMTP id b203mr6403558wmd.102.1581710408990; Fri, 14 Feb 2020 12:00:08 -0800 (PST) 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:106295 Archived-At: --===============5596332456085599152== Content-Type: multipart/alternative; boundary="00000000000010c449059e8ea717" --00000000000010c449059e8ea717 Content-Type: text/plain; charset="UTF-8" > > So I run explicitly the second one: > > ~/context-lmtx/bin/mtxrun --generate > > but I got the same error. > > This is the wrong binary. As Hans said (and also what I wrote in my > message) is that you have to run the one in > ~/context-lmtx/tex/texmf-linux-64/bin/ > > > This shows that the wrong binary is being used. You are using the binary > in /home/sam/context-lmtx/bin when you should use > /home/sam/context-lmtx/tex/texmf-linux-64/bin. > > I ran into a similar problem in the past because the installation script install.sh says the following, among other things: "If you want to run ConTeXt everywhere, you need to adapt the path, like: [lmtx path]/bin:[lmtx path]/tex/texmf-linux-64/bin:[the rest of my path]" Doing as suggested, when mtxrun is launched the first binary is used because [lmtx path]/bin comes first in the PATH. My question is then how do you usually run mtxrun: 1) always writing the full path of the correct executable, 2) avoid putting [lmtx path]/bin in PATH, 3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin in the PATH I'm asking here because option 1 is correct but not very handy, while 2) and 3) are different from what the installer says and they seemed to give other problems when I tried them. Thank you in advance, LD --00000000000010c449059e8ea717 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

> So I run explicitly the second one:
>=C2=A0 =C2=A0~/context-lmtx/bin/mtxrun --generate
> but I got the same error.

This is the wrong binary. As Hans said (and also what I wrote in my
message) is that you have to run the one in
~/context-lmtx/tex/texmf-linux-64/bin/
=C2=A0
=C2=A0
This shows that the wrong binary is being used. You are using = the binary
in /home/sam/context-lmtx/bin when you should use
/home/sam/context-lmtx/tex/texmf-linux-64/bin.


I ran into a similar problem in the pa= st because the installation script install.sh says the following, among oth= er things:
"If you want to run ConTeXt everywhere, you need = to adapt the path, like:

=C2=A0 [lmtx path]/bin:[lmtx path]/tex/texm= f-linux-64/bin:[the rest of my path]"

Doing a= s suggested, when mtxrun is launched the first binary is used because=C2=A0= [lmtx path]/bin comes first in the PATH. My question is then how do you u= sually run mtxrun:
1) always writing the full path of the cor= rect executable,
2) avoid putting [lmtx path]/bin in PATH,
=
3) putting [lmtx path]/bin _after_ [lmtx path]/tex/texmf-linux-64/bin= in the PATH

I'm asking here because optio= n 1 is correct but not very handy, while 2) and 3) are different from what = the installer says and they seemed to give other problems when I tried them= .

Thank you in advance,
LD
--00000000000010c449059e8ea717-- --===============5596332456085599152== 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== --===============5596332456085599152==--