mgieseki / dvisvgm

A fast DVI, EPS, and PDF to SVG converter
https://dvisvgm.de
GNU General Public License v3.0
312 stars 34 forks source link

What is return code 254? #277

Open ghxstweb opened 4 weeks ago

ghxstweb commented 4 weeks ago

I'm using a blender extension called latex2blender and it appears as if the dvi conversion process is not exiting properly. Im getting some info that there is an exit code of value 254, and I was wondering how I might go about fixing it. Thanks!

image

mgieseki commented 4 weeks ago

Sorry, I can't help you with this issue, unfortunately, because I don't know the internals of latex2blender. I suggest to report it here. Error 254 might be related to invalid PostScript code in the processed DVI file. If you could post a minimal DVI file that latex2blender uses to call dvisvgm, I could have a look.

Edit: If possible, look for the .dvi file created by latex2blender and manually run dvisvgm on it. In case of errors, you should get corresponding error or warning messages which are not present in the error window of latex2blender.