ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Update setpath to set the path
Date: Mon, 10 May 2021 03:00:28 -0400 (EDT)	[thread overview]
Message-ID: <nycvar.YAK.7.78.908.2105100243030.173213@nqv-guvaxcnq> (raw)
In-Reply-To: <CAANrE7pq+HfjK0KgGULCGkNXpNjXySLv9y0W_voWiL5j46G9nA@mail.gmail.com>

On Sun, 9 May 2021, Thangalin wrote:

> Thoughts on updating the setpath.bat file to persist setting the path?
> 
> Here's an updated version that sets the system environment variable while
> preserving the existing unexpanded PATH value:
> 
> [....] 
>
> The reason for this change is because the Windows installation instructions
> (on the wiki) are incomplete: technically, the user must run setpath.bat
> for each new session. 

This is how setuptex works on linux as well. 

> This implies that any third-party program that wants
> to make use of ConTeXt on Windows would have to communicate said fact to
> the user, or let the user set the full path to ConTeXt within the
> third-party program. Both of these can be avoided by persisting the PATH
> setting across sessions.

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. 

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...

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2021-05-10  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 19:14 Thangalin
2021-05-09 23:50 ` Thangalin
2021-05-10  7:00 ` Aditya Mahajan [this message]
2021-05-10  7:18   ` Thangalin
2021-05-10  7:40     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.78.908.2105100243030.173213@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).