Feature SS-94
2 votes

Maxima: Use portable Maxima as backend

Created by Martin Kraska on 3/30/2014 3:05 PM Last Updated by Martin Kraska on 6/12/2014 8:37 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

The  request is to

  • not require the user to edit maxima.xml
  • not require the user to edit maxima.bat.

 

Installation of SMath and Maxima on a portable storage device

  1. Get and install X-Maxima on any portable storage device. http://sourceforge.net/projects/winpenpack/files/X-Maxima/releases/
    Version 5.28 including draw package is known to co-operate with SMath
    in Version 5.31.2, the draw package does not load.
  2. Install portable SMath on the same storage device http://smath.info/wiki/SMath%20with%20Plugins.ashx
  3. In the install dir of SMath, locate extensions\plugins\44011c1e-5d0d-4533-8e68-e32b5badce41\maxima.xml
  4. Set the correct path to maxima relative to your SMath install dir.
  5. Edit maxima.bat in order ton avoid temp space usage on the host system. Comment out the four lines immediately above the win9x label.

Test of the installation

  1. Run SMath and open the attachment ss94.sm

    Martin Kraska (Thursday, June 12, 2014 3:30 AM) #

Resolved in Maxima update 12 http://en.smath.info/forum/yaf_postsm13225_Maxima-Plugin.aspx#post13225

The resolution is not done with X-Maxima but using improved path control and a special maxima.bat.

Portable version with pre-installed Maxima 5.33 is coming soon...

    Martin Kraska (Wednesday, April 30, 2014 2:06 PM) #

Currently, X-Maxima again seems to be the only reliable approach, except edit of maxima.bat by the Maxima plugin.

 

    Martin Kraska (Saturday, April 5, 2014 2:11 AM) #

If X-Maxima is bundled with SMath portable, then we can just set the relative path in maxima.xml. X-Maxima indeed needs to be started once when working on a given host system. The edits in maxima.bat just set environment variables, which could perhaps be set by the Maxima plugin before calling maxima.bat.

Then perhaps even an ordinary installation (e.g. of Maxima-5.33.0) could be used in a portable way.

    Kay (Friday, April 4, 2014 7:55 PM) #

I have noticed that it is necessary to start X-Maxima.exe one time before you could use Maxima in SMath. It seems that X-Maxima do the initialisation of maxima.bat.

    Radovan Omorjan (Monday, March 31, 2014 12:34 AM) #

If this would be obtained

  • not require the user to edit maxima.xml
  • not require the user to edit maxima.bat.

Thanking to Martin, then it seems we would finaly have SMath+Maxima portable :)