I am using Linux Mint 18, compiling with
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016) and Xreader to view PDF files.
Some days ago I observed that the viewer closes when I compile using TeXstudio. I asked about this on SourceForge and I got from Tim:
Tim Hoffmann - 2016-09-28
This is on purpose. Some PDF viewers keep a file handle to the file they display and thus would prevent generation of a new PDF during compilation.
Therefore, TXS closes external pdf viewers prior to a compilation. This does only work with viewers opened from within TXS because they are a subprocess we can control. We cannot influence viewers opened in another way.
But today I observed that even if I compile from terminal with
pdflatex the PDF viewer closes. This is annoying since I have to open it everytime after compiling.
Is there some change on
pdflatex? TeXLive is updated.