Yes, moving the file test.lyx to C:\ solves the problem. The path to test.lyx is fairly long. It's located five directories deep. The path consists of 68 characters, including C: and "\", plus the file name. I have changed figure name to be only one character long, but that did not help.

This is what I get when I run "set" from command line:

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\LEOBEL~1>set
COMSPEC=C:\WINDOWS\SYSTEM32\COMMAND.COM
ALLUSERSPROFILE=C:\DOCUME~1\ALLUSE~1
APPDATA=C:\DOCUME~1\LEOBEL~1\APPLIC~1
CLIENTNAME=Console
COMMONPROGRAMFILES=C:\PROGRA~1\COMMON~1
COMPUTERNAME=LEO
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Leo
LOGONSERVER=\\LEO
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PADS_PROGRAMS=Programs
PADS_ROOT=C:\Program Files\Mentor Graphics\PADS\2005_1
PATH=c:\lyx\IMAGEM~1;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\
PROGRA~1\MENTOR~1\PADS\2005_1\Programs;c:\lyx\ly
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0303
PROGRAMFILES=C:\PROGRA~1
PROMPT=$P$G
SESSIONNAME=Console
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
USERDOMAIN=LEO
USERNAME=Leo
USERPROFILE=C:\DOCUME~1\LEOBEL~1
BLASTER=A220 I5 D1 P330 T3

Does not look like a lot of variables?

Thank you
Leo

Ok, this makes me return to my theory that you are somehow running out of environment space. That would be consistent with the batch file symptoms, although why it would affect just the one Postscript image is a mystery, as is why freeing space by eliminating some of the other environment variables did not fix things. Is the path to test.ps fairly long? If so, do you cure the problem by copying test.ps to a directory with a shorter path (say C:\temp) and pointing test.lyx at the copy?

I tried the -debug All option in ImageMagick. Amazingly enough, it gives no information I can see about calls to Ghostscript, let alone what arguments are being passed.

/Paul





Reply via email to