
Is not perfect (in general I still prefer to have a The interaction between LyX and Mathematica > Use Computer Algebra System > Mathematica With the input above, we invoke Edit > Math Itĭoes so by parsing LaTeX and/or Mathematica codeĮntered within LyX, converting to a Mathematica expression andĮventually doing the reverse to add the output from Invoke math as an external computer algebra system. Mathematica from other programs that don't read your alias Applications/Mathematica.app/Contents/MacOS/MathKernel last approach is especially useful if you plan to call In this executable script, I have only two lines: Work the same way on UNIX and Mac OS X machines.Īnother solution is to define a wrapper script in your (in bash, the default shell under OS X) orĪlias math "/Applications/Mathematica.app/Contents/MacOS/MathKernel" If you do this kind of thing often, you'll want toĪlias math="/Applications/Mathematica.app/Contents/MacOS/MathKernel" License allows, even while the "proper" Notebook Start as many copies of your Mathematica Kernel as your Working with UNIX, Linux or Mac OS X: you can in principle Needless to say, this is one of the great advantages of Wolfram's Mac support FAQ if it applies to your If you're on an Intel 64-bit machine, you may have toĮxecute MathKernel64 here (depending on your "/Applications/Mathematica.app/Contents/MacOS/MathKernel" Invoke the Kernel from the command line by typing On a Mac running OS X, Mathematica is installed in theĪpplications folder, e.g., under the name Make sure that the directory path to the mathĬommand is in the list. If you don't see this, type echo $PATH and

You type math, the Kernel will start up andĬopyright 1988-2009 Wolfram Research, Inc.

For example, you may want to do a quickĬalculation while doing some work in the Terminal, or run Situations where one does not need or even want the interactive Interface makes it an almost self-contained system for doingĬalculations and documenting your work. Mathematica is a great computational tool, and the Notebook Interface Accessing the Mathematica Kernel on UNIX and Mac OS X Page the focus will be on Kernel-only operation. GraphicsGraphics in the Mathematica Front End isĪn evolving topic, so I'm collecting relevant information on a
