Sublime Forum

LaTeXTools PDF won't update unless already on

#1

By the title I mean, the PDF will update if I build the code while SumatraPDF is already open. But if SumatraPDF is closed, then when I build the code, it says the texification succeeded, however the PDF will not open.

How do I get it so that when I build the code it will also open SumatraPDF (When it’s closed)?

0 Likes

#2

Is Sumatra on your path? Also, can you check the ST console (open it with ctrl-backtick) for errors?

0 Likes

#3

Well when I double click on the PDF, it would open up Sublime Text 2, so it is on the inverse command line.
And in the viewPDF.py file in the Inverse viewer CMD, I have it set to “C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe”

Here’s the whole thing

viewercmd = “C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe”, “-reuse-instance”]

This used to work before, but now it doesn’t.
I also don’t have the latest in ST2.

And what do you mean check the ST console? What’s backtick?

0 Likes

#4

Backtick is the little backward single quote. On a US keyboard, it’s under the tilde. You can also go to the View menu and select “Show Console.” That will show you the debugging console for Sublime Text, and there may be something useful there.

0 Likes