mathjax-node-page icon indicating copy to clipboard operation
mathjax-node-page copied to clipboard

CHTML output strangeness

Open pron opened this issue 6 years ago • 3 comments

Hi.

This is how some text + MathJax is rendered online (client-side) with CHTML output:

online chtml

This is what it looks like when rendered offline (server side) with mathjax-node-page (using FabianHenneke/jekyll-mathjax-csp) as SVG:

offline svg

And this is what it looks like when rendered offline as CHTML:

offline chtml

As you can see, the math font is much smaller than either the online CHTML or the offline SVG, and the bbox (\bbox[lightgrey,2pt]) is not colored.

pron avatar Feb 17 '19 15:02 pron

Looks like an upstream issue https://github.com/mathjax/MathJax-node/issues/433

pkra avatar Feb 18 '19 11:02 pkra

Thanks. What about the font size?

pron avatar Feb 18 '19 11:02 pron

What about the font size?

That will depend on the surrounding CSS (and possibly the browser if you're not careful). Without a live sample, there's not much more to say I'm afraid.

pkra avatar Feb 18 '19 11:02 pkra