[Tex/LaTex] Display PDF when open Tex File TexStudio

texshoptexstudioviewers

I have a really heavy tex file that i'm still working on. Every time a start my computer and open for 1st time the tex file with TexStudio I have to compile it in order to view the PDF, even when the PDF file already exist. This annoying specially because it takes a long time to compile. TexShop on mac for example automatically opens the PDF associated with the tex file at startup. Is there a way to achieve this with TexStudio on windows?

Best Answer

I use TeXstudio on Linux, but I suppose it's the same. There is a toolbar icon, three to the right of "Build and compile", which is "View". Alternatively, on the menu "Tools" -> "View", or just F7. These will show you the previously compiled pdf, once you are within TeXstudio.

As mentioned by samcarter in the comments, TeXstudio has an option to "Restore previous session at startup" which does what the name says, and automatically shows the pdf of open files. TeXstudio also displays the pdf on the viewer of a newly opened file, provided it had been previously compiled.

To access the "Restore previous session at startup" go to "Options -> Configure TeXstudio", check "Show advanced options" on the left bottom corner. The option is then available in the "General" tab.