[l2h] pstoimg error
Shigeharu TAKENO
shige at iee.niit.ac.jp
Wed Sep 24 08:01:00 CEST 2008
shige 09/24 2008
----------------
Joel Parker <joel at boulder.swri.edu> wrote:
| I have LaTeX2HTML Version 2002-2-1 (1.71) installed via Fink on my
| MacBook Pro running OS X v10.5.4. When I am processing a LaTeX file I
| get the following error messages when processing images:
|
| Converting image #5
| pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h3214/p3299.pnm
| | /sw/bin/pnmtopng -interlace -trans 'gray85' > img5.png" failed:
| Invalid argument
| Error while converting image
|
| Converting image #6
| pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h3214/p3317.pnm
| | /sw/bin/pnmtopng -interlace -trans 'gray85' > img6.png" failed:
| Invalid argument
| Error while converting image
|
| The version of pstoimg used there is: Revision 1.19, perl 5.008008
|
|
| I have an older copy of pstoimg (Revision 1.16, perl 5.008008), which
| used instead, and it worked without errors.
The difference of pstoimg between revision 1.16 and 1.19 includes
the line:
$trans_color = $TRANSPARENT_COLOR||'gray85';
If your pnmtopng can not recognize the color name 'gray85', you
may fix the problem to use '#d9d9d9' instead of 'gray85'. Please
try to
1) edit the pstoimg script directly,
or
2) set the environment variable TRANSPARENT_COLOR to "#d9d9d9"
(but I do not know how to set the environment variable on the
Mac OS X).
+========================================================+
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