Thanks Aditya, that worked perfectly. Roger Aditya Mahajan <aditya.mahajan at alumni.iitk.ac.in> writes: > \DeclareGraphicsRule is defined in graphicx.sty. You are using the > declaration before including the package. Just put the line > > \usepackage{graphicx} > > before \DeclareGraphicsRule > > and it should work fine. > > HTH, > Aditya