# [texhax] How to make the following condition: if... then... else...?

H hre
Tue Oct 3 18:21:29 CEST 2006

```Hello, how are you.

How can I make the following condition in a .tex (main) document:
if..., then..., else...?
For example, I have this:

%...
\input{pack.tex}
%...

But, the problem it never will available. So, I pretend use if...,
then,... else... for no allowing LaTeX to make an error as follow as:

if "pack.tex" exists, then input (include) it, else ignore it.