Mori Math


Mori Math is a plugin for Mori that renders LaTeX math in your documents.

Mori Math is a plugin for Mori that renders LaTeX math in your documents. It depends on having TeX installed. It's designed to support several possible teTeX installations, but the plugin needs only know where pdflatex is. You can set this path in the Mori Math preference pane. If you don't have teTeX installed, I recommend the TeX i-Package found at http://ii2.sourceforge.net/tex-index.html (the default pdflatex path is for this).

To install Mori Math, copy or move Mori Math.plugin to ~/Library/Application Support/Mori/Plugins or simply drag Mori Math.plugin onto Mori. Then restart Mori and the plugin will be installed.

Mori Math can be used in three ways. You can type LaTeX math, select the text, and then choose the Render Math item from the Math submenu of the Text menu. Or, to avoid selecting text, you can prefix your math with a dollar sign, $. When you reach the end of your math, choose the Render Math menu item or use its keyboard shortcut, Command-/, to render all the math between the typing cursor position and the previous $. Finally, you can brace all your math with $ and then choose Render All Math to render all the math between dollarsigns. Note that you can't have '\$' render using the autoselect feature; the plugin will catch that $ and render the math after it.

If you type something that LaTeX doesn't understand or contains an error, that text will be replace with "the math you typed" in red. Just fix your error and rerender it.

If you need to retrieve the LaTeX you typed to produce a rendered equation, such as to change an equation, select that math and choose Unrender Math from the Math submenu of the Text menu. You can also choose Unrender All Math to unrender all the math in the entry.

Download: Mori Math 3a.zip

Source: Mori Math Sources.zip

Release Notes

Initial Release

Renders and unrenders math.

Release 2

Added ability to render all math and unrender all math in a document. Fixed bugs with rendering and unrendering more than one equation at a time via multiple selection. Added preferences to set the path to pdflatex and modify the LaTeX templet used to render math. Moved menu items under the Math menu. No longer unrenders non-math attachments.

If you are upgrading from the initial release, note that release 2 is partially incompatible. Your rendered math will, of course, still display properly, but you will not be able to unrender math created by the initial release. Similarly, math rendered by release 2 cannot be unrendered by the initial release. This was necessary to make Mori Math not unrender attachments that are not math (at least as far as Mori Math knows).

Release 3

Updated to a Mori 1.2 plugin (not compatible with earlier versions of Mori). Compiled as a Universal Binary. Added options to add $ markers around math when individual math images are unrendered.

Release 3a

Added warning if the equation is longer than 255 characters long because it causes trouble when exporting entries.

Posted: Fri - February 3, 2006 at 02:30 PM        


©