Home
Installation
To install TeXZilla, you can download a release package that contains the Javascript files to be used from a Web page, a commonJS program or the command line. You can also do npm install texzilla to install the Node Packaged Module.
Note that TeXZilla-min.js is relatively big (~410kb) so it is recommended to use HTTP compression so that it is smaller (~70kb) and thus served faster. This is enabled by default on most Web sites, including GitHub gh-pages.
If you want to use the latest development version, you can just link to http://fred-wang.github.io/TeXZilla/TeXZilla-min.js or build the program from the GitHub repository. See the build instructions.
Using TeXZilla
- Usage in a CommonJS program or Web page
- Usage from the command line
- Advanced conversion methods
- Specifying display and RTL modes
- Handling Parsing Errors
- Extracting the original TeX source
- Setting the DOM Parser and XMLSerializer
- Advanced Parsing Modes
Public API
- toMathMLString
- toMathML
- toImage
- filterString
- filterElement
- getTeXSource
- setDOMParser
- setXMLSerializer
- setSafeMode
- setItexIdentifierMode
Advanced Usages
- Show the TeX source when the user double clicks on a MathML expression
- Parsing TeX expressions in your Web page
- Using TeXZilla as an <x-tex> tag
- Using TeXZilla as a Web server
- Using TeXZilla as a stream filter
- Using TeXZilla in your Java programs
- Using TeXZilla in your Python programs
- Using TeXZilla in your Perl programs
- Using TeXZilla in your Ruby programs
- Inserting mathematical formulas in a canvas
Applications and Web pages using TeXZilla
- TeXZilla Firefox add-on
- TeXZilla FirefoxOS Web app, source code here
- TeXZilla CKeditor plugin, source code here
- See complete list
TeXZilla syntax
TeXZilla uses a context-free grammar based on the one of itex2MML, which itself inspired from AMS LaTeX. The lexical analysis is also based in itex2MML as well as on the W3C's unicode.xml file. See the TeXZilla commands for more details.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
