Hi,

I get "Error converting to loadable format" on the canvas, when I try
to load an eps file. Though the figure is not visualized on the
LyX-canvas, it is correctly displayed when viewed in DVI or Postscript
format. The problem only appears with 1.3.0cvs, not with 1.2.0.

I can solve it by manually adding an EPS to XPM converter:
   From: EPS
   To:   XPM
   Converter: convert EPS:$$i XPM:$$o

Why is this EPS conversion not there by default?


Here is some more info from my lyx version and "lyx -dbg graphics":

LyX 1.3.0cvs of Fri, May 3, 2002
Built on Jul 11 2002, 12:54:13
Configuration
  Host type:                      i386-unknown-freebsd4.5
  Special build flags:            warnings assertions
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  C++ Compiler:                   g++ (2.95.3)
  C++ Compiler flags:             -g -O -Wno-non-template-friend -W -Wall
  Linker flags:                   
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             1.0.0
  LyX binary dir:                 /opt/bin
  LyX files dir:                  /opt/share/lyx

-----------------------------------------
Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Recognised Fileformat: xpm
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file: /opt/share/lyx/images/banner.xpm
        with displayed filename: /opt/share/lyx/images/banner.xpm
Recognised Fileformat: xpm

        The file contains xpm format data.
        No conversion needed (from == to)!
Loading image.
Image loading succeeded.
update:: no BoundingBox
[FormGraphics]out_name: ADSORB/PRL/submission/figure1.eps
update:: no BoundingBox
        eps detected -> test for an epsi ...
Recognised Fileformat: eps
        eps detected -> test for an epsi ...
Recognised Fileformat: eps
        eps detected -> test for an epsi ...
Recognised Fileformat: eps
[readBB_from_PSFile] 0 0 581 828
        eps detected -> test for an epsi ...
Recognised Fileformat: eps
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file:
/home/lahaye/ADSORB/PRL/submission/figure1.eps
        with displayed filename: ~/ADSORB/PRL/submission/figure1.eps
        eps detected -> test for an epsi ...
Recognised Fileformat: eps

        The file contains eps format data.
        Converting it to xpm format.
Converter c-tor:
        from_file:      /home/lahaye/ADSORB/PRL/submission/figure1.eps
        to_file_base: /tmp/lyx_tmpdir33257IoXk6g/figure133257mPFWbt
        from_format:  eps
        to_format:    xpm
build_script ... ready (edgepath.empty())
Image conversion failed.
Unable to find converted file!


Regards,
Rob.

Reply via email to