mathtomath 0.5.0

Convert mathematical expressions between different formats
mathtomath-0.5.0 is not a library.

mathtomath

Convert formulas between different formats. This crate is a successor to the original mathtomath Perl program.

Installation

The easiest way to get started is to download the executable from the latest github release.

Alternatively, if you have Rust and Cargo installed, run

cargo install mathtomath

Usage

The currently supported formats are FORM, LaTeX, and Mathematica, aka Wolfram Language.

For interactive use, run e.g.

mathtomath -i mathematica -o latex

Then enter an expression in Mathematica format and hit <enter> <ctrl-d>. Alternatively, save your expression in a file expr.m and run

mathtomath -i mathematica -o latex expr.m

Caveats

Expect lots of bugs, especially when parsing LaTeX. Bug reports and pull requests are welcome.