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

Martin Schröder martin at oneiros.de
Tue Oct 3 23:52:59 CEST 2006


2006/10/3, Philip TAYLOR <P.Taylor at rhul.ac.uk>:
> Maybe use \openin and \ifeof to test ?

Phil,
please stop givin Plain answers to LaTeX users. It does more bad than good.

Also PLEASE stop top-posting.

> H wrote:
>
> > How can I make the following condition in a .tex (main) document: if...,
> > then..., else...?
> > For example, I have this:
> >
> > %...
> > \input{pack.tex}
> > %...

\InputIfFileExists(pack}{}{}

See also the clsguide.

Please read the LaTeX companion.

Best
   Martin


More information about the texhax mailing list