André Bonhôte wrote: > Hi > > I have just re-installed LyX (1.4.3) on my MacBook. I have copied my > layout file to the correct location and ran reconfigure. After that, > I have tried to open and pdf'ize an old document. > > In the preamble, I have > > \AddToShipoutPicture{\BackgroundPicture{./Paper}{0}}
Because of changed directory handling in LyX you might need to change this to \AddToShipoutPicture{\BackgroundPicture{Paper}{0}} > Paper.jpg is in the working directory and looks fine. I have tried > several different image formats before, including eps, but jpegs give > the smallest pdfs and (IMHO) the best look. I know that it used to > work on my old Mac with LyX 1.3. Unless paper.jpg is a photo it would look even better in png format, and normally only slightly increase the pdf size, if at all. > But now it says: > > "LaTeX Error: File `./Paper` not found. > > and > > \newpage > {} > I could not locate the file with any of these extensions: > .eps,.ps,.eps.gz,.ps.gz,.eps.Z > Try typing <return> to proceed. > If that doesn't work, type X <return> to quit. That means that you used latex rather than pdflatex to compile the document. pdflatex can embed .jpg images directly (and png and pdf, too), but latex can only embed .eps images. Don't you have a format "PDF (pdflatex)" in the view menu? This should work. > Of these, LyX recognises the following formats: > bmp, jpg, pbm, pgm, png, ppm, xbm, xpm > > So, actually it should be able to load my jpeg, but it doesn't. This debug info is only for display of images that you include with the graphics inset in LyX itself. Georg