Khue Le
Khue Le
@dpvc Indeed, I also had realized that disabling the global caching makes it work but I forgot to mention this in the question. The issue without global cache is that...
@dpvc Works like a charm. Thank you very much! There are still two issues with `adaptor.serializeXML`: 1. It doesn't add the namespace to ``. 2. As MathJax v4 stores the...
@dpvc It worked! Thanks a lot! On some files though I obtained `Error: Cannot find module 'mathjax-modern-font/js/output/fonts/mathjax-modern/svg/dynamic/calligraphic'`, but this is probably an unrelated issue. I do not see any `js`...
Yes that was with `[email protected]`. Here's my `package.json`: ```json { "name": "MathJax-demos-node", "version": "4.0.0", "description": "Demos using MathJax v4 in node", "dependencies": { "esm": "^3.2.25", "mathjax-full": "4.0.0-beta.4", "mathjax-modern-font": "^4.0.0-beta.4", "yargs":...
@dpvc As you suggested earlier, manually setting the path to the dynamic directory did help: ```node const svg = new SVG({ fontCache: argv.fontCache, exFactor: argv.ex / argv.em, dynamicPrefix: 'mathjax-modern-font/cjs/svg/dynamic' });...
Sorry please hold on, I think there is some issue with the header of my script, all the import paths start with `'mathjax-full/js/...'`, which doesn't seem to be good. I'm...
Hmm... Changing all `'mathjax-full/js/...'`to `'mathjax-full/cjs/...'` didn't make a difference, so the above traceback was good. What I don't understand is that my script even worked with `'mathjax-full/js/...'`, which isn't the...
> PS, I notice that the path in the error in your message here is different than the one you gave earlier. Did you change anything else that might account...
I don't know which version exactly but definitely from a previous version. It took it from your answer here: https://github.com/mathjax/MathJax-demos-node/issues/55#issuecomment-1437471110 Thank you!
Thanks for the clarification! And sorry for the confusion as well, I should have specified that I had copied your code :p