Home Download Buy Blog Forum Support

LaTeXTools PDF won't update unless already on

LaTeXTools PDF won't update unless already on

Postby Leoragon on Fri Aug 23, 2013 10:23 pm

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)?
Leoragon
 
Posts: 3
Joined: Sat Jun 29, 2013 11:11 pm

Re: LaTeXTools PDF won't update unless already on

Postby Marciano on Sat Aug 24, 2013 6:39 am

Is Sumatra on your path? Also, can you check the ST console (open it with ctrl-backtick) for errors?
Marciano
 
Posts: 146
Joined: Fri Sep 18, 2009 2:55 am

Re: LaTeXTools PDF won't update unless already on

Postby Leoragon on Sat Aug 24, 2013 8:44 pm

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?
Leoragon
 
Posts: 3
Joined: Sat Jun 29, 2013 11:11 pm

Re: LaTeXTools PDF won't update unless already on

Postby Marciano on Sun Aug 25, 2013 4:37 pm

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.
Marciano
 
Posts: 146
Joined: Fri Sep 18, 2009 2:55 am


Return to General Discussion

Who is online

Users browsing this forum: bluejohn, Google [Bot], xeno.by and 51 guests