On Mon, Dec 16, 2002 at 07:30:05PM +1100, John Sheahan wrote: > I am using fancyhdr on lyx 1.2.1 (and 1.2.2cvs) to put a > graphic in the header. > > the original graphic is a jpg. I've mapped it to a few > formats with 'convert'. > > I find if I include it as an eps file, I can run view->dvi > as a jpg or png I can run view -> pdf(pdflatex) > > But I cannot find a format that works both ways.
Create both JPG and EPS files (if you use convert, use 'convert file.jpg eps2:file.eps') and then write \includegraphics{file}, namely you should omit the suffix. BTW, why do you want to use pdflatex ? You get similar results with view->pdf