TeX4htでの画像化した数式のサイズ

名前: TZS
日時: 2004-12-16 13:54:08
IPアドレス: 131.112.14.*

TeX4htを使ってLaTeXからhtmlに変換することを考えています。 本文などは望みのとおりになるのですが、 画像化した数式のサイズが巨大になってしまいます。 例えば、test.texとして --------------------------------------------- \documentclass{article} \begin{document} test $\alpha$ \end{document} --------------------------------------------- を作り、 htlatex test.tex とすると、test.htmlが無事にできるのですが alphaが大きな空白の中にポツンと表示されます。 test.texと同じフォルダを見るとcmmi10-b.pngが できているのですが、なぜかサイズは縦横 911 x 1286 という巨大なサイズです。 これは適当なサイズにならないのでしょうか? よろしくお願いします。 以下、環境 --------------------------------------------- OS : Windows XP SP2 TeX : 12月15日時点での最新の角藤先生のもの 標準インストール + tex4htk-w32.tar.gz tex4ht.envはデフォルトのまま ImageMagick : 6.1.6 Q16 (ImageMagick-6.1.6-Q16-windows-dll.exe) C:\ImageMagickにインストール --------------------------------------------- 以下、ログ出力 --------------------------------------------- D:\home>htlatex test.tex This is JTeX, Version 3.141592-1.9.1 (Web2C 7.5.3) LaTeX2e <2003/12/01> Babel <v3.8c> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (./test.tex (c:/usr/local/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:/usr/local/share/texmf/tex/latex/base/size10.clo)) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.4ht :::::::::::::::::::::::::::::::::::::::::: TeX4ht info is available in the log file :::::::::::::::::::::::::::::::::::::::::: ) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty --- needs --- tex4ht test --- (./test.tmp) l.1388 --- TeX4ht warning --- No file test.xref --- (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/latex.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/fontmath.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/article.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) No file test.aux. [1] (./test.aux) ) Output written on test.dvi (1 page, 8256 bytes). Transcript written on test.log. This is JTeX, Version 3.141592-1.9.1 (Web2C 7.5.3) LaTeX2e <2003/12/01> Babel <v3.8c> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (./test.tex (c:/usr/local/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:/usr/local/share/texmf/tex/latex/base/size10.clo)) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.4ht :::::::::::::::::::::::::::::::::::::::::: TeX4ht info is available in the log file :::::::::::::::::::::::::::::::::::::::::: ) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty --- needs --- tex4ht test --- (./test.tmp) (./test.xref) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/latex.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/fontmath.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/article.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (./test.aux) [1] (./test.aux) ) Output written on test.dvi (1 page, 8256 bytes). Transcript written on test.log. This is JTeX, Version 3.141592-1.9.1 (Web2C 7.5.3) LaTeX2e <2003/12/01> Babel <v3.8c> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (./test.tex (c:/usr/local/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (c:/usr/local/share/texmf/tex/latex/base/size10.clo)) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.4ht :::::::::::::::::::::::::::::::::::::::::: TeX4ht info is available in the log file :::::::::::::::::::::::::::::::::::::::::: ) (c:/usr/local/share/texmf/tex/generic/tex4ht/tex4ht.sty --- needs --- tex4ht test --- (./test.tmp) (./test.xref) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/latex.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/fontmath.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/article.4ht (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4.4ht) (c:/usr/local/share/texmf/tex/generic/tex4ht/html4-math.4ht)) (./test.aux) [1] (./test.aux) ) Output written on test.dvi (1 page, 8256 bytes). Transcript written on test.log. ---------------------------- tex4ht.c (2004-12-11-22:51 kpathsea) tex4ht test.tex -cdefault (c:/usr/local/share/texmf/tex4ht/base/tex4ht.env) (c:/usr/local/share/texmf/fonts/tfm/public/cm/cmmi10.tfm) (c:/usr/local/share/texmf/tex4ht/ht-fonts/iso8859/1/cm/cmmi.htf) (c:/usr/local/share/texmf/fonts/tfm/public/cm/cmr10.tfm) (c:/usr/local/share/texmf/tex4ht/ht-fonts/iso8859/1/cm/cmr.htf) (c:/usr/local/share/texmf/tex4ht/ht-fonts/iso8859/1/charset/unicode.4hf) [1 file test.html file test.css file test.tmp ] Execute script `test.lg' ---------------------------- t4ht.c (2004-11-16-16:31 kpathsea) t4ht test.tex (c:/usr/local/share/texmf/tex4ht/base/tex4ht.env) Entering test.lg System call: hterasefile zztest.ps System return: 0 System call: hterasefile cmmi10-b.png System return: 0 System call: dvipsk -Pdl -mode ibmvga -D 110 -f test.idv -pp 1 > zztest.ps This is dvips(k) 5.94b p1.6a Copyright 2004 ASCII Corp.(www-ptex@ascii.co.jp) based on dvips(k) 5.94b Copyright 2004 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.12.16:1323' -> <texc.pro><texps.pro>. <cmmi10.pfb>[1] System return: 0 System call: c:\imagemagick\convert -crop 0x0 -density 110x110 -transparent "#FFFFFF" zztest.ps cmmi10-b.png System return: 0 System call: hterasefile zztest.ps System return: 0 Entering test.css Entering test.tmp ---------------------------------------------

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)