[OS X TeX] dvisvgm and ghostscript

koch at math.uoregon.edu koch at math.uoregon.edu
Thu Oct 22 20:19:19 CEST 2020


Did you actually install the library. Note that by default, the Ghostscript package does not. You have to use a Custom install to get it.

Richard Koch



> On Oct 22, 2020, at 10:48 AM, Doris Behrendt via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> Dear Richard,
> 
> in my case:
> 
> bd$ dvisvgm --libgs=/usr/local/share/ghostscript/9.53.3/lib/libgs.dylib.9.53 --pdf ct-logo.pdf
> ERROR: Ghostscript is required to process PDF files
> 
> ???
> 
> Doris
> 
>> On 22. Oct 2020, at 19:39, koch at uoregon.edu wrote:
>> 
>> Doris,
>> 
>> I have a pdf file called FairEyes.pdf and I converted it to FairEyes.svg using the following command:
>> 
>> 	dvisvgm --libgs=/usr/local/share/ghostscript/9.53.3/lib/libgs.dylib.9.53 --pdf FairEyes.pdf
>> 
>> Richard Koch
>> 
>>> On Oct 22, 2020, at 10:18 AM, 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: https://urldefense.com/v3/__http://www.tex.ac.uk/faq__;!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6Ok-IrUD4o$ 
>>> List Reminders and Etiquette: https://urldefense.com/v3/__https://sites.esm.psu.edu/*gray/tex/__;fg!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6Okxs2hDSQ$ 
>>> List Archives: https://urldefense.com/v3/__http://dir.gmane.org/gmane.comp.tex.macosx__;!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6OkzV_tWDg$ 
>>>               https://urldefense.com/v3/__https://email.esm.psu.edu/pipermail/macosx-tex/__;!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6Ok6HgaNIM$ 
>>> TeX on Mac OS X Website: https://urldefense.com/v3/__http://mactex-wiki.tug.org/__;!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6OkgeaxtYw$ 
>>> List Info: https://urldefense.com/v3/__https://email.esm.psu.edu/mailman/listinfo/macosx-tex__;!!C5qS4YX3!UrU1BT31W9no2Rg35u-vgIcBlmS3mVXPxzcQOB-8xcfPkJbgKp9Ic6OknVov-z0$ 
>>> 
>> 
>> ----------- 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
> 
> ----------- 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
> 

----------- 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.