From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/111306 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Re: Update setpath to set the path Date: Mon, 10 May 2021 00:18:43 -0700 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2452053195240586607==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23356"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 10 09:19:24 2021 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 1lg0CK-0005xt-24 for gctc-ntg-context-518@m.gmane-mx.org; Mon, 10 May 2021 09:19:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6F2FF281901; Mon, 10 May 2021 09:19:03 +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 JFCMob8jjBks; Mon, 10 May 2021 09:19:00 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D2FAF2835EC; Mon, 10 May 2021 09:19:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1CD6E2835E9 for ; Mon, 10 May 2021 09:18:59 +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 zbdsHrQrOtom for ; Mon, 10 May 2021 09:18:56 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.178; helo=mail-oi1-f178.google.com; envelope-from=thangalin@gmail.com; receiver= Original-Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (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 AC7B6281901 for ; Mon, 10 May 2021 09:18:56 +0200 (CEST) Original-Received: by mail-oi1-f178.google.com with SMTP id c3so14906342oic.8 for ; Mon, 10 May 2021 00:18:56 -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=b+jqk4c7TR95AbwNJEob18CMVdu7207rK/fXXCovFhE=; b=cVig4QlihOJH0DW/rRUEwTSVxQkHnnY/sBCL2S4Z34w2nU6KO+8OHWxaU4SwIqbv/e gRBJp36yGT8fBu/riVKE3gGttqD3aratlw3TidCVVejaNYbW8oHLUL2x46rcCTLq/x0d yGVw0ekDl/fjjGz6Zwgp3G1YPT2HXVwRcyBOYnP5u7SB4UlwM/ri23oiMwpLPkIpAllG IdgQbf7kS2CiO710Wusqz1SDguizUYjSJLIE4OIHajkaS/mOs29OluUm+T8H10ekB77m FUjHUn+rLb+TMV99HHfrOtCMhskIDDsxCv7G9QsSqVesLNwn3O1rf1/HIFYytD4/lFxt lPPQ== 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=b+jqk4c7TR95AbwNJEob18CMVdu7207rK/fXXCovFhE=; b=jMZRXfkpeyUkRZ3TcfCJInKXEV1egRmvySLocFTFTyW9/n5w6ZTAotfpFRss5ZZd8M Cn/sCcqI2MivIwMclEEBSBZo0jGNyTfRC3A4XRc61kwHrXJjaBVzCjdMbENMxBxpXhbW h+aKO2INbRN4ooj8iasL81+FCR8MlSX6YGkgb28TgSZjzbB/2dR/tLWg3eBdeD4djSxY nQcB4Ai2OhGA5HYJOsenpBFEc8ScaDu+Nw9u3eQh9Hjp+E5WJsQRsqngs5vb2UCB/Omj buqMWxNHUeOkHfP/tbeflfNFmF2V2+NrDmqXgVdfnAEREM/qvo9YV/MmNTLavelP7lrd jodw== X-Gm-Message-State: AOAM5301UFRh6YnA6QMTvYo3czZX+ySsZXySKNcZrHGBvBnYgU8n1tT6 SK4LfeaR4y9upsqshFe02YoRznG4WjjRdEV5oHA5jNxfIfs= X-Google-Smtp-Source: ABdhPJwOYldf9uTTkGkbZGv9KKSfXqvdNl7CaE3ZjK+iR+tFvo0xhMUAuqAXdFdEUAGfnmpiLapFRBP8QaYw9EGrkxA= X-Received: by 2002:aca:fd05:: with SMTP id b5mr4684500oii.68.1620631134930; Mon, 10 May 2021 00:18:54 -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:111306 Archived-At: --===============2452053195240586607== Content-Type: multipart/alternative; boundary="0000000000001c095005c1f49737" --0000000000001c095005c1f49737 Content-Type: text/plain; charset="UTF-8" > One of the benefits of context minimals is that you can install multiple > versions in parallel, which allows the user to update frequently without > the risk of breaking something for long-term projects. Specifically, you > can keep a "frozen" version of context for long-term projects and install a > newer version in parallel for newer projects. > For sure! My environment looks as follows: export CONTEXT_HOME=/opt/context export PATH="$PATH:...:$CONTEXT_HOME/tex/texmf-linux-64/bin:..." The /opt/context directory is a symbolic link, which eases switching between versions: I seldom have to change the environment variables settings. So, your suggestions should be included as a separate script and not as > part of the default. Then there is the question of providing an uninstall > script as well... > Using a ConTeXt-specific environment variable (e.g., LMTX_HOME) would make uninstalling a matter of removing it from the PATH and registry (on Windows, anyway). Here are the current instructions: https://github.com/DaveJarvis/keenwrite/blob/master/docs/typesetting.md#windows Is there a way we can eliminate steps 3 - 6 for Windows installs? --0000000000001c095005c1f49737 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

One of the benefits of context minimals is that you can install multiple ve= rsions in parallel, which allows the user to update frequently without the = risk of breaking something for long-term projects. Specifically, you can ke= ep a "frozen" version of context for long-term projects and insta= ll a newer version in parallel for newer projects.
For sure! My environment looks as follows:

export CONTEXT_HOME=3D/opt/context
export PATH=3D"$PAT= H:...:$CONTEXT_HOME/tex/texmf-linux-64/bin:..."

The /opt/context directory is a symbolic link, which eases switching= between versions: I seldom have to change the environment variables settin= gs.

So, your suggestions should be included as a separate script and not as par= t of the default. Then there is the question of providing an uninstall scri= pt as well...

Using a ConTeXt-specific envir= onment variable (e.g., LMTX_HOME) would make uninstalling a matter of remov= ing it from the PATH and registry (on Windows, anyway). Here are the curren= t instructions:

Is there a way we can eliminate steps 3 -= 6 for Windows installs?
--0000000000001c095005c1f49737-- --===============2452053195240586607== 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== --===============2452053195240586607==--