Skip to content

tex2svg converted image further rendering problem #464

@StarryField

Description

@StarryField

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

  • Operating environment
ubuntu@ubuntu:~$ node -v
v14.10.1
ubuntu@ubuntu:~$ npm -v
6.14.8
  • Used command
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions