I've been a relatively long-time user of TeXnicCenter, and whenever I recompiled a tex file to PDF and viewed the output in that program, I would get an updated version of the PDF that was already open.

I started using Kile and realized that whenever I tried doing the same thing, Kile would open a new PDF file, even if an older version of the PDF was already open. I was wondering if there is some way to change this, so that the old PDF file becomes updated, and so that I wouldn't end up with multiple versions of the same PDF open.

If you have the PDF open and then compile by pressing PDFLaTex the old PDF gets updated. There is no need to press ViewPDF. Pressing ViewPDF (or compiling with QuickBuild) creates another PDF. I don't see any way to change that through configuring Kile or Okular.
–
DJPJul 27 '11 at 6:25

Oh, I see. I guess that was just a habit that carried over from before. Thanks for the help!
–
user3129Jul 28 '11 at 5:54

2

@DJP Could you make you make your comment into an answer?
–
Torbjørn T.Oct 1 '11 at 21:06

Done. Should these comments to the original post be removed as well?
–
DJPOct 1 '11 at 23:19

Under "ViewPDF" there is a configuration "Okular unique", which seems to do what you want; unfortunately, it is not very convenient, since it reloads the file in the same okular window, but at the first page each time. On the other hand, letting okular just refresh the file, as suggested by @DJP, retains your view.
–
nplatisMay 9 '13 at 7:26

I had the same problem too, and it drove me crazy. Here is a fix that might work. I use evince as the default pdf/ps viewer in Kile, the default in my installation was Okular.
You can go to Tools> Configure Kile> Buid > ViewPdf and change command to evince. Of course you must have evince in installed.

I've been annoyed by that problem, too. Unfortunately, I don't see any way to prevent the behavior through configuring Kile or the PDF viewer (Okular for me).

But if you want to avoid having multiple PDFs being created, don't compile with QuickBuild. Compile with PDFLaTeX and click on the old PDF file and you will find it has been updated. Do not press ViewPDF or another PDF viewer instance is created.