Hi,
I just changed the install directory of all prerequisites to a location with no spaces in the directory tree and replaced the *'(s) in setup-imaxima-imath.el of the paths to the actual directory/filename. That ruled out installing into c:\Program files. I agree, there may be other ways, but this was good enough for me.
Rich
------------Original Message------------
From: "van Nek" <van.nek at arcor.de>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: Maxima at math.utexas.edu
Date: Wed, Jun-25-2008 4:43 PM
Subject: Re: [Maxima] Imaxima and imath 1.0beta released
Hi Richard,
I cannot confirm that the paths you list below are the only paths that work. The paths seem to be quite arbitrary but they have to be set properly in the file setup-imaxima-imath.el.
wildcards can be used.
I use Windows 2000. XP should be the same. I believe Vista is different. Ugur Guney uses Vista and I guess he doesn't use an English Vista. So there might be paths problems because Vista is an English OS with specific translations on top which do not fit in many cases. The task is to find out the true registered paths. Hint: Try to start all the programs from the console. The console then shows the correct paths.
Before I set setup-imaxima-imath.el properly I got the same error message:
Wrong type argument: stringp, nil
The file .emacs should be placed in %homedrive%%homepath%, which is
"C:\Dokumente und Einstellungen\%username%\Anwendungsdaten"
in German and in English probably
"C:\users\%username%\AppData"
FWIW
Volker van Nek
Am 25 Jun 2008 um 9:54 hat Richard Hennessy geschrieben:
> I have solved this problem on my Windows XP box. I had to reinstall MikTeX 2.7 to "c:\MikTeX", GhostScript to "c:\gs", Meadow to "c:\Meadow" and Maxima 5.15.0 to "c:\Maxima-5.15.0" and then I copied the following files into the Meadow directory.
>
> imath.el
> imaxima.el
> imaxima.info
> imaxima.lisp
> imaxima.texi
> imaxima-autoconf-variables.el
> setup-imaxima-imath.el
>
> Then I had to edit "setup-imaxima-imath.el" in Notepad (or any text editor) to replace the file paths with the new paths for each program. The reason is I had to eliminate any directory names with wildcards or spaces in the path because that does not work in Windows XP for some reason.
>
> Then I changed the file .emacs to
>
> (load "c:/Meadow/setup-imaxima-imath.el")
> (autoload 'imaxima "imaxima" "Image support for Maxima." t)
> (autoload 'imath-mode "imath" "Interactive Math minor mode." t)
>
> and it worked, including all the graphics features.
>
> Rich
>
>
>
> ------------Original Message------------
> From: "U?ur G?ney" <ugurguney at gmail.com>
> To: "Yasuaki Honda" <yhonda at mac.com>
> Cc: "maxima list" <maxima at math.utexas.edu>
> Date: Wed, Jun-25-2008 9:17 AM
> Subject: Re: [Maxima] Imaxima and imath 1.0beta released
>
> # Hi,
> # I tried to install lmaxima but can not succeed it by myself.
> # I am getting this error when I run meadow with --debug-init option
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-directory(nil)
> (defvar *imaxima-imath-dir* (file-name-directory (car ...)) "Imaxima
> imath directory, containing .el, .lisp, and .info files")
> eval-buffer(#<buffer *load*<2>> nil "c:/Program
> Files/imaxima-imath/setup-imaxima-imath" nil t)
> load-with-code-conversion("c:/Program
> Files/imaxima-imath/setup-imaxima-imath.el" "c:/Program
> Files/imaxima-imath/setup-imaxima-imath" nil nil)
> load("c:/Program Files/imaxima-imath/setup-imaxima-imath")
> eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
> load-with-code-conversion("c:/Program Files/Meadow/.emacs" "~/.emacs" t t)
> load("~/.emacs" t t)
> #[nil " ??
> command-line()
> normal-top-level()
>
> # I'm using Windows Vista.
> # I wonder much to use lmaxima and appreciate any help. Have a nice day!
> -ugur guney-
>
> On Mon, Jun 23, 2008 at 7:25 PM, Yasuaki Honda <yhonda at mac.com> wrote:
> > Dear Maxima / Imaxima users,
> >
> > I am more than happy to announce that I have released
> > version 1.0 beta of imaxima and imath package. Please
> > visit below for the download of the latest release.
> >
> > http://members3.jcom.home.ne.jp/imaxima/
> >
> > Why is this beta? Because this version introduced new
> > features which might be premature in its implementation.
> > I welcome any input regarding these features for further
> > improvements.
> >
> > There are three new features in this release:
> >
> > 1.imaxima supports inline graph.
> > 2.imath supports inline graph.
> > 3.imath supports inline graphics file in EPS format.
> >
> > Also,
> > 4.imaxima and imath is tested on Windows Vista and Ubuntu Linux
> >
> > Example uses of these features and instructions on how to use them are
> > added in "Tutorial of Imaxima (inline graph)" section of the imaxima web
> > site.
> >
> > I have merged Bohumir's patch for the support of EPS files in imath
> > mode. The way he implemented it inspired me to implement the inline
> > graph support in both imaxima and imath mode. Thanks, Bohumir!!
> >
> >
> > I also would like to thank Andrej Vodopivec for his allowing me to use
> > part of wxMaxima code. I have copied the interface and implementation
> > of inline plotting commands defined in wxmathml.lisp in wxMaxima.
> >
> > Yasuaki Honda / Chiba, Japan
> > http://members3.jcom.home.ne.jp/imaxima
> > _______________________________________________
> > Maxima mailing list
> > Maxima at math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima