Davide P. Cervone
Davide P. Cervone
The characters you cite are not available in MathJax's font set, and so it does not have the bounding box information for them. It inserts a text node in hopes...
> Which fonts have you used here for the calculation of the boxes? If you mean for the characters that aren't in MathJax's fonts, MathJax doesn't have any bounding box...
Thanks for the report. I've looked into it and here is what is going on: Because the number of entities (like `©`) is fairly large, MathJax only has a limited...
Sorry, my fault. I copied the wrong line. It should have been ``` javascript require('mathjax-full/js/util/entities/all.js'); ``` I will change it in the original message, in case anyone else looks for...
Thanks for confirming that it worked for you. Good luck with your project.
Install jsdom using npm install jsdom and try ``` #! /usr/bin/env node /************************************************************************* * * mj3-tex2html * * Uses MathJax v3 to convert a TeX string to an HTML string....
OK, here is a `-page` version for jsdom: ``` #! /usr/bin/env node /************************************************************************* * * mj3-tex2html-page-jsdom * * Uses MathJax v3 to convert all TeX in an HTML document. *...
OK, I'll look into the unescaped character issue. It should be fixable.
PS, can you provide a specific example equation or two?
Not quite sure what you are offering. MathJax-node is pretty much obsolete now that MathJax version 3 is out. Version 3 was designed to work natively in node without all...