
1.问题如下:
Writing image file ...
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./images.tex
LaTeX2e
Babel 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, pinyin, loaded.
*** processing 2 images ***
Generating postscript images using dvips ...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (
www.radicaleye.com
)
’ TeX output 2007.01.31:2331’ -> /tmp/l2h3458/image
(-> /tmp/l2h3458/image001)
[1]
(-> /tmp/l2h3458/image002)
[2]
Converting image #2
pstoimg: Error: "/usr/bin/pnmcrop -verbose img2.png"
failed: 错误的文档描述符
Error while converting image
Converting image #1
pstoimg: Error: "/usr/bin/ppmquant -floyd 256 img1.png" failed: 错误的文档描述符
Error while converting image
Doing section links ......
Done.
2. latex2html -debug aa.tex
发现错误如下:
pnmtopng: Can’t open the color names database file named etc/X11/rgb.txt, per the RGBDEF environment variable.
pstoimg: Error: "/usr/bin/pnmcrop -verbose img2.png" failed: 错误的文档描述符
Debug (syswait): Finished child process: #5083
at /usr/bin/latex2html line 4231
Error while converting image
3. 解决方法是:
配置环境变量export RGBDEF=/usr/share/latex2html/styles/rgb.txt
|