[OS X TeX] dvisvgm and ghostscript

Doris Behrendt doris.behrendt at me.com
Thu Oct 22 13:18:56 EDT 2020


Hi all,

I want to export a tikz graphic to svg as described in the tikz manual. I’m on 10.15.7 and TeXLive 2020; I installed Ghostscript 9.53.3 from Dick Kochs Website, with the libgs.dylib.9.53 file included;

I have the following line 

export LIBGS="/usr/local/share/ghostscript/9.53.3/lib/libgs.dylib.9.53”

in my .bash_profile. When I call 

dvisvgm myfile.dvi


the following error message shows up:

processing of PostScript specials is disabled (Ghostscript not found)

It seems I have to use the option —libgs=… explicitly, but how?

dvisvgm --libgs=LIBGS myfile.dvi throws the same error; also does
dvisvgm --libgs="/usr/local/share/ghostscript/9.53.3/lib/libgs.dylib.9.53" myfile.dvi

when I check the path via echo $LIBGS the path from above is printed.


Can somebody give me a hint what I’m overseeing?



Doris


More information about the MacOSX-TeX mailing list