Changeset 7603:2416d1f8829d


Ignore:
Timestamp:
12/10/07 09:11:42 (5 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Trac #1450 -- improve documentation of interfaces when the fail for maple/matlab/matheamtica

Location:
sage/interfaces
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sage/interfaces/maple.py

    r7176 r7603  
    270270        """ 
    271271        return """ 
     272 
    272273In order to use the Maple interface you need to have Maple installed 
    273274and have a script in your PATH called "maple" that runs the 
    274 command-line version of Maple (alternatively, you could use a remote connection to a server running Maple. Call _install_hints_ssh() for hints on how to do that). 
    275  
    276   (1) You might have to buy Maple (list price: $1995.00 !!) at 
    277              http://webstore.maplesoft.com/ 
     275command-line version of Maple.  Alternatively, you could use a remote 
     276connection to a server running Maple; for hints, type 
     277    print maple._install_hints_ssh()  
     278 
     279  (1) You might have to buy Maple (http://webstore.maplesoft.com/). 
    278280       
    279281  (2) * LINUX: The maple script comes standard with your Maple install. 
     
    288290 
    289291      * WINDOWS: 
    290         I have no idea (yet!), except of course you could install 
    291         Maple-for-Linux into the colinux machine.  
     292        You must install Maple-for-Linux into the VMware machine (sorry, that's 
     293        the only way at present).  
    292294""" 
    293295 
  • sage/interfaces/mathematica.py

    r5963 r7603  
    269269In order to use the Mathematica interface you need to have Mathematica 
    270270installed and have a script in your PATH called "math" that runs the 
    271 command-line version of Mathematica (alternatively, you could use a remote connection to a server running Mathematica. Do _install_hints_ssh() for hints on how to do that).  
    272  
    273   (1) You might have to buy Mathematica (for at most $1880) at 
    274       http://www.wolfram.com/. 
     271command-line version of Mathematica. Alternatively, you could use a 
     272remote connection to a server running Mathematica -- for hints, type 
     273    print mathematica._install_hints_ssh() 
     274 
     275 
     276  (1) You might have to buy Mathematica (http://www.wolfram.com/). 
    275277       
    276278  (2) * LINUX: The math script comes standard with your Mathematica install. 
    277          
    278279 
    279280      * APPLE OS X: 
     
    290291 
    291292      * WINDOWS: 
    292         The following only works with SAGE for Cygwin (not colinux). 
    293         Note that SAGE colinux is the preferred way to run SAGE in Windows, 
    294         and I do not know how to use mathematica from colinux SAGE (unless 
    295         you install Mathematica-for-linux into the colinux machine, which 
    296         is possible). 
    297  
    298         Create a file named "math", which you place in the SAGE root 
    299         directory.  The file contained a single line, which was the 
    300         path to the mathematica math.exe file.  In my case, this might be: 
    301  
    302         C:/Program Files/Wolfram Research/Mathematica/4.0/math.exe 
    303  
    304         The key points are  
    305         1) there is a file named "math.exe", and it will generally be 
    306            located in a place analagous to the above (depending on where 
    307            Mathematica has been installed).  This file is used only for 
    308            launching the kernel with a text-based interface. 
    309         2) a cygwin batch file must be created which executes this file, 
    310            which means using forward slashes rather than back slashes, 
    311            and probably surrounding everything in quotes 
    312         3) this cygwin batch file must be on the path for SAGE (placing 
    313            it in <SAGE_ROOT>/local/bin/ is an easy way to ensure this). 
     293       
     294        Install Mathematica for Linux into the VMware virtual machine (sorry, 
     295        that's the only way at present).  
    314296""" 
     297 
     298##         The following only works with SAGE for Cygwin (not colinux). 
     299##         Note that SAGE colinux is the preferred way to run SAGE in Windows, 
     300##         and I do not know how to use mathematica from colinux SAGE (unless 
     301##         you install Mathematica-for-linux into the colinux machine, which 
     302##         is possible). 
     303 
     304##         Create a file named "math", which you place in the SAGE root 
     305##         directory.  The file contained a single line, which was the 
     306##         path to the mathematica math.exe file.  In my case, this might be: 
     307 
     308##         C:/Program Files/Wolfram Research/Mathematica/4.0/math.exe 
     309 
     310##         The key points are  
     311##         1) there is a file named "math.exe", and it will generally be 
     312##            located in a place analagous to the above (depending on where 
     313##            Mathematica has been installed).  This file is used only for 
     314##            launching the kernel with a text-based interface. 
     315##         2) a cygwin batch file must be created which executes this file, 
     316##            which means using forward slashes rather than back slashes, 
     317##            and probably surrounding everything in quotes 
     318##         3) this cygwin batch file must be on the path for SAGE (placing 
     319##            it in <SAGE_ROOT>/local/bin/ is an easy way to ensure this). 
    315320 
    316321    def eval(self, code, strip=True): 
  • sage/interfaces/matlab.py

    r7000 r7603  
    182182                  http://www.mathworks.com/ 
    183183 
    184         You might have to buy MATLAB (list price: $1900) or get away with setting up a remote connection to a server running Maple. Do _install_hints_ssh() for hints on how to do that). 
     184        You might have to buy MATLAB or get away with setting up a remote connection to a server running Maple. Type 
     185   print matlab._install_hints_ssh() 
     186for hints on how to do that). 
    185187        """ 
    186188 
Note: See TracChangeset for help on using the changeset viewer.