Contents
How to create an output directory in pdflatex?
Since Texmaker 3.4, you can specify the option “Use a build directory for output”, which creates a “build” folder in your project folder, and saves everything but the .tex file there. See the manual Now you can also specify the output directory as an option to pdflatex as e.g. -output-directory pdf.
What happens when pdfLaTeX reads a.tex file?
When pdflatex reads your .tex file, it reads the ef first. Now, it doesn’t know what to do with this ref: it hasn’t yet encountered what it’s referring to. Now when pdflatex reaches the label, it makes a note of what the label is referring to.
How is an aux file used in pdfLaTeX?
Then, on a second pdflatex run, when it reaches the reference, it looks in the .aux file and it knows what it is supposed to refer to and can substitute in the relevant text. Auxiliary files are used for lots of other similar things (like tables of contents, lists of figures and so on).
What should the output folder be in MikTeX?
Especially the log file contains valuable information about errors in the source. So these files aren’t just produced to fill disk space, but have a certain purpose. Running MiKTeX, you can redirect these files to another folder and specify a certain output folder [1]. this is nice. -aux-directory=”c:/temp” works for me.
https://www.youtube.com/watch?v=ORqbmDz84BQ
You can define an output directory for all files using the -output-directory command line argument of pdflatex. After compilation you can then move the PDF in the current directory. With MiKTeX, you can specify a directory in which all the auxiliary files are put (but not the PDF output) by using the -aux-directory command line argument.
Why do I need auxiliary files in pdflatex?
Auxiliary files are used for lots of other similar things (like tables of contents, lists of figures and so on). They are annoying, but deleting them after each run would break things.
What does the.snm file do in pdflatex?
The .snm file is to assist you with including images of slides into an article version of the document. The .nav file assists in creating navigation bars on slides. Beamer is not apparently set up to suppress writing those files if they are not needed (i.e., if you do not need the functionality they enable).