-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax team
Description
Running tex2svg-page on the following html file succeeds:
<html>
<body>
<div>$$ x^2 $$</div>
</body>
</html>However, once you add the copyright symbol, anywhere in the page, it fails:
<html>
<body>
<div>$$ x^2 $$</div>
©
</body>
</html>with the following error:
MathJax(?): Can't find handler for document
(node:2116796) UnhandledPromiseRejectionWarning: Error: Cannot find module 'mathjax-full/es5/util/entities/c.js'
This behavior isn't changed even if the symbol is placed inside a footer tag, and the footer tag added to ignore in the mathjax configuration. If my understanding here is correct, this suggests two possible issues:
- There are missing files in the node mathjax distribution
- Mathjax processes areas of html that it should ignore
My use-case is pre-rendering math for a static website -I'm specifically looking for a script that will output an html file with math rendered in the same way as if the mathjax javascript were included on the page, and tex2svg-page seemed like a perfect fit here. I'd really appreciate any guidance you might have on these issues.
Metadata
Metadata
Assignees
Labels
AcceptedIssue has been reproduced by MathJax teamIssue has been reproduced by MathJax team