Dear all, Following Ross Moore's suggestion, I carefully checked the output of "test -debug" and found more clues. The following is the output of the process of one image:
Converting image #3 Debug (syswait): Running "C:\Perl\bin\perl.exe C:\latex2html-2002-2-1\pstoimg.ba t -type gif -debug -tmp C:\ChinaTeX\Temp\l2h1332 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 12x21 -margins 134,72 -crop abls -transparent -out img3.gif C:\ChinaTeX\Temp\l2h1332\image003.ps" at C:\latex2html-2002-2-1\latex2html.bat line 4249 pstoimg.bat V2002-2-1 (Revision 1.16, Perl 5.008) pstoimg.bat: Temporary directory is C:\ChinaTeX\Temp\l2h1332 pstoimg.bat: Processing C:\ChinaTeX\Temp\l2h1332\image003.ps pstoimg.bat: EPSF dimensions are 16x28 pstoimg.bat: Running C:\gs\gs8.00\bin\gswin32c.exe -sDEVICE=ppmraw -g26x45 -r1 15 -dTextAlphaBits=4 -sOutputFile=C:\ChinaTeX\Temp\l2h1332\p1744.pnm GS>-133 -693 translate GS>(C:/ChinaTeX/Temp/l2h1332/image003.ps) run GS>showpage GS>quit AFPL Ghostscript 8.00 (2002-11-21) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>GS>>>showpage, press <return> to continue<< GS>>>showpage, press <return> to continue<< GS>Running "C:\ChinaTeX\TeXTools\bin\pnmcrop.exe < C:\ChinaTeX\Temp\l2h1332\p17 44.pnm > C:\ChinaTeX\Temp\l2h1332\p1744.t01" pstoimg.bat: Error: "C:\ChinaTeX\TeXTools\bin\pnmcrop.exe < C:\ChinaTeX\Temp\l2 h1332\p1744.pnm > C:\ChinaTeX\Temp\l2h1332\p1744.t01" failed: No such file or di rectory ----------------------------------------------------------------------------------- ---------------------------Comments by Shujun LI----------------------------------- -------------This command should create a file p1744.t01 in the temp directory, -------------but I find there is no such a file, but another file p1744.t00!! -------------Is pnmcrop.exe bad? -------------So I tested it manually by typing the following commands: -------------"cd C:\ChinaTeX\Temp\l2h1332\" -------------"pnmcrop.exe < p1744.pnm > p1744.t01" -------------A new file p1744.t01 is successfully created in the temp directory, -------------and the following output is generated in the screen: -------------"C:\ChinaTeX\TeXTools\bin\pnmcrop.exe: cropping 2 rows off the top" -------------"C:\ChinaTeX\TeXTools\bin\pnmcrop.exe: cropping 1 row off the bottom" -------------"C:\ChinaTeX\TeXTools\bin\pnmcrop.exe: cropping 2 cols off the left" -------------"C:\ChinaTeX\TeXTools\bin\pnmcrop.exe: cropping 4 cols off the right" -------------Apparently, pnmcrop.exe is OK. -------------What is the reason of my problem?? ----------------------------------------------------------------------------------- Error while converting image Error: Cannot read 'img3.gif': No such file or directory PS: I have also tested Darrell's suggestions, but my problem still remains. In fact, I know every item mentioned by Darrell except the one about the file ".latex2html-init". But I find the changes on ".latex2html-init" made no any influence on the generated HTML in my computer (Win2000+MiKTeX 2.2.6). Shujun LI _______________________________________________ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html