[l2h] installation trouble

Matt Goff goff@nawwal.org
Tue, 13 Mar 2001 23:30:36 -0800


I am trying to install latex2html on a Win98se machine.  I run miktex 2.0, ghostscript 6.50, and I 
have the most recent version of netpbm that I could find.  

The config.bat fails on pnmcrop.  That is, according to it's test, pnmcrop cannot do a crop on one 
side (the -l option).  I have checked this out by running pnmcrop and found that it could do the crop 
on one side, so I do not know why config.bat says that it cannot.  Since pnmcrop seems to work as 
it is supposed to, I changed the config.pl script to accept pnmcrop and build pstoimg.bat.
I don't know if it is the same thing that is causing pnmcrop to be unrecognized, but when I run 
latex2html, it fails to convert the appropriate images.

I have run it in debug mode and here is what seems to be the relevant output:
-----------------------------------------------------------------------------------------------------
pstoimg.bat V2K.1beta (Revision 1.11, Perl 5.006)
pstoimg.bat: Temporary directory is c:\windows\TEMP\l2h-521427
pstoimg.bat: Processing c:\windows\TEMP\l2h-521427\image001.ps
pstoimg.bat: EPSF dimensions are 31x13
pstoimg.bat: Running \Progra~1\gs\gs650\bin\gswin32c.exe  -sDEVICE=ppmraw -g50x2
1  -r115 -dTextAlphaBits=4  -sOutputFile=c:\windows\TEMP\l2h-521427\p-606311.pnm

GS>-133 -708 translate
GS>(c:/windows/TEMP/l2h-521427/image001.ps) run
GS>showpage
GS>quit

pstoimg.bat: Error: Ghostscript returned error status 16777215
pstoimg.bat: Error: Couldn't find pnm output of c:\windows\TEMP\l2h-521427\image
001.ps
AFPL Ghostscript 6.50 (2000-12-02)
Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software c
Error: Cannot read 'img1.png': No such file or directory
omes with NO WARRANTY: see the file PUBLIC for details.
 -------------------------------------------------------------------------------------------------------

Any help or suggestions would be appreciated. 

Matt Goff