Hi,
I would like to say if someone known if it exist a command in latex that "understand" if a .tex file exist.
What i would like to have, is the possibility to include in my document a file if it exist in a certain path.
I have note thet the command \include is able to do this because whn i compile the main file, if it not find a .tex file ( \include{myfile.tex} ) it ignore it. But the command \include begin a newpage, and i don't want it.
The command \input not start a new page, but it return an error in the compile phase..
So i would like to do is a sort of
\ifexist{myfile.tex}
\input{myfile.tex}
\fi
Thank you
General ⇒ include .tex file only if it exist
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: include .tex file only if it exist
Thank you very much, exactly what i search!
I have explore the forum and also google this morning, but i haven't find this post.
Thank you
I have explore the forum and also google this morning, but i haven't find this post.
Thank you