MathJax
mathjax.org
MathJax
1–10 of 44 posts
Re: MathJax
#2Re: MathJax
#3If you are at all concerned with performance and can sacrifice a couple features (fewer supported text formatting options & mathematical elements, less legacy support for some browsers). Katex is a great alternative. https://katex.org/
In CoCalc.com I made it use Katex, but if there is an error it falls back to MathJax.
Re: MathJax
#4Re: MathJax
#5If you are at all concerned with performance and can sacrifice a couple features (fewer supported text formatting options & mathematical elements, less legacy support for some browsers). Katex is a great alternative. https://katex.org/
Last time I compared Katex to MathJax, I was also very pleased by Katex's synchronous rendering support, as compared to mathjax. In CoCalc.com I made it use Katex, but if there is an error it falls back to MathJax.
Re: MathJax
#6Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks.
Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)?
edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict superset of JS. This doesn't make sense. JS is known for massive amounts of cruft. An improvement would've been a scripting language that compiles to "JS: the good parts", i.e., a subset of JS. But now we should have "Typescript: the good parts" because TS inherited all the bad parts of JS?
edit 2: It turns out, there is valid JS that is invalid TS [0]. And yet, TS is described on wikipedia as "a strict superset of JS" [1]. (invalid TS == non-error-free TS).
edit 3: Further confirmation about error-free TS not being a strict superset of JS [2]. Such a lie can only be expected from a company like micro$hit.
edit 5: even with-error TS is not a superset of JS (the behavior is different) [3].
edit 6: Typescript is an opinionated-yet-spineless Javascript!
[0] https://github.com/microsoft/TypeScript/issues/38546
[1] https://en.wikipedia.org/wiki/TypeScript
Re: MathJax
#7You can scroll through https://ultimateelectronicsbook.com/systems-of-equations/ for a particularly formatting-heavy example with lots of matrix equations and augmented matrices, working through Gaussian decomposition and LU factorization examples.
Instead, for performance, I wrote a small Ruby / Jekyll plugin to do MathJax server-side rendering. It calls the mathjax-node npm package, with some caching on top because it's so slow. This outputs static HTML and CSS with a few math fonts.
The mathjax-node-sre npm package even populates aria-label fields for each equation:
...
If you have the option to consider server-side equation rendering, your users may thank you.Re: MathJax
#8Re: MathJax
#9(edit 4: my comment is off-topic, sorry) Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks. Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)? edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict supers…
AJAX is just ubiquitous and it's easier to use without frameworks nowadays. React is a library that solves different problems from the frameworks that made AJAX easier like Prototype and jQuery.
React helps folk build UIs through interesting data-models and the ShadowDOM. AJAX is required by anything but the most trivial React projects to make server-side requests.
Hope that helps :)
Re: MathJax
#10(edit 4: my comment is off-topic, sorry) Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks. Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)? edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict supers…