Davor Kosanic wrote: > Hello! > > I have installed Lyx Version 1.3.3-Win32 on a Win98 > system (with Miktex). > > Now the problem is: if I treat a graphic file with > "Gimp" for Win and save it as .ps (encapsulated or PS > Level 2) and if I want to insert it in a Lyx document, > Lyx displays a error : "Error converting to a loadable > format" > It also shuts down the SH because it tried a invalid > procedure in MSYS-1.0.DLL .
I'm sure that a quick search of the archives would have solved this one for you. Ah well, here goes again: LyX uses a system of external converters to convert a file in one format to another format. See the Edit->Preferences dialog and the Converters section therein. You can specify your own converters there which results in entries like this \converter "eps" "png" "my_ps2png $$i $$o" "" being added to your .lyx/preferences file. This statement defines a converter from eps to png format using the program my_ps2png to perform the conversion. If no explicit converter is found from your (ps) format to a format which the native GUI library (in your case Qt) can load, then lyx defaults to trying the script 'convertDefault.sh' that you'll find in the $PREFIX/share/lyx/scripts directory. ($PREFIX/bin/lyx is where you'll find the lyx executable.) In turn convertDefault.sh is just a wrapper for ImageMagick's 'convert' utility. Obviously you must have this installed for things to work. The fun and games starts on Win32 machines because 'convert' is also the name of a system executable. Something to do with re-partitioning disks. Dunno, don't use Win32. Anyway, I suspect that 1. You don't have ImageMagick's convert installed. 2. If you do, it is in a dirctory that is listed *after* the default directories in your PATH variable. 3. You are currently invoking the system executable which is bombing out. There's a web page somewhere with hints and tips for Win32 users. Go search for it and then go read it. Angus kk