[texhax] Making a condition in LaTeX (if..., then..., else)

HRE hr
Sun Oct 1 02:54:55 CEST 2006

Hello, how are you.

How can I make the following condition:
For example, I want this:

If the Package "pack.sty" exists, then include it in the main document .tex
Else, ignore it.

In other hands: I have this in the main document .tex (maindoc.tex):

\include{pack.sty}  % If this package exists, then include it, else ignore

So, what are the steps to follow for making this condition.

That's all. Thank you, very much. Have a good day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20060930/84bd5a98/attachment.html 

More information about the texhax mailing list