Texmaker and TeXstudio ⇒ Redirecting Output Files
Redirecting Output Files
Is it possible to redirect the output files of PDFLaTeX in various folders?
For example:
if I have my a.tex file in "\" I want all the useless (for me) stuff automatically created (.gz, .lot, .lof, .aux, .toc, .log) in a proper folder let's say "\tmp\a" and the ".pdf" file in another folder, let's say "\pdf".
So if in "\" I've a.tex and b.tex I'll have a.pdf and b.pdf in "\pdf" and all the other stuff respectively in "\tmp\a" and "\tmp\b".
Is it possible to do that using TeXMaker (on Ubuntu) and the built-in PDFLaTeX or I've to create a script myself to run after PDFLaTeX?
Thanks a lot!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Redirecting Output Files
These files are far from being useless. They contain very important information that is needed during the compilation process.ascatem wrote:[…] I want all the useless (for me) stuff automatically created (.gz, .lot, .lof, .aux, .toc, .log) in a proper folder let's say "\tmp\a" and the ".pdf" file in another folder, let's say "\pdf". […]
Open a terminal and call the man page of PDFLaTeX.
Code: Select all
man pdflatex
Code: Select all
pdflatex -help
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10