GeneralChanging the output file name

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Re: Changing the output file name

Post by T3. »

Ah, I think now I get it. You want to specify the name of the output file using a conditional statement. Unfortunately, it's not possible. The first line with switches is logically being a part of the command line and not TeX instruction stream. Once TeX engine starts it's job of grinding through the typesetting instructions it's to late to specify job name. But as you say, it's not a big deal to comment/uncomment a line or two of code.

Cheers,

Tomek

Recommended reading 2024:

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

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

Post Reply