home | navbar | footer |
---|---|---|
true |
false |
MIT Licensed | Copyright © 2017-2021 Michael Brade |
JavaScript to HTML5 translator
.js is written in 100% JavaScript and runs in the browser. No external dependencies need to be loaded.
The latex.js
binary allows to translate files in the console. It depends on a DOM implementation (svgdom in this case).
.js produces almost the exact same output you would get with —except where impossible: glue cannot be translated to HTML, and sometimes cannot even be interpreted in the context of HTML.
New macros can easily be added in JavaScript. Very often it is much easier to implement a piece of functionality in JavaScript and CSS than it is in .
.js only needs one pass over the document instead of several. References can be filled in by remembering and later modifying the relevant part of the DOM tree.
Of course, .js is completely Open Source. You can find the code on GitHub.