[NTG-context] System variable HOME

Hans Hagen pragma at wxs.nl
Mon Nov 5 18:46:18 CET 2012


On 11/5/2012 12:15 AM, Sietse Brouwer wrote:

> (2) why would mtxrun set the variables and risk overwriting something?
> The comments suggest it is for the benefit of the cnf files, but still
> --- why overwrite?
>      ossetenv("HOME",       homedir) -- can be used in unix cnf files
>      ossetenv("USERPROFILE",homedir) -- can be used in windows cnf files

it just sets them local (for this run + subruns)

they are set just in case one has cross platform scripts (like me)

> Below: relevant code from mtxrun, lines 11681-11696

normally you can better look in a lua file in the tex/context/source 
path as that is the real source .. mtxrun is just a merge

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list