help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system command


From: John W. Eaton
Subject: Re: system command
Date: Thu, 17 May 2001 08:04:08 -0500

On 17-May-2001, I wrote:

| OK, here is what is happening.  Octave and teTeX both use the
| kpathsearch library, and that library has some TeX-specific things in
| it.  One thing it does is add some variables to the environment when
| it is initialized.  So when Octave starts, it adds values for the
| following variables
| 
|   SELFAUTOLOC
|   SELFAUTODIR
|   SELFAUTOPARENT
|   TEXMFDBS
| 
| that are not appropriate for TeX.

Oops.  This is not quite correct.  Kpathsearch adds the first three,
but Octave actually adds the last one (in initialize_pathsearch in
src/octave.cc) so that the kpathsearch library can find Octave's ls-R
database(s).

Hmm.  I think the only good solution is to fix the kpathsearch library
so that it can be initialized without doing TeX-specific stuff, and to
not rely only on environment variables to get this kind of
information.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]