latex2htmlにおける数式

名前: baoba
日時: 2007-06-23 21:31:23
IPアドレス: 221.189.163.*

Latex2htmlを阿部様や角藤様のページを参考にしてインストールしましたが、 なぜか数式が出ません。 日本語パッチの当ててないもの、当てているものやGSをいろいろ変えて試したりもしてみましたが、 バグったりするばかりで数式は出ません。 現在の環境は OS windowsXP SP2 ack32 v1.39 Latex2html 2002-2 ghostscript 7.07 となっています。 d:\docにて以下のファイルをコンパイルするとdviではうまく出ます。 ------------------------------- \documentclass{article} \title{LaTeX2HTML Test} \author{baoba} \begin{document} \maketitle \section{blank} \section{equation} a=b+c follows $a=b+c$ \[ a=b+c \] \end{document} ------------------------------- しかしその後以下を実行してもhtmlは出来ますが数式だけ出ません。 D:\doc>c:\usr\local\latex2html\bin\latex2html foo.tex -debug | ack32 -s 2>&1 | ack32 -s 画面出力を">"(リダイレクトでしたか?)に出力するとどうもgsがうまくファイルを読み取れていないようなのです。 以下に問題であろうと思われる箇所を示します。 ----------------------------------------------- Generating postscript images using dvips ... c:\tex\bin\dvips.exe -S1 -i -Ppdf -E -E -oC:\WINDOWS\TEMP\l2h3556\image .\images.dvi Converting image #2 pstoimg.bat V2002-2 (Revision 1.16, Perl 5.008008) pstoimg.bat: Temporary directory is C:\WINDOWS\TEMP\l2h3556 pstoimg.bat: Processing C:\WINDOWS\TEMP\l2h3556\image002.ps pstoimg.bat: EPSF dimensions are 90x28 pstoimg.bat: Running C:\gs\gs7.07\bin\gswin32c.exe -sDEVICE=ppmraw -g144x45 -r115 -dTextAlphaBits=4 -sOutputFile=C:\WINDOWS\TEMP\l2h3556\p2912.pnm GS>-133 -693 translate GS>(C:/WINDOWS/TEMP/l2h3556/image002.ps) run GS>showpage GS>quit GNU Ghostscript 7.07 (2003-05-17) Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>GS>>>showpage, press <return> to continue<< GS>>>showpage, press <return> to continue<< GS>Running "c:\l2h\netpbm\bin\pnmcrop.exe -verbose < C:\WINDOWS\TEMP\l2h3556\p2912.pnm > C:\WINDOWS\TEMP\l2h3556\p2912.t01" pstoimg.bat: Error: "c:\l2h\netpbm\bin\pnmcrop.exe -verbose < C:\WINDOWS\TEMP\l2h3556\p2912.pnm > C:\WINDOWS\TEMP\l2h3556\p2912.t01" failed: No such file or directory Error while converting image ----------------------------------------------- texの再インストールをしても改善されないため 原因はよくわからないのですが、 1つ気にかかっている点があるとすればImageMagik6.3.4-Q16を入れております。 epsを作るのに便利なので、はずしたくないのですが、原因をあわせてもしご存知の方がいらっしゃれば 幸いです。

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)