Monday, June 02, 2025

LaTeX.js: JavaScript LaTeX to HTML5 translator

 michael-brade/LaTeX.js: JavaScript LaTeX to HTML5 translator

This is a LaTeX to HTML5 translator written in JavaScript using PEG.js. 

latex.js for LaTeX is similar in spirit to marked for Markdown.

MIT license, written in LiveScript

//latex.js.org/playground.html


LaTeX.js

LaTeX.js LaTeX.js


LaTeX (/ˈlɑːtɛk/  LAH-tek or /ˈltɛk/ LAY-tek,[2][Note 1] often stylized as LaTeX) is a softwaresystem for typesetting documents.[3] LaTeX markup describes the content and layout of the document, as opposed to the formatted text found in WYSIWYG word processors

LaTeX is widely used in academia for the communication and publication of scientific documents and technical note-taking in many fields, owing partially to its support for complex mathematical notation.



LaTeX uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language


TeX (/tɛx/, see below), stylized within the system as TeX, is a typesetting program which was designed and written by computer scientist and Stanford University professor Donald Knuth[2] and first released in 1978.

TeX Users Group (TUG)


Structural formula - Wikipedia (TeX for chemistry)

No comments: