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