On Tue, Dec 3, 2013 at 4:41 AM, Murat Yildizoglu <murat.yildizo...@u-bordeaux4.fr> wrote: > Scott, are you sure that Lyx uses EPS for showing the graphics on the > screen? I have had the impression that it was rather using a bitmap format > like PNG.
Not all formats are converted to .eps. If you insert a .png it will not be converted to a .eps. I agree that in the end to display on a screen a bitmap is more useful but I think that Qt takes care of that. If you go to Insert > Graphics and choose a .pdf, at least on Ubuntu, it is converted to a .eps. You can see this by starting LyX with lyx -dbg graphics and looking at the output. Below is some useful information from the output. Note all the way at the bottom "from_format: pdf6 to_format: eps" <<begin output to terminal>> The image loader can load the following directly: frontends/qt4/GuiApplication.cpp (215): BW, frontends/qt4/GuiApplication.cpp (215): EPS, frontends/qt4/GuiApplication.cpp (215): EPSF, frontends/qt4/GuiApplication.cpp (215): EPSI, frontends/qt4/GuiApplication.cpp (215): EXR, frontends/qt4/GuiApplication.cpp (215): PCX, frontends/qt4/GuiApplication.cpp (215): PSD, frontends/qt4/GuiApplication.cpp (215): RAS, frontends/qt4/GuiApplication.cpp (215): RGB, frontends/qt4/GuiApplication.cpp (215): RGBA, frontends/qt4/GuiApplication.cpp (215): SGI, frontends/qt4/GuiApplication.cpp (215): TGA, frontends/qt4/GuiApplication.cpp (215): XCF, frontends/qt4/GuiApplication.cpp (215): bmp, frontends/qt4/GuiApplication.cpp (215): bw, frontends/qt4/GuiApplication.cpp (215): dds, frontends/qt4/GuiApplication.cpp (215): eps, frontends/qt4/GuiApplication.cpp (215): epsf, frontends/qt4/GuiApplication.cpp (215): epsi, frontends/qt4/GuiApplication.cpp (215): exr, frontends/qt4/GuiApplication.cpp (215): gif, frontends/qt4/GuiApplication.cpp (215): ico, frontends/qt4/GuiApplication.cpp (215): jp2, frontends/qt4/GuiApplication.cpp (215): jpeg, frontends/qt4/GuiApplication.cpp (215): jpg, frontends/qt4/GuiApplication.cpp (215): mng, frontends/qt4/GuiApplication.cpp (215): pbm, frontends/qt4/GuiApplication.cpp (215): pcx, frontends/qt4/GuiApplication.cpp (215): pgm, frontends/qt4/GuiApplication.cpp (215): pic, frontends/qt4/GuiApplication.cpp (215): png, frontends/qt4/GuiApplication.cpp (215): ppm, frontends/qt4/GuiApplication.cpp (215): psd, frontends/qt4/GuiApplication.cpp (215): ras, frontends/qt4/GuiApplication.cpp (215): rgb, frontends/qt4/GuiApplication.cpp (215): rgba, frontends/qt4/GuiApplication.cpp (215): sgi, frontends/qt4/GuiApplication.cpp (215): svg, frontends/qt4/GuiApplication.cpp (215): svgz, frontends/qt4/GuiApplication.cpp (215): tga, frontends/qt4/GuiApplication.cpp (215): tif, frontends/qt4/GuiApplication.cpp (215): tiff, frontends/qt4/GuiApplication.cpp (215): xbm, frontends/qt4/GuiApplication.cpp (215): xcf, frontends/qt4/GuiApplication.cpp (215): xpm, frontends/qt4/GuiApplication.cpp (215): xv, graphics/GraphicsCache.cpp (91): LyX recognises the following image formats: graphics/GraphicsCache.cpp (98): eps graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): bmp graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): eps graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): gif graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): jpg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): jpg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): pbm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): pgm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): png graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): ppm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): svg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): tiff graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): xbm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): xpm graphics/GraphicsCache.cpp (100): insets/InsetGraphics.cpp (145): Token: '\end_inset' graphics/epstools.cpp (54): [readBB_from_PSFile] no(e)ps-format frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] insets/InsetGraphics.cpp (145): Token: 'filename' insets/InsetGraphics.cpp (145): Token: '\end_inset' Format.cpp (378): Recognised Fileformat: pdf6 graphics/GraphicsCacheItem.cpp (379): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf with displayed filename: ~/Desktop/WWS302_ECO359_Precept10_F13a.pdf Format.cpp (378): Recognised Fileformat: pdf6 graphics/GraphicsCacheItem.cpp (386): The file contains pdf6 format data. graphics/GraphicsLoader.cpp (115): LoaderQueue: waking up insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf insets/InsetGraphics.cpp (774): Message = "" insets/InsetGraphics.cpp (789): Opts = insets/InsetGraphics.cpp (796): Before = \includegraphics after = insets/InsetGraphics.cpp (808): InsetGraphics::latex outputting: \includegraphics{Desktop/WWS302_ECO359_Precept10_F13a} insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename = /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf insets/InsetGraphics.cpp (774): Message = "" insets/InsetGraphics.cpp (789): Opts = insets/InsetGraphics.cpp (796): Before = \includegraphics after = insets/InsetGraphics.cpp (808): InsetGraphics::latex outputting: \includegraphics{Desktop/WWS302_ECO359_Precept10_F13a} graphics/GraphicsLoader.cpp (90): LoaderQueue: 1 items in the queue graphics/GraphicsCacheItem.cpp (409): Converting it to format. graphics/GraphicsCacheItem.cpp (379): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf with displayed filename: ~/Desktop/WWS302_ECO359_Precept10_F13a.pdf Format.cpp (378): Recognised Fileformat: pdf6 graphics/GraphicsCacheItem.cpp (386): The file contains pdf6 format data. graphics/GraphicsConverter.cpp (127): Converter c-tor: from_file: /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf to_file_base: /tmp/lyx_tmpdir.uzRyUGyP3643/CacheItem.RuwGmfto3643 from_format: pdf6 to_format: eps graphics/GraphicsConverter.cpp (272): build_script ... graphics/GraphicsConverter.cpp (395): ready! graphics/GraphicsConverter.cpp (142): Conversion script: [...] infile = "/tmp/lyx_tmpdir.uzRyUGyP3643/gconvert0.dnBNQKck3643.pdf" infile_base = "/tmp/lyx_tmpdir.uzRyUGyP3643/gconvert0.dnBNQKck3643" outfile = "/tmp/lyx_tmpdir.uzRyUGyP3643/gconvert0.dnBNQKck3643.eps" <<end output from terminal>> Best, Scott