GeneralClean the temp files after compile Latex?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ohenri100
Posts: 8
Joined: Tue Aug 03, 2010 7:49 am

Clean the temp files after compile Latex?

Post by ohenri100 »

*SOLVED*

Hi all,
I wonder if we can auto delete the temp file as *bak, *mtc,... after compiling finished.
I use MikTex. Windows.

Solve:I think to clean the temp files: log, bak...after compiling.
You must creat bat file with content:

del *bak
del *log
......

Sincerely.
Last edited by ohenri100 on Tue Aug 31, 2010 7:23 am, edited 1 time in total.
Who I am?

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Clean the temp files after compile Latex?

Post by frabjous »

A lot of editors have this feature. What editor are you using?
ohenri100
Posts: 8
Joined: Tue Aug 03, 2010 7:49 am

Re: Clean the temp files after compile Latex?

Post by ohenri100 »

I use texmaker and Vietex.
Vietex is a useful tex editor of Vietnamese.
Who I am?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Clean the temp files after compile Latex?

Post by frabjous »

Texmaker has a 'clean' option under 'tools' that does this, though I don't see a way of making it do it automatically after each compilation (though I suppose you could achieve that effect by writing a batch file that compiled and then deleted the auxilliary files afterwards and use it as your custom compilation command). There are some other editors that can be set up to do this however. (Kile comes to mind; I'm not sure which others.)
ohenri100
Posts: 8
Joined: Tue Aug 03, 2010 7:49 am

Re: Clean the temp files after compile Latex?

Post by ohenri100 »

Dear frabjous,

Thank you very much.
I think that I should write a bat file.

The content of bat file:

del *log
del *bak
.....

Sincerely.
Who I am?
Post Reply