GeneralRedirection of PDF Output File

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
deathlypest
Posts: 12
Joined: Fri Feb 01, 2013 11:39 pm

Redirection of PDF Output File

Post by deathlypest »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

Call the compiler with the (additional) command line parameter -output-directory and specify an output folder.

Code: Select all

pdflatex -output-directory=path/to/your/output/folder document

Thorsten
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Redirection of PDF Output File

Post by cgnieder »

Additionally to Thorsten answer: you can also use the option --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
Regards
site moderator & package author
Post Reply