On Tuesday 03 February 2004 1:21 pm, Raphael Clifford wrote: > Angus Leeming wrote: > >Run "lyx -dbg graphics" from the console to see what lyx is doing > > with your images. > > Thx. That is very interesing. Here is the output. It seems it using > convert if you look at the shell script. > > "Recognised Fileformat: eps > [GrahicsCacheItem::convertToDisplayFormat] > Attempting to convert image file: > /home/raph/docs/approx-pic.eps with displayed filename: > ~/docs/approx-pic.eps > Recognised Fileformat: eps > > The file contains eps format data. > Unable to convert from eps to bmp > Unable to convert from eps to gif
Means that you haven't explicitly defined a converter... > Unable to convert from eps to xpm So we default to using the convertDefault.sh script to generate a PPM file. > Converting it to ppm format. > Converter c-tor: > from_file: /home/raph/docs/approx-pic.eps > to_file_base: > /tmp/lyx_tmpdir18410eIETRx/approx-pic184106RVrbT from_format: eps > to_format: ppm > build_script ... ready (edgepath.empty()) > No converter defined! I use convertDefault.sh > sh /usr/share/lyx/scripts/convertDefault.sh > eps:/home/raph/docs/approx-pic.eps > ppm:/tmp/lyx_tmpdir18410eIETRx/approx-pic184106RVrbT.ppm > Unrecoverable error: rangecheck in .putdeviceprops > Unrecoverable error: rangecheck in .putdeviceprops > convert: Postscript delegate failed [No such file or directory]. > Image conversion succeeded. > Unable to find converted file! Which failed. > That is really odd. I can't have a buggy imagemagick AND a buggy > dvips on this standard fedora system can I? Why not get convertDefault.sh to copy the eps file someplace so that you can test this file at your leisure? > I think there might have been > another misunderstanding as well. I am converting the approx-pic > latex file to an eps to be included in a lyx document. Why? Why not include the latex file and then run latex over the combined file? Anyway, that's a side issue. Angus
