When I run pdflatex on a tex file foo.tex it creates the following files
foo.auxfoo.logfoo.outfoo.pdf
and it always bothers me that the *.aux, *.out and *.log files mess up my directories.
Having this said the following questions arose to me:
- What is the significance of the
*.auxand*.outfiles? - Can I run
pdflatexwith some options to delete these files after the.pdffile is created or make it prefix them with a dot (like.foo.aux) so they are hidden on NIX-systems? - Can I make
pdflatexstore the*.logfile somewhere in/var/loginstead?
/var/logshould be writeable only by root, you cannot write the log file there unless you are compiling as root which would be an exceptionally stupid thing to do. – cfr Apr 04 '15 at 23:56.foodirectory since they make the directory look kind of messy.Also, I do not simply move them around manually but rather asked if
pdflatexprovides options to place them in a different fashion.
– Simon Fromme Apr 05 '15 at 00:00/var/logwas meant to be an example for "another place" on the system. For example in a/home/user/.logdirectory or so.pdflatexprovides a mechanism to store these files in a different fashion (name/location). – Simon Fromme Apr 05 '15 at 00:06-tex-aux= directory. The simplest is to use a subditectory of the current directory, e.g.TeXaux, if your system allows creating it on the fly when this directory does not exist. So you'll see only one directory in the current directory (+ the synchronisation files). – Bernard Apr 05 '15 at 00:09pdfTeX 3.1415926-2.5-1.40.14which does not have this compiler switch. It is neither documented in the man page nor did it work when I tried. – Simon Fromme Apr 05 '15 at 00:19-output-directorybut attempting to use it will complicate things enormously for very little gain. (Just because the files are written there, doesn't mean that they'll be found there.) – cfr Apr 05 '15 at 01:05-aux-directory=DIRis a miktex speciality but I never used it: It is easy to hide or filter out some file types in open dialogs and similar if one really don't want to see them (but hiding has drawbacks: it is difficult to support people if their overeager tex editor hides the log-file.) – Ulrike Fischer Apr 05 '15 at 10:45*.texin the open dialog. – Ulrike Fischer Apr 05 '15 at 10:55