imaxima, xemacs and windows



Hi there.

| So, assuming that gs did create the png file, this is a recap of what
| needs to be fixed:
|
| * gs wants unix-style, '/', path separators.
| * Maxima wants unix path names for 'imaxima.lsip'.
|

The command which launches maxima also needs to be changed so that when
(X)Emacs launches the executable (rather than the batch file), it feeds
maxima the correct command line args.  For example, in "maxima.el" the
command is launched as follows:

      (if maxima-args
          (setq cmd
                (append (list 'make-comint "maxima" maxima-command
                              nil) (split-string maxima-args)))
        (setq cmd (list 'make-comint "maxima" maxima-command)))

Under Windows, I set "maxima-args" like this:

(defcustom maxima-args "-eval (user::run)"
  "*Extra arguments to pass to the maxima-command."
  :group 'maxima
  :type 'string)

The default in the CVS code is nil, which works fine under Unix as the shell
script is launched rather than the executable.  The shell script supplies
"-eval (user::run)" itself.  On Windows, you need to provide those arguments
in "imaxima.el".

Cheers

Mike Thomas.