Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
ASCIIMath2TeX.php
ASCIIMathTeXImg.js
README.md
amimgtest.html
testphp.php

README.md

AsciiMath Based

This directory contains tools using the AsciiMath syntax for mathematical expressions.

ASCIIMathTeXImg.js

This script will convert expressions in AsciiMath notation into LaTeX expressions. By default, it can be used as a drop-in-replacement for ASCIIMathML, in which case all AsciiMath areas will be rendered as images using a LaTeX renderer like MimeTeX or MathTeX. The address to such a renderer must be added to the script before images will render properly.

This script can also be used without autotranslate for the utility functions AMTparseAMtoTeX, AMparseMath, or AMprocessNode.

Use of this script as an image fallback for ASCIIMathML is no longer recommended, as MathJax will provide far better results. This script may still be useful for general conversion tasks, or in rich text editors.

ASCIIMath2TeX.php

This is a PHP port of ASCIIMathTeXImg.js, and provides a function for converting AsciiMath to LaTeX server-side, as a preprocessing option.