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.
When I open a gif-Image, the debug window says:

----------------------------------------------------------------------------
------
Recognised Fileformat: gif
Recognised Fileformat: gif
[readBB_from_PSFile] no(e)ps-format
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
[controller().bb_Changed set to true]
Recognised Fileformat: gif
[GrahicsCacheItem::convertToDisplayFormat]
        Attempting to convert image file:
C:/lyxdokumente/.lyx/clipart/Gauss.gif

        with displayed filename: C:/lyxdokumente/.lyx/clipart/Gauss.gif
Recognised Fileformat: gif

        The file contains gif format data.
Unable to convert from gif to bmp
Unable to convert from gif to pbm
Unable to convert from gif to pgm
        Converting it to png format.
Converter c-tor:
        from_file:      C:/lyxdokumente/.lyx/clipart/Gauss.gif
        to_file_base:
C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/Gauss1156a009
00
        from_format:  gif
        to_format:    png
build_script ... ready!
        Conversion script:
--------------------------------------
#!/bin/sh
infile="C:/lyxdokumente/.lyx/clipart/Gauss.gif"
infile_base="C:/lyxdokumente/.lyx/clipart/Gauss"
outfile="C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/gconvert11156a00900.pn
g"

convert ${infile} ${outfile} ||
{
        'rm' -f ${outfile}
        exit 1
}

if [ ! -f ${outfile} ]; then
        if [ -f ${outfile}.0 ]; then
                'mv' -f ${outfile}.0 ${outfile}
                'rm' -f ${outfile}.?
        else
                exit 1
        fi
fi

fromfile=${outfile}
tofile="C:/lyxdokumente/lyx/tmp/lyx_tmpdir1156a00900/Gauss1156a00900.png"

'mv' -f ${fromfile} ${tofile} ||
{
        'cp' -f ${fromfile} ${tofile} ||
        {
                exit 1
        }
        'rm' -f ${fromfile}
}

--------------------------------------
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!
----------------------------------------------------------------------------
----

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.

Has anybody an idea why this happens?

regards Uwe


Reply via email to