Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

is there a way to pass a command in the .emacs so the Aquamacs to trash all the auxiliary files keeping only pdf and tex in the folder?

share|improve this question
3  
Why would you want to do that? It just means you have to run latex more times next time you edit it? –  David Carlisle Jun 26 at 18:00
2  
1  
Trashing auxiliary files only makes (little) sense when the document is in its really-really-no-more-changes; until that time, the auxiliary files mustn't be trashed, because they're used in the next run of TeX. –  egreg Jul 5 at 21:33

1 Answer 1

If you put \nofiles in your preamble then you will not generate any aux files.

share|improve this answer
1  
Technical note: This does not delete auxiliary files (as requested by the OP), it prevents their creation in the first place. –  Paul Gessler Jun 26 at 18:47
    
Thanks for the advices. But I noticed that by using \nofiles in the preamble, it still creates some extra files in the folder. –  user45367 Jun 26 at 22:25
    
I meant, it would be nice to hear an automagically solution for "when Aquamacs close, delete all created auxiliary files." –  user45367 Jun 26 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.