Username: Password:

latex2html问题的解决
来源: ChinaUnix博客  作者: ChinaUnix博客   发布时间:2007-01-01 17:33:00

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
               
               
               

喜欢本文,那就收藏到:

    Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网
相关评论  我也要评论
还没有关于此文章的相关评论!
  • 昵称: (为空则显示guest)
  • 评论分数: ★ ★ ★★★ ★★★★ ★★★★★
  • 评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
  • 导航
    赞助商
    文章类别
    订阅