KileOne new pdf each compilation

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
paula
Posts: 4
Joined: Tue Feb 17, 2009 6:36 pm

One new pdf each compilation

Post by paula »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: One new pdf each compilation

Post by kaiserkarl13 »

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.
paula
Posts: 4
Joined: Tue Feb 17, 2009 6:36 pm

One new pdf each compilation

Post by paula »

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)? […]
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?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: One new pdf each compilation

Post by localghost »

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¹
paula
Posts: 4
Joined: Tue Feb 17, 2009 6:36 pm

Re: One new pdf each compilation

Post by paula »

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.
paula
Posts: 4
Joined: Tue Feb 17, 2009 6:36 pm

Re: One new pdf each compilation

Post by paula »

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.
Post Reply