[OS X TeX] dvisvgm and ghostscript

Ettore Aldrovandi ealdrov at mail.math.fsu.edu
Thu Oct 22 21:08:29 CEST 2020


Most likely .bash_profile is not the right startup file for that variable, because it’s only read by login shell. Try putting the same export command in .bashrc, open a new instance (new window or tab) of terminal and see if it works. 

Hope this helps

—Ettore

Ettore Aldrovandi
Department of Mathematics, Florida State University
1017 Academic Way                *   http://www.math.fsu.edu/~ealdrov
Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu

> On Oct 22, 2020, at 13:18, Doris Behrendt via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> 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
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201022/12bf0674/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.