Hi,
My problem is that each time I compile a tex I get a new pdf. I would like kile to make dissapear the old pdf and display the new one instead of getting a pdf each time I compile the article.
How can I do that?
Thank you very much in advance.
Kile ⇒ One new pdf each compilation
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: One new pdf each compilation
While I'm not familiar with Kile, I'm still having trouble understanding exactly what is happening. Are you saying that every time you generate the PDF, you get a different file (and thus you have quite a collection of PDF's polluting your working directory)? If so, that's definitely a setting in whatever program you're using to start PDF(La)TeX, because those programs by default overwrite the PDF.
If you simply mean that you have to close the PDF viewer and load it again to see changes, then you may be able to use the re-load function of your PDF viewer instead. It depends on which viewer you use. You have xpdf (press "r" to reload) or evince (press "ctrl-r" to reload) on GNU-based systems. gpdf may or may not have a re-load function. Acrobat reader is fairly annoying in lacking this feature, so in that case you'll have to re-open the file each time. Unfortunately, there isn't much of a way around this unless Adobe implements the new feature.
If you simply mean that you have to close the PDF viewer and load it again to see changes, then you may be able to use the re-load function of your PDF viewer instead. It depends on which viewer you use. You have xpdf (press "r" to reload) or evince (press "ctrl-r" to reload) on GNU-based systems. gpdf may or may not have a re-load function. Acrobat reader is fairly annoying in lacking this feature, so in that case you'll have to re-open the file each time. Unfortunately, there isn't much of a way around this unless Adobe implements the new feature.
One new pdf each compilation
That's exactly my problem (I'm sorry I didn't express myself very good). I use the program KPDF, does anyone knows how to change the settings in it to solve the problem?kaiserkarl13 wrote:[…] Are you saying that every time you generate the PDF, you get a different file (and thus you have quite a collection of PDF's polluting your working directory)? […]
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: One new pdf each compilation
Just tell us how these files are named and attach the code that's causing this mess. Try to compile another document and see if this effect also occurs. If so, there is a systematic failure.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: One new pdf each compilation
The problem happens with all my tex documents. I used to use Miktex in Windows (with Winshell, WinEdt or TeXnicCenter) and it didn't happen before. When I compile a tex (pdfLatex+ViewPdf) I get my pdf. If I compile it again the pdf I had is updated and I get a new one. This happens when I use KPDF in ViewPdf.
If I use Acrobat, I compile, I change the tex and compile again, then the Acrobat freezes up.
I tried to use Latex+ViewDvi, but it doesn't work either. When I compile no dvi document is generated.
If I use Acrobat, I compile, I change the tex and compile again, then the Acrobat freezes up.
I tried to use Latex+ViewDvi, but it doesn't work either. When I compile no dvi document is generated.
Re: One new pdf each compilation
I think I have solved it. In Settings->Configure Kile->Tools->Build->(Select a tool)View PDF-> Advanced->Type
I chose "Run sequence of tools" and it seems it finally works.
I chose "Run sequence of tools" and it seems it finally works.