# Re: [mediaqueries] MathML

From: Peter Krautzberger <peter.krautzberger@mathjax.org>
Date: Wed, 5 Oct 2016 08:46:24 +0200
Message-ID: <CABqxo83ZxBzdF+qsQJmDLqgx1VayR+o6_Kf7eOq=Ly+KMhVmuQ@mail.gmail.com>
To: Robin Berjon <robin@berjon.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Joe Trenton <joe.trenton.iiii@gmail.com>, Paul Topping <pault@dessci.com>, Avneesh Singh <avneesh.sg@gmail.com>, Florian Rivoal <florian@rivoal.net>, www-style list <www-style@w3.org>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Re Robin

> There's https://github.com/mathjax/MathJax-node for that. Last I looked
it relied on a specific version of jsdom so it can be a bit finicky to
use depending on what you need to do, but once you get it running it
works great.

Maybe try the develop branch and then file a bug? It shouldn't rely on a
specific version of jsdom.

> That produce SVG, none that I'm aware of. An interesting alternative is
KaTeX that produces HTML+CSS from LaTeX but it only supports a somewhat
unpredictable subset of LaTeX, so we gave up on it.

mathjax-node produces both SVG and HTML+CSS (that works on IE8+ but expects
webfonts); it also provides the alt text generation via speechruleengine
and we have plans to move from a single alt text to deep aria labels for
full exploration.

Regards,
Peter.

On Tue, Oct 4, 2016 at 11:10 PM, Robin Berjon <robin@berjon.com> wrote:

> On 04/10/2016 16:36 , Tab Atkins Jr. wrote:
> > On Tue, Oct 4, 2016 at 1:32 PM, Joe Trenton <joe.trenton.iiii@gmail.com>
> wrote:
> >> Does MathJax work outside of a browser from a command line?
> >
> > It's a JS library that runs on the DOM, so, maybe with some of the
> > headless-browser things? I'm not sure.
>
> There's https://github.com/mathjax/MathJax-node for that. Last I looked
> it relied on a specific version of jsdom so it can be a bit finicky to
> use depending on what you need to do, but once you get it running it
> works great.
>
> >> Are there other high-quality applications that produce SVG besides
> MathJax?
> >
> > No idea, I don't use them much in the first place.
>
> That produce SVG, none that I'm aware of. An interesting alternative is
> KaTeX that produces HTML+CSS from LaTeX but it only supports a somewhat
> unpredictable subset of LaTeX, so we gave up on it.
>
> --
> • Robin Berjon - http://berjon.com/ - @robinberjon
> • http://science.ai/ — intelligent science publishing
> •
>

Received on Wednesday, 5 October 2016 06:46:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:46 UTC