# [texhax] [read this] How to make the following condition: if..., then..., else...

H hre
Tue Oct 3 18:26:22 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 be available. So, I pretend to use
if..., then,... else... for no allowing LaTeX to make an error as

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