On Mon, 05 Nov 2012 18:46:18 +0100, Hans Hagen wrote:
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", homed
> 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
So noted at http://wiki.contextgarden.net/Mtxrun (where there is also
the argument reference of each subscript, and space for people to
document them further, by the w
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("USERP
Hello,
I can answer just the first point -
On Mon, 05 Nov 2012 00:15:17 +0100, Sietse Brouwer wrote:
Lukáš wrote:
it seems that Ctx [re]defines the system variable HOME on its run
Did some digging, and indeed it does. This is what happens, if I read
the code correctly (lines 11681-11696 of
Lukáš wrote:
> it seems that Ctx [re]defines the system variable HOME on its run
Did some digging, and indeed it does. This is what happens, if I read
the code correctly (lines 11681-11696 of context/bin/mtxrun):
* `homedir` is read from the environment variable USERPROFILE on
Windows, and from HO
On Sat, 03 Nov 2012 12:43:26 +0100, Sietse Brouwer wrote:
it seems that Ctx [re]defines the system variable HOME on its run;
This is not an answer, but a guess: Could it be that your interactive
shell uses one setting, and the non-interactive shell uses another?
I'm using the windows defaul
> it seems that Ctx [re]defines the system variable HOME on its run;
This is not an answer, but a guess: Could it be that your interactive
shell uses one setting, and the non-interactive shell uses another?
I'm only guessing here, I don't know much about Windows
administration; I just remember bei
Hello,
it seems that Ctx [re]defines the system variable HOME on its run; compare:
- command line:
"
C:\Lukas\Jobs\HubI-ISK.DSP\SO_210\Statics.Tx>set home
Home=C:\Lukas
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\LPR
"
- and result of:
t-Home.mkiv
\starttext
\directlua{context(os.get