[l2h] pstoimg: Error: Couldn't find pnm output

Olivier Thomas olivier.thomas at cnam.fr
Wed Jul 5 18:33:53 CEST 2006

I've just installed latex2html (with the distrib. in 
latex2html-2002-2-1.tar.gz) and it does not includes the image files.
I have a fedora core 4 linux distribution, with gostscript 7.07
It seems that there is a problem with pstoimg.

Here are two tests:

1) a test on a .eps file:

<thomas at localhost: l2h26359> ls
image001.ps  image002.ps
<thomas at localhost: l2h26359> pstoimg image001.ps
pstoimg V2002-2-1 (Revision 1.19, Perl 5.008006)
pstoimg: Processing image001.ps
pstoimg: Error: Couldn't find pnm output of image001.ps

2) a test on the file l2htest.tex of the distrib:

<thomas at localhost: ~> cd Download/latex2html-2002-2-1/tests/
<thomas at localhost: tests> latex2html l2htest.tex
This is LaTeX2HTML Version 2002-2-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2

Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl

 *** processing declarations ***

OPENING /home/thomas/Download/latex2html-2002-2-1/tests/l2htest.tex

Cannot create directory l2htest/: Le fichier existe., reusing it.
Reusing directory l2htest/:

Note: Working directory is 
Note: Images will be generated in /tmp/l2h29027

texexpand V2002-2-1 (Revision 1.12)

Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Reading ...

Doing ./basic.tex
 *** opening brace #27  is unmatched ***
 preceding: \Large Large and {\bf boldface

 *** opening brace #28  is unmatched ***
 preceding: \bf boldface

Processing macros ...++

Doing ./basicinc.tex
 *** matching brace #28 found ***

 *** matching brace #27 found ***

Processing macros ...++

Doing ./formulas.tex
Processing macros ...++

Translating ...
0/6:top of l2htest: for l2htest.html

 *** translating preamble ***
 *** preamble done ***

1/6:section:.."Some basic stuff" for node1.html

2/6:subsection:..."Fonts" for node2.html

3/6:subsection:..."Lists" for node3.html

4/6:subsection:..."Table" for node4.html

5/6:section:.."Mathematic formulas" for node5.html

6/6:sectionstar:.."About this document ..." for node6.html

Writing image file ...

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, 
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, 
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, 
norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, 
swedish, tur
kish, ukrainian, nohyphenation, loaded.

 *** processing 2 images ***

Generating postscript images using dvips ...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
' TeX output 2006.07.05:1828' -> /tmp/l2h29027/image
(-> /tmp/l2h29027/image001) <tex.pro><alt-rule.pro><texps.pro><special.pro>
(-> /tmp/l2h29027/image002) <tex.pro><alt-rule.pro><texps.pro><special.pro>
Converting image #2
pstoimg: Error: Couldn't find pnm output of /tmp/l2h29027/image002.ps

Error: Cannot read 'img2.png': Aucun fichier ou répertoire de ce type
Converting image #1
pstoimg: Error: Couldn't find pnm output of /tmp/l2h29027/image001.ps

Error: Cannot read 'img1.png': Aucun fichier ou répertoire de ce type

Doing section links ................

*********** WARNINGS ***********

Failed to convert image /tmp/l2h29027/image002.ps

Failed to convert image /tmp/l2h29027/image001.ps

To resolve the image conversion problems please consult
the "Troubleshooting" section of your local User Manual
or read it online at

More information about the latex2html mailing list