Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

CHTML output strangeness #74

Open
pron opened this issue Feb 17, 2019 · 3 comments
Open

CHTML output strangeness #74

pron opened this issue Feb 17, 2019 · 3 comments
Labels

Comments

@pron
Copy link

pron commented Feb 17, 2019

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.

@pkra
Copy link
Owner

pkra commented Feb 18, 2019

Looks like an upstream issue mathjax/MathJax-node#433

@pkra pkra added the upstream label Feb 18, 2019
@pron
Copy link
Author

pron commented Feb 18, 2019

Thanks. What about the font size?

@pkra
Copy link
Owner

pkra commented Feb 18, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants