> I tried to compile > the sampfoil.tex that comes with the distribution and it compiled fine > in the directory where I generated them, but failed to compile if the > source file is copied to another directory. see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages+wherefiles