A LALR Javascript LaTeX-to-MathML converter compatible with Unicode.


Keywords
mathml,tex,latex,unicode
License
MPL-2.0
Install
npm install texzilla@1.0.0

Documentation

TeXZilla

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Description

TeXZilla is a Javascript LaTeX-to-MathML converter compatible with Unicode. It has performed as the fastest state of the art LaTeX-To-MathML converter according to recent research in this field (see [1]). This is still a work in progress and things may change in the future. Please report any bug you find to the issue tracker.

For a quick overview, you can try a live demo, install a Firefox add-on or try a Firefox OS webapp.

You can download a release archive or install an npm package.

Please read the wiki to get more information on how to integrate TeXZilla in your Web page or project as well as a description of the TeXZilla syntax. See also the examples/ directory.

Build Instructions

The following dependencies are required:

On Debian-based Linux distributions, try sudo apt-get install coreutils sed curl make xsltproc python npm phantomjs bash closure-compiler and install Jison with npm install jison -g.

To build TeXZilla, run the tests and generate the minified version:

  ./configure
  make all
  make minify

Type make help for more commands.

References

[1] "Improving the Representation and Conversion of Mathematical Formulae by Considering their Textual Context" by M. Schubotz, et al. In: Proceedings of the ACM/IEEE-CS Joint Conference on Digital Libraries (JCDL). Fort Worth, USA, June 2018. DOI:10.1145/3197026.3197058