Frédéric Wullens <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> > When I try to see eps picture in the Lyx window, Lyx uses convert.exe > (I chose to do so) in order to convert the picture as either png, or > bmp etc... formats. Having used the Lyx -dbg graphics function and > having used by hand 'convert test.eps test', I could see that convert > uses Ghostscript, perhaps to make the conversion. This is the message > (below) I get and to be honest I do not understand very much of this. > Could someone put some light on it? trying to use convertDefault.sh > instead I kind of get the same error message as the ones discussed by > Paul, Angus and Uwe last week. But I have to say that I do not really > get the level of your discussion at the moment. > Thank you for your help, Frédéric > > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > C:\Temp>convert temp.eps temp.png > AFPL Ghostscript 8.11 (2003-08-16) > Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) > Operand stack: > > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval- > - 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- fa > lse 1 %stopped_push > Dictionary stack: > --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- > Current allocation mode is local > Last OS error: No such file or directory > AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 > AFPL Ghostscript 8.11 (2003-08-16) > Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. > This software comes with NO WARRANTY: see the file PUBLIC for details. > Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) > Operand stack: > > Execution stack: > %interp_exit .runexec2 --nostringval-- --nostringval-- > --nostringval- > - 2 %stopped_push --nostringval-- --nostringval-- > --nostringval-- fa > lse 1 %stopped_push > Dictionary stack: > --dict:1104/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- > Current allocation mode is local > Last OS error: No such file or directory > AFPL Ghostscript 8.11: Unrecoverable error, exit code 1 > convert: DPS library is not available (temp.eps). > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > I have the same problem, whether I try to do the conversion from the command prompt or from within LyX. I'm suspicious about the first line of the error message: > Error: /undefinedfilename in (files\\gs\\gs8.11\\bin\\gswin32c.exe) I'm guessing you have the Ghostscript executable installed in C:\Program files\gs\gs8.11\bin. My suspicion is that the space in "Program files" is the culprit, but that leads to two questions I can't answer: 1. Where is convert getting the path to gswin32c? 2. Is there anything we can do about that space (such as escaping it)? -- Paul ************************************************************************* Paul A. Rubin Phone: (517) 432-3509 Department of Management Fax: (517) 432-1111 The Eli Broad Graduate School of Management E-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ************************************************************************* Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. J. W. v. GOETHE