[l2h] Why images cannot be generated?

Ross Moore ross@ics.mq.edu.au
Wed, 18 Dec 2002 07:26:35 +1100 (EST)


> Hi all,
> 
> I download the latest version of latex2html from www.latex2htm.org, but I encountered strange problem when I run test.bat after running config.bat. The problem is: all images, including the ones generated to display complex equations, cannot be displayed in the html pages. The report is as follows:
> 
> Converting image #2
> pstoimg.bat: Error: Ghostscript returned error status 0
> pstoimg.bat: Error: Couldn't find pnm output of C:\ChinaTeX\Temp\l2h1624\image002.ps
> Error: Cannot read 'img2.gif': No such file or directory
> 
> Although it seems that I have not correctly installed Ghostscript, I really installed the latest version (Ghostscript 8.00) and set "$prefs{'EXTRAPATH'} = 'C:\\gs\\gs8.00\\bin';" in prefs.pm before I ran config.bat.

Hmm; I've never seen Ghostscript 8.
Can you please show me what message results from the following commands:
  gs -v
  gs --help
    (just the first few lines, please)

 
> If I omit the problem and continue to run install.bat, the problem remains when I try to translate any .tex file to html documents.

I'm guessing that the full path to Ghostscript was not found when you installed
LaTeX2HTML. There should be a message about this in the configure log.
This means that some variables, name $GS and starting $GS... will have empty
values instead of full directory paths. 
You could try to find these and fix them, or wait until the installer is patched
to recognise this latest version of Ghostscript.


Hope this helps,

	Ross Moore

 
> Shujun Li
> E-mail: hooklee@sina.com hooklee@mail.com
> Institute of Image Processing
> School of Electronics & Information Engineering
> Xi'an Jiaotong University
> Xi'an, Shaanxi 710049, P. R. China
> My home page: http://www.hooklee.com
> Welcome to visit ChinaTeX: http://www.ctexer.net
> 
> 
> 
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html