[tex-live] IfFileExists problem? Only on Mac OS X?
Gerben Wierda
Sherlock@rna.nl
Sat, 28 Sep 2002 13:29:45 +0200
On Saturday, September 28, 2002, at 11:52 , Michel Bovani wrote:
> 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.
I think you are missing the point. europs.sty does *not* exist on my
system, so why is ClassError ever called? I also think th ecode in
g-brief is OK, after all it only tries to load europs.sty when it has
ascertained that europs.sty does exist.
G