[l2h] Cannot convert images in test sample file

Darrell dr6583@hotmail.com
Wed, 28 Nov 2001 10:42:16 -0600

----- Original Message -----
From: "Till A. Heilmann" <Till.Heilmann@stud.unibas.ch>
To: <latex2html@tug.org>
Sent: Wednesday, November 28, 2001 7:22 AM
Subject: [l2h] Cannot convert images in test sample file


> My installation of LaTeX2HTML cannot convert images.
> My specs are:
> Windows NT 4.0 (SP6) in c:\winnt\
> MiKTeX 2.1           in c:\programs\texmf\
> Netpbm 9.20          in c:\programs\netpbm\bin\
> Ghostscript 7.03     in c:\programs\gs\gs7.03
> GSview 4.0           in c:\programs\gsview\
> LaTeX2HTML-2K.1beta  in c:\l2h\


> content of test.log
> ========================================================
> AFPL Ghostscript 7.03 (2001-10-20)
> Copyright (C) 2001 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 "\programs\netpbm\bin\pnmcrop.exe -verbose
> < C:\TEMP\l2h173\p158.pnm > C:\TEMP\l2h173\p158.t01"
> pstoimg.bat: Error: "\programs\netpbm\bin\pnmcrop.exe -
> verbose   < C:\TEMP\l2h173\p158.pnm > C:\TEMP\l2h173
> \p158.t01" failed: No such file or directory
> Error while converting image
> Error: Cannot read 'img2.png': No such file or directory

Till, I am also on NT and have had this very same problem, only
intermittently.  I haven't quite put my finger on the cause of the problem,
but as I'm sure you have already discovered it is looking for files in a
directory (in this case l2h173) under your temp folder but that directly
simply is not there (which begs the question, why does it "think" its there

Although I have not been able to consistently reproduce the problem, I have
noticed if you by chance have another process that has recently done
something (i.e. an explorer window or dos box open on your destination
directory or the temp folder) and have recently deleted something in that
process, then this can cause problems somewhere in the process of running
latex2html subsequently.  In my experience, I sometimes even get "access
denined" when trying to delete stuff from the destination folder after this
problem happens (and I am admin, so not a permission issue.)

I am able to get around this by either 1)terminating the offending process,
i.e. closing the dos box or explorer window, 2)tinkering with the ldump
setting and/or the reuse setting, or 3) at worst, sending the output to a
completely different location than used on previous runs.  Your mileage may
vary.  What I am certain of is it is looking for something that simply isn't
there (for some reason) which is why I would be suspect of anything in
latex2html or supporting programs that in any way "cache" file locations.
Somehow you need to force it to "forget" the images were ever there in the
first place so they can create a new home for themselves on the next run.
Weird problem, I know.  I guess I'm fortunate it only happens to me