Ask for help.
I appreciate it very much if someone can tell me if there is command that I can redirect my PDFLaTeX output into a used defined file.
Thanks in advance
General ⇒ Redirection of PDF Output File
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Redirection of PDF Output File
Call the compiler with the (additional) command line parameter
Thorsten
-output-directory
and specify an output folder.
Code: Select all
pdflatex -output-directory=path/to/your/output/folder document
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Redirection of PDF Output File
Additionally to Thorsten answer: you can also use the option
Regards
--jobname <name>
in order to use a different name for the output files than for the input file. Note that <name>
must be without extension as it is used as a base name for output and auxiliary files.Code: Select all
pdflatex --jobname outputname --output-directory=path/to/your/output/folder document
site moderator & package author