Uwe St�hr wrote:

> I added converters for all important image formats -> EPS and -> PNG
> (except JPG -> PNG (when I add this, JPG could no longer displayed
> insinde LyX, the same Problem like the descripted GIF problem. But
> it's not necessary to have a converter for this.))
> Now I can export the documents to DVI or PDF.
> But there ist still a problem:
> All image formats except of GIF can be displayed inside LyX.

I take it that this means that your Qt library doesn't handle gif 
images itself. That's not surprising given the LZW patent issues. Ah 
well...

> When I open a gif-Image, the debug window says:

> Unable to convert from gif to bmp
> Unable to convert from gif to pbm
> Unable to convert from gif to pgm

This means that no converter from gif to bmp etc defined. Fair enough.

>         Converting it to png format.

LyX has found a converter from gif to png format. It writes a little 
shell script to do this and gets the shell to do the work.

> #!/bin/sh

[snipped the contents of the shell script...]

All looks Ok. The script will take your file
        C:/lyxdokumente/.lyx/clipart/Gauss.gif
and use 'convert' to generate
        C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/gconvert11156a00900.png

> C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/lyxconvert1.sh:
> C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/lyxconvert1.sh: 
> No such file or directory
> LyX: Child (pid: 616) stopped on signal 0. Waiting for child to
> finish. LyX: Error waiting for child: No child processes
> Image conversion failed.
> Unable to find converted file!

So, for reasons yet to be understood, LyX is either not creating the 
shell script or isn't putting it in the expected place.

> I added converters GIF -> BMP, PBM, PGM and PPM, but the error
> message is always the same. But when I delete the converter GIF ->
> PNG, the image is shown inside LyX.

Because LyX will use the 'convertDefault.sh' wrapper script, which it 
_can_ find.

So, you have a working system, but it would be nice to understand what 
is going wrong. Can you dig further?

-- 
Angus

Reply via email to