[tex-live] IfFileExists problem? Only on Mac OS X?

Michel Bovani michel.bovani@wanadoo.fr
Sat, 28 Sep 2002 11:52:48 +0200


Le 28/09/02 10:54, « Gerben Wierda » <Sherlock@rna.nl> a écrit :

In g-brief :
 
> \ifx \eurofontname\eurofontnone
> \IfFileExists{europs.sty}
>  {\RequirePackage{europs}}
>  {\ClassError{g-brief}
>    {Can't load package europs.sty !!!}}
> \fi

You obtain
 
> ! Class g-brief Error: Can't load package europs.sty !!!.

It is absolutely normal : \ClassError generates ... an error.

So I think the problem is with the g-brief class which sould use
\ClassWarning instead of \ClassError (I think...) at least for europs and
marvosym.

Note that there is an error in g-brief anyway because \ClassError needs a
third argument which is the error message...

-- 
Michel Bovani