texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Improving the Maxima interface


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Improving the Maxima interface
Date: Thu, 20 Feb 2003 23:33:57 +0100 (MET)

> How can I call this script from init-texmacs.scm and read its output to
> scheme? I can manipulate the form of this output, say, using sed, and to
> make it an S-expression, if this simplifies things.

You can use 'eval-system' which takes a string on input and
which returns a string.

> Another, somewhat unrelated question. I was told by Maxima falks that
> TeXmacs sets the environment variable MAXIMA_DIRECTORY to the empty
> string (in the case of Maxima-5.9). This used to break some things like
> plotting in Maxima-5.9-pre*; now they have added a special work-around.
> But why does TeXmacs set this variable at all? Is it possible not to set
> it? Its existence may break other things in maxima, like the command load,
> by providing a wrong search path for loading maxima files. Maybe, recent
> problems reported by the users of maxima-5.9 have this reason. It would be
> much better not to set this variable, at least not to such a meaningless
> value as the empty string.

This variable is set in src/Basic/System/dir.cc.
It is true that this code should be moved to init-maxima.scm.





reply via email to

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