From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106306 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Luca Donetti Newsgroups: gmane.comp.tex.context Subject: Re: mtxrun Date: Sat, 15 Feb 2020 15:48:00 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7875921206840248782==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="118808"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 15 15:48:31 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 1j2ykA-000UpC-U6 for gctc-ntg-context-518@m.gmane-mx.org; Sat, 15 Feb 2020 15:48:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7774A181DAB; Sat, 15 Feb 2020 15:48:14 +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 1fyb8AdHxfNA; Sat, 15 Feb 2020 15:48:13 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 94D90181DBB; Sat, 15 Feb 2020 15:48:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 147CF181DB3 for ; Sat, 15 Feb 2020 15:48:13 +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 4h0Pvfa7_ywd for ; Sat, 15 Feb 2020 15:48:12 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.42; helo=mail-wr1-f42.google.com; envelope-from=donetti@gmail.com; receiver= Original-Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 88488181DAB for ; Sat, 15 Feb 2020 15:48:12 +0100 (CET) Original-Received: by mail-wr1-f42.google.com with SMTP id t3so14421818wru.7 for ; Sat, 15 Feb 2020 06:48:12 -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=5pdkMo9j0aPHjwuLmSHHbewhpgkhQn3B637cUKZhENo=; b=Y2yv56Dusgufc3NUwJPphyPCuX+0dvcCZtdMnxzosGgPdz/7IjQorSAemK0VJ7Wizq mGT9gQ9djC0LU68JnUTCqFpaFLjaMaf/ucOauxby7iclOj0XtPG6NMG02kRUv6Sj1bwW FUFvYhAVHIjcA1qTxwgsWDw0aEAzm/Hw6YI0YaJO94ZBCLxSaGG21UQfsRq5MzqTzMMD e+kVY2swU+TOW3cISFE1hpCyLXAb605nRCWjhBf65alKd9QKGHcfB4zFPehKQPixwvHM aNvrT6YzNgjdwlC4QTNY37WFBs4wNLyv+dLr+dPQQD8l7zhZLg23hq8hCxBV4Ke2F6Lx 1niA== 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=5pdkMo9j0aPHjwuLmSHHbewhpgkhQn3B637cUKZhENo=; b=fEPj+On4QTUznijU0zb8dthQ+zYPMlQpj4s1HB1F3wiZRJLEt8Li/vKX8PubK+EJdN /l48tU2Tsn0V23fim/5smRFvum6Yl1qvH2cAdXL55lhTqhTcQp/vJYSFh4zV7yt9N2Eq silYf5mpYTNeTvDbhZj4XUrQOQgPZtMZcNGxEtsZDlbCfQOPPAQBLbCtXYs0rjlO8KVc QY2e0XsnA+Vu/bKNRFVevfnvFd9udE0d713o7bKH324vFZSLGYSYfWAHug6TNS/+2Nfa oqn19JfWUueD11z+dCBLYCeysNgg0ASGDujc/BZ4xsiVJmZ2jjesF1VX5GOECM5twwfm Y44A== X-Gm-Message-State: APjAAAXn2stMIXd0S6ihR4or3NqrwTc7MqjV2h2zgRO753FPQYu8VsHp BJbBW4GYJpZ1GHlEb4zWcfV+js5iCDa/UFRRbtaFeQ== X-Google-Smtp-Source: APXvYqxvRtNKDNvXy5fkz1hAOTtSQnIT5OC9/uG+O24VSovCeKyNc2vwxZVcL4OgyWyy7X+/6FAaFtEWmWS3Egam7LA= X-Received: by 2002:a5d:55c1:: with SMTP id i1mr11232439wrw.347.1581778091770; Sat, 15 Feb 2020 06:48:11 -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:106306 Archived-At: --===============7875921206840248782== Content-Type: multipart/alternative; boundary="000000000000460807059e9e69ae" --000000000000460807059e9e69ae Content-Type: text/plain; charset="UTF-8" > Hi Luca, > > > 1) always writing the full path of the correct executable, > > I don't know which operating system you're using. On linux instead of > writing > the full path I'm using the command "alias" in my ".bashrc" file. So, > Adityas > proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes: > > alias context='~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogenerate > --script > context' > with 'context-lmtx' being the directory, where I installed context. > With this you invoke your context file with "context your-file.tex" > I cancelled all context stuff in my PATH variable. Don't forget to 'source > ~/.bashrc' > afterwards. > > Hi Rudolf, thank you for your suggestion. I'm on linux but I'd prefer not to use this method, because I use context both from the command line and from my editor (emacs with auctex) and I have scripts that change my environment to be able to switch between different context versions (lmtx, texlive, ...). In any case, I'll think about this solution and it could be useful to other people, too. LD --000000000000460807059e9e69ae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Luca,

> 1) always writing the full path of the correct executable,

I don't know which operating system you're using. On linux instead = of writing
the full path I'm using the command "alias" in my ".bash= rc" file. So, Adityas
proposal on mtxrun (Date: Wed, 12 Feb 2020 00:24:21 -0500 (EST)) becomes:
alias context=3D'~/context-lmtx/tex/texmf-linux-64/bin/mtxrun --autogen= erate --script
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 context'
with 'context-lmtx' being the directory, where I installed context.=
With this you invoke your context file with "context your-file.tex&quo= t;
I cancelled all context stuff in my PATH variable. Don't forget to '= ;source ~/.bashrc'
afterwards.

=C2=A0
Hi Rudolf, thank you for your sugges= tion.
I'm on linux but I'd prefer not to use this method= , because I use context both from the command line and from my editor (emac= s with auctex) and I have scripts that change my environment to be able to = switch between different context versions (lmtx, texlive, ...). In any case= , I'll think about this solution and it could be useful to other people= , too.

LD
--000000000000460807059e9e69ae-- --===============7875921206840248782== 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== --===============7875921206840248782==--