When one has a lot of documents for a single project, it gets important not to lose the overview. I use \usepackage{auto-pst-pdf} together with pdflatex and it works fine in principal. However, the images are always created in the same folder as my .tex files (with the suffix "-pics.pdf") and I seem not able to change this default behavior. This makes my main folder really crowded. My question is: How can I change where my "temporary" .pdf files are saved and how they are called when I use \usepackage{auto-pst-pdf}?
For \usepackage{pst-pdf} there exists an option \edef\PDFcontainer{...}, with which one can define such a file name and path. Nevertheless, this does not work for the auto version, where there appear to be other definitions like \edef\pics{...} and \def\suffix{}, but those dont work as expected. I am sure it is pretty easy to solve my question, but I do not seem to get it.
Additional note: The option \usepackage[cleanup={log,dvi,ps,pdf}]{auto-pst-pdf} deletes all temporary files except for the temporary .pdf files "*-pics.pdf".
\makeatletter\app@remove@container\makeatotherafter every\end{pspicture}. It deletes the temporary files of this picture. This command seems not to be evoked after the compilation and I consider it a bug that the cleanup does not work properly. – Hendrik Nov 28 '11 at 19:23xelatexthen you do not need a container. However, the sense of keeping the file is that you do not need to create with every LaTeX run the images. After the first run, you can use the optioninactive. – Herbert Nov 28 '11 at 20:20