Angus Leeming wrote:

> At the moment, Mac users have their PATH modified so:
> 
>  string oldpath = GetEnv("PATH");
>  string newpath = "PATH=" + oldpath + ":" + binpath + ":";
>  newpath +=
>
"/sw/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current";
>  PutEnv(newpath);
>  lyxerr[Debug::INIT] << "Running from LyX/Mac bundle. "
>   "Setting PATH to: " << GetEnv("PATH") << endl;
> 
> I'm not convinced that the globally accessibly PATH should be altered in
> this way. Similarly, why would any Windows program other than LyX need to
> know about J:\MinSys\bin ? If they did, of course, then I'd be quite happy
> to make the global change.

I assumed that the contents of J:\MinSys\bin would be used not only by lyx.
But I have to admit that I don't know if that is generally the case, since
I am no typical windows user.
So the lyxrc variable might indeed be the best solution (for the Mac too, of
course), in any case it is better than hardcoding.


Georg

Reply via email to