[l2h] problem with generating the pstoimg.bat

Shigeharu TAKENO shige at iee.niit.ac.jp
Tue Mar 6 11:28:57 CET 2007


shige 03/06 2007
----------------

"Chong Sun" <sunchong at gmail.com> wrote:

> checking for kpsewhich... C:\Program Files\MiKTeX
> 2.5\miktex\bin\kpsewhich.exe
> checking for kpsewhich syntax... no, from which planet is your kpsewhich?
> checking for TeX include path... NONE
> Warning: Will not automatically install LaTeX2HTML style files.
> checking for dvips... C:\Program Files\MiKTeX 2.5\miktex\bin\dvips.exe
> checking dvips version... no
> Error: could not determine dvips version
> Warning: Will not be able to generate images due to above failure.
> checking for html4-check... no
> checking for gswin32c... C:\Program Files\gs\gs8.54\bin\gswin32c.exe
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
> checking for ghostscript version... no
> Error: could not determine gs version
> Warning: Will not be able to generate images due to above failure.

Directly, the configuration for pstoimg fails at getting gs 
version, and then $opt{'have_pstoimg'} may be set to 0. 

You installed TeX tools at "C:\Program Files\...", but I think 
the space of the path between "Program" and "Files" causes
some problems of the configuration. 

If possible, you try to install TeX system and Ghostscript to 
the place whose path does not include any spaces (for example,
C:\MikTeX-2.5\, C:\gs\gs8.54).

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list