-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot show the svg but the pure text link #4
Comments
This seems an empty SVG. Could you type a few more characters in the math area to see if it updates correctly? If that does not work, could you elaborate what's your platform, Emacs version, mathjax-node-cli version? And what's your configuration. |
windows 10, emacs 27.1, with RSVG support, mathjax-node-cli @1.0.1,
i found i have two locations has this tex2svg. if i use the first location, i got error: |
Could you try invoking ~/node_modules/mathjax-node-cli/bin/tex2svg "\frac{x}{x^4}" > 1.svg And open |
since i am under windows, i have to run something like this: i also tried to run the tex2svg.cmd without node as a prefix and it also worked |
I am not familiar with how Emacs calls external processes on Windows. Could you try setting |
i did try that , and that is how i saw the popup with that empty svg... anyway, thanks for the help! |
I suspect it may have something to do with how BTW, did you try removing the tests with |
executable-find finds the bin file, and the bin file executes and creates svg correctly under CMD ... nevermind, i will try to debug little bit if i have time, thanks! |
I was able to solve similar issues on Windows 10.
|
after two years, windows still have this problem |
Unfortunately, there is not much that I can do. I am not familiar with programming on Windows, and the solution by @exilsteira suggests some non-trivial steps, e.g. carets for escaping and MiKTeX setup. My impression is that On the other hand, maybe it is a good idea to try Emacs in WSL2 (WSL1 should also be fine, but I/O for small files sucks). It is much faster, reliable, and less problematic than a Windows build. I am running |
did i miss anything ?
many thanks!
The text was updated successfully, but these errors were encountered: