100% JavaScript LaTeX.js is written in 100% JavaScript and runs in the browser. No external dependencies need to be loaded. CLI The latex.js binary allows to translate LaTeX files in the console. It depends on a DOM implementation (svgdom in this case). Compatibility LaTeX.js produces almost the exact same output you would get with LaTeX—except where impossible: glue cannot be translated to HTML,