I tried to use mathjax-node-cli and imagemagick or inkscape on Ubuntu Server 20.04 LTS (on arrch64 bulid) to turn my math formula into .jpg picture, but the final converted result is a blank picture! ! !
I think this is a problem with mathjax-node, because they can convert .svg files from other sources normally
ubuntu@ubuntu:~$ node -v
v14.10.1
ubuntu@ubuntu:~$ npm -v
6.14.8
ubuntu@ubuntu:~/Desktop$ tex2svg "\text{TEST}" > test.svg
ubuntu@ubuntu:~/Desktop$ convert test.svg test1.png
ubuntu@ubuntu:~/Desktop$ convert test.svg test1.jpg
ubuntu@ubuntu:~/Desktop$ inkscape -z -w 512 -h 512 test.svg -e test2.png
ubuntu@ubuntu:~/Desktop$ inkscape -z -w 512 -h 512 test.svg -e test2.jpg
I tried to use
mathjax-node-cliandimagemagickorinkscapeonUbuntu Server 20.04 LTS(on arrch64 bulid) to turn my math formula into.jpgpicture, but the final converted result is a blank picture! ! !I think this is a problem with
mathjax-node, because they can convert.svgfiles from other sources normally