Closed NeoFantom closed 5 years ago
The expected behavior is that if the compilation fails the the error message should be "Failed to run pdflatex to create pdf to preview" and the report should contain the latex file and the whole compilation log. I am not sure why your error occurs. It might be the case that it the compilation created a broken oder empty pdf.
The expected behavior is that if the compilation fails the the error message should be "Failed to run pdflatex to create pdf to preview" and the report should contain the latex file and the whole compilation log. I am not sure why your error occurs. It might be the case that it the compilation created a broken oder empty pdf.
How can I clean up the temp files created for compilation?
They’re deleted automatically. No intervention is required (we only keep the generated PNGs.
Are you using the preview build? I think it has better handling for this situation.
They’re deleted automatically. No intervention is required (we only keep the generated PNGs.
Are you using the preview build? I think it has better handling for this situation.
I'm using sublime 3.2.1, the latex stable version. Are u suggesting me to use the preview version of Sublime Text?
No not a preview version of ST, but of the LaTeXTools package. Basically, this issue seems to be a duplicate of #1148. In particular, for TeXLive 2017 on Windows the bundled Ghostscript version doesn't work. The easiest solution is to just install Ghostscript either via the installer there or Chocolatey. However, if you use the preview version of LaTeXTools, which may be unstable, this issue should be fixed there.
No not a preview version of ST, but of the LaTeXTools package. Basically, this issue seems to be a duplicate of #1148. In particular, for TeXLive 2017 on Windows the bundled Ghostscript version doesn't work. The easiest solution is to just install Ghostscript either via the installer there or Chocolatey. However, if you use the preview version of LaTeXTools, which may be unstable, this issue should be fixed there.
I do have the standalone Ghostscript installed on my PC and the path variable is set. But latexTools check system
still shows only the builtin version of gs in latex. How to cope with that?
You can see the PATH
variable as LaTeXTools sees it by running the Check System command. This, in turn, is controlled by the "texpath"
setting which, by default, is blank on Windows, but if you've set it to a non-blank, should have $PATH
or %PATH%
in it somewhere.
Math preview isn't working. As this picture shows:
When I run check system, everything is OK:
When I run show report, it shows only one line:
Failed to convert pdf to png to preview.
What is the problem?