Wolfram Research's MathReader is an application that can open and display Mathematica notebooks without having Mathematica itself available.
It can be started from a shell prompt by typing either
MathReader. You can also
configure your web browser to open Mathematica files by adding an
appropriate “helper application”.
Mozilla is the default browser on the math cluster. To configure it to automatically launch MathReader when you click on a link to a Mathematica file, perform the following actions:
- Open the Preferences dialog by selecting Edit->Preferences from the menu
- If the Navigator menu in the left pane isn't already expanded, expand it by clicking on the arrow next to the word Navigator
- Click on Helper Applications
- In the right pane, click on the New Type button
In the New Type dialog that appears, set the following entries to the values shown below:
- Choose “Open it with”, and type
/shared/local/bin/MathReaderin the text-entry box
- Click OK to save your changes, and OK again in the preferences dialog
Konqueror is the default web browser if you use KDE. Configuring it is similar to configuring Mozilla.
- Open the configuration dialog by selecting Settings->Configure Konqueror... from the menu
- Choose File Associations
- Click on the + next to “application” to expand the list
- Click the Add... button at the bottom of the left subpane in the right pane
- In the Create New File Type dialog, choose “application” from the Group drop-down menu and type “mathematica” in the Type name box
- Click OK to close that dialog
- With the new “applications->mathematica” type selected, click the Add... button next to the Filename Patterns box
nbto the end of the
*.string in the text box and click OK
- Do the same for
Mathematica files(or similar) in the Description field
- Click the Add... button in the Application Preference Order subpane
/shared/local/bin/MathReaderin the file picker at the top of the Choose Application for application/mathematica dialog
- Click OK, then OK again in the preferences dialog
One oddity I've noticed so far: You cannot quit the application by clicking the window's close box. If you do, you'll close the current window and open a new untitled window. You must choose File->Quit (or kill the application from the shell) to quit.
Installing MathReader on Your Own Machine
For those of you interested in installing this application on your own machines, versions that run on Mac OS 8 or 9, Mac OS X, x86 or Alpha Linux, Solaris, HP Tru64 Unix, HP-UX, IMB AIX, and, of course, Windows 98/Me/NT/2000 and XP, are available from Wolfram.