On Tue, Jan 10, 2006 at 08:53:55PM +0100, Georg Baum wrote: > Indeed. I attach an updated patch.
--- src/graphics/GraphicsCacheItem.C 2 Nov 2005 20:11:36 -0000 1.66 +++ src/graphics/GraphicsCacheItem.C 10 Jan 2006 20:10:16 -0000 @@ -335,8 +335,10 @@ string const findTargetFormat(string con typedef lyx::graphics::Image::FormatList FormatList; FormatList const formats = lyx::graphics::Image::loadableFormats(); - // There must be a format to load from. - BOOST_ASSERT(!formats.empty()); + // Use the standard converter if we don't know the format to load + // from. + if (!formats.empty()) + return string("ppm"); return "ppm"; is less line noise. Andre'