[l2h] Error in dealing with an \epsfig macro.

G. A. Gallup ggallup@phy-ggallup.unl.edu
Sun, 12 Aug 2001 16:15:25 -0500 (CDT)

   I have obtained latex2html and installed it with apparent success on
both a RedHat 6.3 system and a Slackware 7 system.

I used the following LaTeX fragment 

\caption{The spin branching diagram}

This gives an error with the command

latex2html -image-type gif -transparent -debug <file_name> >& l2h.log

The pertinant portion of the l2h.log file

GNU Ghostscript 5.10 (1998-12-17)
Copyright (C) 1997 Aladdin Enterprises, Menlo Park, CA.  All rights
This software comes with NO WARRANTY: see the file COPYING for details.
GS>GS>Loading NimbusSanL-Regu font from
/usr/share/ghostscript/fonts/n019003l.pfb... 1892632 564567 1360368 76973
2 done.
>>showpage, press <return> to continue<<
GS>>>showpage, press <return> to continue<<
GS>Image "/tmp/l2h909/p926.pnm" is PPM, 464x660
Running "/usr/bin/pnmcrop < /tmp/l2h909/p926.pnm | /usr/bin/ppmquant
-floyd 256 | /usr/bin/ppmtogif -interlace -trans '#ffffff'  > img2.gif"
pnmcrop: cropping 660 rows off the top
pnmcrop: cropping 463 cols off the left
ppmquant: making histogram...
ppmquant: 0 colors found
ppmquant: choosing 256 colors...
ppmtogif: EOF / read error reading magic number
pstoimg: Error: "/usr/bin/pnmcrop < /tmp/l2h909/p926.pnm |
/usr/bin/ppmquant -floyd 256 |
/usr/bin/ppmtogif -interlace -trans '#ffffff'  > img2.gif" failed: Illegal
Debug (syswait): Finished child process: #926
 at /usr/local/latex2html/bin/latex2html line 4057
Error while converting image: No such file or directory


I may not understand the message, but converting the ps image to gif by
hand seems to work.

Has anyone an idea?