TransWikia.com

Sublime Text preview fail

TeX - LaTeX Asked by Caenorhabditis Elegans on February 1, 2021

I have some problems in converting pdf to png, in Sublime Text editor. It has an error message: ERROR: Failed to convert pdf to png to preview. To check the error report, it shows only one text as below.

I have found several solutions from Google, and it seems that there is some problems in Ghostscript. Here are the link I found.

I installed the latest Ghostscript from official site, but I need to renew the path of Ghostscript from system check of LaTeXTools, and I cannot modify it.

Hence, my questions are as following:

  1. Is this correct solution to solve equation preview problem by reinstalling GS?

  2. If it is, is my work correct? How do I modify LaTeXTools SystemCheck?

  3. Are there any easy solutions for my problems?

Thanks!

One Answer

Did you try doing "Check System" and make sure everything is properly installed? I found this comment on github very useful: https://github.com/SublimeText/LaTeXTools/issues/1148#issuecomment-429915037

Basically, somehow you need to set the .bin folder (e.g. "C:Program Filesgsgs9.24bin") of the Ghostscript into the PATH in environment variables and it would work.

Hope it helps

Answered by Albumoncate Muller on February 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP