Package: wnpp Severity: wishlist * Package name : mathjax-node-page Version : 3.2.0 Upstream Author : Peter Krautzberger <p.krautzber...@gmail.com> * URL : https://github.com/pkra/mathjax-node-page/ * License : Apache-2.0 Programming Lang: JavaScript Description : filter for server-side MathJax rendering
MathJax is a widely adopted math typesetter for web-based applications. It allows you to embed TeX code in HTML and have it rendered in users’ browsers. However, because the rendering occurs in-browser, MathJax can be slow and resource-intensive. mjpage(1), included in the mathjax-node-page package, offers an alternative approach: it reads HTML from standard input, generates the DOM that MathJax would produce, and serializes that DOM into HTML on standard output. This effectively prerenders the mathematics, removing load from users’ browsers and improving load times. Since mjpage(1) uses MathJax as a library, the output is guaranteed to be identical to that produced by the in-browser renderer. mathjax-node-page’s dependency tree has some packages that aren’t yet packaged or need attention in Debian, but I haven’t investigated them too fully. No word on how much work is required here.