latex2html

ぐへー。 latex2htmlpLaTeX を使うことができないのかよ! jarticle や graphicx 使ったドキュメントが通せないじゃないか。

図や数式の出力ができない。どうも、pngの透過処理でコケているらしい。デバッグログ吐かせると、

pstoimg: Error: "/usr/local/bin/ppmquant -floyd 256 < /tmp/l2h879/p892.pnm | \
/usr/local/bin/pnmtopng -interlace -trans '#ffffff'  > img1.png" failed:

なんて言っているけど、 pnmtopng に -trans なんてオプションないのよね。 -transparent が本当のオプション名。 latex2html 読んでもどこを直せばいいか分からん。

いろいろ調べてたら、つまりこういうことらしい。

ようするに、 netpbm-10.24 使っているときは、透過するなと。まさに今使っているのは、最新の portsnetpbm-10.24 なんだよね。・・・orz

つうわけで、

alias latex2html='latex2html -notransparent'