On Tue, Jun 27, 2006 at 07:39:42PM -0500, Bo Peng wrote:
> >I don't know if fig_copy.sh is supposed to handle the example I am
> >attaching here, but I can't make it work neither in 1.4.2 nor in 1.5.0
> >(the picture dosn't show in the dvi output).
> 
> Under linux, using lyx -dbg graphics, I can see that the figure is
> converted by convertDefault.py, and displayed (dvi/ps/pdf) correctly.

I can see the figure in lyx, but not in dvi. This is what I get on the
terminal using -dbg graphics after View->DVI:

filetools(getFormatFromContents)
        File type not recognised before EOF!
filetools(getFormatFromContents)
        Couldn't find a known format!
insetgraphics::latex: Filename = /home/ef/rose.fig
        Message = ""
        Opts =
        Before = \includegraphics
        after =
Recognised Fileformat: fig
Recognised Fileformat: fig
Recognised Fileformat: fig
findTargetFormat: PostScript mode
         we have: from fig to eps
        the orig file is: /home/ef/rose.fig
No such picture file: figs/rose.png
        The original file is /home/ef/rose.fig
        A copy has been made and convert is to be called with:
        file to convert = 
/tmp/lyx_tmpdir50TEaqga/lyx_tmpbuf0/0_home_ef_rose.fig         from fig to eps
InsetGraphics::latex outputting:
\includegraphics{0_home_ef_rose}
pplatex: Process input file rose.dvi
pplatex: Copy data to rose.dvi

So, it cannot find figs/rose.png (but it is there, as I see the image in lyx).

> If your convert.exe is working, what is the result of convert
> fig:rose.fig ppm:rose.ppm? Is it possible that you need to install
> xfig to convert?

convert is working (this is on solaris) and I have xfig installed.
Curiously enough, it works on windows... I am baffled...

-- 
Enrico

Reply via email to