Reputation: 2523
Mathematica 7.0 uses about 50% of the CPU time on my laptop while in idle,
and typing special characters like @
and [
too fast causes Mathematica to crash.
Basically, the notebook can't keep up with the formatting and dies.
I would love to use Kate or a similar plain text editing program, and run it as a notebook via the terminal, and saving the output to a PDF or plaintext file.
Is there a text editor that can handle Mathematica syntax highlighting and indentation rules?
Upvotes: 4
Views: 2093
Reputation: 111
If you want to use Kate, then you can get a syntax highlighting and indentation rules file for Mathematica here. Alternatively, you could try using Wolfram Workbench which is a plugin for Eclipse designed for writing Mathematica code.
Upvotes: 1
Reputation: 987
Your mention of "Kate" suggests that you are using Linux. There was a bug in the Qt libraries that shipped with Mathematica version 7.0 that caused this load problem on Linux.
See Reload this Page [SOLVED] Mathematica 7 slow under Ubuntu 10.04 (Lucid) . The thread is about Ubuntu Linux, but I had the same problem on openSUSE.
In that thread, there is a link to an updates library, posted by a Wolfram Research, Inc. employee. That link no longer works, but if you email Wolfram Research, Inc., perhaps they will provide you with the file.
Upvotes: 4
Reputation: 6520
If you use Emacs, there is a mode for it that allows you to use mma interactively. There are also modes for editing Mathematica code in Emacs. There are some for other editors, for example, here. If you are on Mac OS X, there are such modes for TextMate and BBEdit.
Upvotes: 3
Reputation: 789
If you have version 7.0.0 of Mathematica you might want to contact Wolfram Research about getting 7.0.1
Also see if this applies to you:
http://support.wolfram.com/kb/370
Upvotes: 1
Reputation: 7212
There's a good chance your notebook is very large if you're having trouble with formatting. If this is true, you should consider breaking things out into packages or separate notebooks at least. The Wolfram Workbench is a very good development environment, especially if you start working with packages more.
Upvotes: 1