Possible Duplicate:
Prevent pdflatex from writing a bunch of files.

I use Aquamacs and TeX Live 2009 to edit my Latex files. Is there a way to define a default or project-based path where the auxiliary output of latex is put? All my latex folders are cluttered with bbl or blg files.

Is there a possible setting, that latex puts the pdf in folder A, auxiliary files in folder B and assure that the preview still knows where to find the pdf?

marked as duplicate by egreg, Werner, Joseph Wright Oct 2 '11 at 7:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Sep 29 '11 at 12:32

This question came from our site for professional and enthusiast programmers.

  • Both links are potential masters to dupe this one to - I'm not quite sure which to go for! – Joseph Wright Sep 30 '11 at 20:47
  • The question also includes where to put the pdflatex parameters in the Aquamacs setting. I came across the --output-directory=dir parameter several time, but I did not know where to specify this in Aquamacs... – Eric Oct 1 '11 at 6:24
  • This is probably far too late to help you @eric, but you can customize TeX-command-extra-options to be (for example) "--output-directory=dir". Of course, if you want dir to change for each file, then you'll have to add some elisp code to a hook etc. – Ivan Andrus Aug 10 '16 at 14:50

Browse other questions tagged or ask your own question.