Re: Vine plus 所収の latex2html (その他)

名前: 栗山雅俊
日時: 2005-08-03 15:14:01
IPアドレス: 222.159.149.*

>>37207 >>37208 竹のさん、コメントありがとうございます。 > gs のコマンドラインは、latex2html を -debug つきで実行すると表示され > ます。この場合、途中で生成される画像ファイルも (デフォルトでは) > /tmp/l2hXXXX というディレクトリに残ります。 私のほうでも -debug つきを試してみました。まだ内容を解析 できていないのですが、とりあえずソース版(jp1.9)とVine版 (jp1.7)の差分を添付します。 tmpの画像ファイルですが、Vine版は最後にファイルを消してしまう 設定になっているようです。これを残すようにするにはどこを 変更すればよいのでしょうか。ご教授いただければ幸いです。 > は、amsmath のところのコメント記号を外すんですよね。ただ、37161 の > をそのままコピーして使ったら、\usepackage{amsmath} の後ろに全角スペ > ースが残っていて、そのために latex2html の画像生成自体に失敗しまし > た (余計な空白ページが 1 ページ作られてしまって、エラーが出ますし、 > 画像ファイルも番号がひとつずれてしまいます)。 説明不十分ですみません、コメントは外します(amsmathを使う)。 全角スペースの方は説明用に掲示板で記したときに誤って入ったようです。 実際のファイルは % 以下の説明をつけていません。 差分の内訳は mathtest7.tex(ソース版・jp1.9)のログ mathtest7-vine.tex(Vine版・jp1.7)のログ です。 -------------------------------------------------------------------------------- 1c1 < [japanese]This is jLaTeX2HTML Version 2002-2-1 (1.70) JA patch-1.9 --- > [japanese]This is jLaTeX2HTML Version 2002-2-1 (1.70) JA patch-1.7 13,14c13,14 < Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl < HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl --- > Extension: loading /usr/lib/latex2html/versions/latin1.pl > HTML version: loading /usr/lib/latex2html/versions/html3_2.pl 17c17 < Starting at 1123044536 seconds --- > Starting at 1123047448 seconds 19c19 < OPENING /home/antigone/texdoc/mathtest7.tex --- > OPENING /home/antigone/texdoc/mathtest7-vine.tex 21,22c21,22 < Note: Working directory is /home/antigone/texdoc/mathtest7 < Note: Images will be generated in /tmp/l2h1664 --- > Note: Working directory is /home/antigone/texdoc/mathtest7-vine > Note: Images will be generated in /var/tmp/l2h2311 24,25c24,25 < Debug (syswait): Running "/usr/bin/perl /usr/local/bin/texexpand -debug -auto_exclude -save_styles /home/antigone/texdoc/mathtest7/TMP/styles -texinputs /home/antigone/texdoc -out /home/antigone/texdoc/mathtest7/TMP/mathtest7 /home/antigone/texdoc/mathtest7.tex" < at /usr/local/bin/latex2html line 820 --- > Debug (syswait): Running "/usr/bin/perl /usr/bin/texexpand -debug -auto_exclude -save_styles /home/antigone/texdoc/mathtest7-vine/TMP/styles -texinputs /home/antigone/texdoc -out /home/antigone/texdoc/mathtest7-vine/TMP/mathtest7-vine /home/antigone/texdoc/mathtest7-vine.tex" > at /usr/bin/latex2html line 821 32,33c32,33 < Debug (syswait): Finished child process: #1673 < at /usr/local/bin/latex2html line 820 --- > Debug (syswait): Finished child process: #2319 > at /usr/bin/latex2html line 821 37,40c37,40 < Loading /usr/local/share/lib/latex2html/styles/texdefs.perl... < Package: loading /usr/local/share/lib/latex2html/styles/jsarticle.perl < Package: loading /usr/local/share/lib/latex2html/styles/amsmath.perl < Package: loading /usr/local/share/lib/latex2html/styles/more_amsmath.perl --- > Loading /usr/lib/latex2html/styles/texdefs.perl... > Package: loading /usr/lib/latex2html/styles/jsarticle.perl > Package: loading /usr/lib/latex2html/styles/amsmath.perl > Package: loading /usr/lib/latex2html/styles/more_amsmath.perl 45c45 < 0/1:top of mathtest7: for mathtest7.html --- > 0/1:top of mathtest7-vine: for mathtest7-vine.html 57,60c57,60 < /usr/local/teTeX/bin/platex ./images.tex < Debug (syswait): Running "/usr/local/teTeX/bin/platex ./images.tex" < at /usr/local/bin/latex2html line 3798 < This is pTeX, Version 3.141592-p3.1.8 (euc) (Web2C 7.5.4) --- > /usr/bin/platex ./images.tex > Debug (syswait): Running "/usr/bin/platex ./images.tex" > at /usr/bin/latex2html line 3799 > This is pTeX, Version 3.14159-p3.1.5 (euc) (Web2C 7.4.5) 62c62 < pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2003/12/01> patch level 0) --- > pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2001/06/01> patch level 0) 64,67c64,67 < (/usr/local/teTeX/share/texmf/ptex/platex/jsclasses/jsarticle.cls < Document Class: jsarticle 2005/04/30 okumura < ) (/usr/local/teTeX/share/texmf-dist/tex/latex/base/ifthen.sty) < (/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsmath.sty --- > (/usr/share/texmf/ptex/platex/js/jsarticle.cls > Document Class: jsarticle 2004/12/29 okumura > ) (/usr/share/texmf/tex/latex/base/ifthen.sty) > (/usr/share/texmf/tex/latex/amsmath/amsmath.sty 69,77c69,77 < (/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amstext.sty < (/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsgen.sty)) < (/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsbsy.sty) < (/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsopn.sty)) < (/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/color.sty < (/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/color.cfg) < (/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/dvips.def) < (/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/dvipsnam.def)) < (/usr/local/teTeX/share/texmf-dist/tex/latex/base/inputenc.sty) --- > (/usr/share/texmf/tex/latex/amsmath/amstext.sty > (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) > (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) > (/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) > (/usr/share/texmf/tex/latex/graphics/color.sty > (/usr/share/texmf/tex/latex/config/color.cfg) > (/usr/share/texmf/tex/latex/graphics/dvips.def) > (/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) > (/usr/share/texmf/tex/latex/base/inputenc.sty) 108,109c108,109 < Debug (syswait): Finished child process: #1678 < at /usr/local/bin/latex2html line 3798 --- > Debug (syswait): Finished child process: #2323 > at /usr/bin/latex2html line 3799 114,115c114,115 < /usr/local/teTeX/bin/dvips -S1 -i -Ppdf -E -E -o/tmp/l2h1664/image ./images.dvi < Debug (syswait): Running "/usr/local/teTeX/bin/dvips -S1 -i -Ppdf -E -E -o/tmp/l2h1664/image ./images.dvi --- > /usr/bin/dvips -S1 -i -Ppdf -E -E -o/var/tmp/l2h2311/image ./images.dvi > Debug (syswait): Running "/usr/bin/dvips -S1 -i -Ppdf -E -E -o/var/tmp/l2h2311/image ./images.dvi 117,125c117,126 < at /usr/local/bin/latex2html line 3914 < This is dvips(k) p1.7 Copyright 2005 ASCII Corp.(www-ptex@ascii.co.jp) < based on dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) < ' TeX output 2005.08.03:1348' -> /tmp/l2h1664/image < (-> /tmp/l2h1664/image001) <tex.pro><alt-rule.pro><texps.pro><special.pro> < <color.pro><cmsy10.pfb>[1] (-> /tmp/l2h1664/image002) <tex.pro><alt-rule.pro> < <texps.pro><special.pro><color.pro><cmr10.pfb>[2] < Debug (syswait): Finished child process: #1680 < at /usr/local/bin/latex2html line 3914 --- > at /usr/bin/latex2html line 3915 > This is dvips(k) 5.94a p1.6a1 Copyright 2004 ASCII Corp.(www-ptex@ascii.co.jp) > based on dvips(k) 5.94a Copyright 2003 Radical Eye Software (www.radicaleye.com) > ' TeX output 2005.08.03:1437' -> /var/tmp/l2h2311/image > (-> /var/tmp/l2h2311/image001) <tex.pro><alt-rule.pro><texc.pro> > <bbad153f.enc><f7b6d320.enc><texps.pro><special.pro><color.pro><cmsy10.pfb> > [1] (-> /var/tmp/l2h2311/image002) <tex.pro><alt-rule.pro><texc.pro> > <bbad153f.enc><f7b6d320.enc><texps.pro><special.pro><color.pro><cmr10.pfb>[2] > Debug (syswait): Finished child process: #2325 > at /usr/bin/latex2html line 3915 127,128c128,129 < Debug (syswait): Running "/usr/bin/perl /usr/local/bin/pstoimg -type png -debug -tmp /tmp/l2h1664 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 8x14 -margins 72,72 -crop abls -transparent -out img1.png /tmp/l2h1664/image001.ps" < at /usr/local/bin/latex2html line 4246 --- > Debug (syswait): Running "/usr/bin/perl /usr/bin/pstoimg -type png -debug -tmp /var/tmp/l2h2311 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 8x14 -margins 72,72 -crop abls -transparent -out img1.png /var/tmp/l2h2311/image001.ps" > at /usr/bin/latex2html line 4247 130,131c131,132 < pstoimg: Temporary directory is /tmp/l2h1664 < pstoimg: Processing /tmp/l2h1664/image001.ps --- > pstoimg: Temporary directory is /var/tmp/l2h2311 > pstoimg: Processing /var/tmp/l2h2311/image001.ps 133c134 < pstoimg: Running /usr/bin/gs -sDEVICE=ppmraw -g23x34 -r115 -dTextAlphaBits=4 -sOutputFile=/tmp/l2h1664/p1681.pnm --- > pstoimg: Running /usr/bin/gs -sDEVICE=ppmraw -g23x34 -r115 -dTextAlphaBits=4 -sOutputFile=/var/tmp/l2h2311/p2326.pnm 135c136 < GS>(/tmp/l2h1664/image001.ps) run --- > GS>(/var/tmp/l2h2311/image001.ps) run 138d138 < 142,143c142,144 < Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2448368 1081132 1642520 351150 0 done. < Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2803232 1394194 1682712 365686 0 done. --- > > Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2448368 1081136 1642520 351150 0 done. > Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2803232 1394198 1682712 365686 0 done. 146c147 < GS>Running "/usr/bin/pnmcrop -verbose < /tmp/l2h1664/p1681.pnm | /usr/bin/pnmcrop -verbose -bot -sides | /usr/bin/pnmcrop -verbose -l -sides > /tmp/l2h1664/p1681.t01" --- > GS>Running "/usr/bin/pnmcrop -verbose < /var/tmp/l2h2311/p2326.pnm | /usr/bin/pnmcrop -verbose -bot -sides | /usr/bin/pnmcrop -verbose -l -sides > /var/tmp/l2h2311/p2326.t01" 153c154 < pnmcrop: Not cropping. No border found. --- > pnmcrop: cropping 2 rows off the bottom 156,157c157,158 < Image "/tmp/l2h1664/p1681.pnm" is PPM, 16x31 < Running "/usr/bin/pnmcrop -verbose -sides -bot < /tmp/l2h1664/p1681.pnm > /tmp/l2h1664/p1681.t02" --- > Image "/var/tmp/l2h2311/p2326.pnm" is PPM, 16x29 > Running "/usr/bin/pnmcrop -verbose -sides -bot < /var/tmp/l2h2311/p2326.pnm > /var/tmp/l2h2311/p2326.t02" 159,162c160,163 < pnmcrop: cropping 1 row off the bottom < Image "/tmp/l2h1664/p1681.t02" is PPM, 16x30 < Image "/tmp/l2h1664/p1681.pnm" is PPM, 16x30 < Running "/usr/bin/ppmquant 256 < /tmp/l2h1664/p1681.pnm | /usr/bin/pnmtopng -interlace -trans '#ffffff' > img1.png" --- > pnmcrop: cropping 18 rows off the bottom > Image "/var/tmp/l2h2311/p2326.t02" is PPM, 16x11 > Image "/var/tmp/l2h2311/p2326.pnm" is PPM, 16x29 > Running "/usr/bin/ppmquant -floyd 256 < /var/tmp/l2h2311/p2326.pnm | /usr/bin/pnmtopng -interlace -trans '#ffffff' > img1.png" 169,170c170,171 < Debug (syswait): Finished child process: #1681 < at /usr/local/bin/latex2html line 4246 --- > Debug (syswait): Finished child process: #2326 > at /usr/bin/latex2html line 4247 172,173c173,174 < Debug (syswait): Running "/usr/bin/perl /usr/local/bin/pstoimg -type png -debug -tmp /tmp/l2h1664 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 8x14 -margins 72,72 -crop abls -transparent -out img2.png /tmp/l2h1664/image002.ps" < at /usr/local/bin/latex2html line 4246 --- > Debug (syswait): Running "/usr/bin/perl /usr/bin/pstoimg -type png -debug -tmp /var/tmp/l2h2311 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 8x14 -margins 72,72 -crop abls -transparent -out img2.png /var/tmp/l2h2311/image002.ps" > at /usr/bin/latex2html line 4247 175,176c176,177 < pstoimg: Temporary directory is /tmp/l2h1664 < pstoimg: Processing /tmp/l2h1664/image002.ps --- > pstoimg: Temporary directory is /var/tmp/l2h2311 > pstoimg: Processing /var/tmp/l2h2311/image002.ps 178c179 < pstoimg: Running /usr/bin/gs -sDEVICE=ppmraw -g21x34 -r115 -dTextAlphaBits=4 -sOutputFile=/tmp/l2h1664/p1696.pnm --- > pstoimg: Running /usr/bin/gs -sDEVICE=ppmraw -g21x34 -r115 -dTextAlphaBits=4 -sOutputFile=/var/tmp/l2h2311/p2340.pnm 180c181 < GS>(/tmp/l2h1664/image002.ps) run --- > GS>(/var/tmp/l2h2311/image002.ps) run 187,188c188,189 < Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2448368 1081132 1642520 351150 0 done. < Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2803232 1394194 1682712 365686 0 done. --- > Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2448368 1081136 1642520 351150 0 done. > Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2803232 1394198 1682712 365686 0 done. 191c192 < GS>Running "/usr/bin/pnmcrop -verbose < /tmp/l2h1664/p1696.pnm | /usr/bin/pnmcrop -verbose -bot -sides | /usr/bin/pnmcrop -verbose -l -sides > /tmp/l2h1664/p1696.t01" --- > GS>Running "/usr/bin/pnmcrop -verbose < /var/tmp/l2h2311/p2340.pnm | /usr/bin/pnmcrop -verbose -bot -sides | /usr/bin/pnmcrop -verbose -l -sides > /var/tmp/l2h2311/p2340.t01" 198c199 < pnmcrop: Not cropping. No border found. --- > pnmcrop: cropping 2 rows off the bottom 201,202c202,203 < Image "/tmp/l2h1664/p1696.pnm" is PPM, 16x31 < Running "/usr/bin/pnmcrop -verbose -sides -bot < /tmp/l2h1664/p1696.pnm > /tmp/l2h1664/p1696.t02" --- > Image "/var/tmp/l2h2311/p2340.pnm" is PPM, 16x29 > Running "/usr/bin/pnmcrop -verbose -sides -bot < /var/tmp/l2h2311/p2340.pnm > /var/tmp/l2h2311/p2340.t02" 204,207c205,208 < pnmcrop: cropping 1 row off the bottom < Image "/tmp/l2h1664/p1696.t02" is PPM, 16x30 < Image "/tmp/l2h1664/p1696.pnm" is PPM, 16x30 < Running "/usr/bin/ppmquant 256 < /tmp/l2h1664/p1696.pnm | /usr/bin/pnmtopng -interlace -trans '#ffffff' > img2.png" --- > pnmcrop: cropping 17 rows off the bottom > Image "/var/tmp/l2h2311/p2340.t02" is PPM, 16x12 > Image "/var/tmp/l2h2311/p2340.pnm" is PPM, 16x29 > Running "/usr/bin/ppmquant -floyd 256 < /var/tmp/l2h2311/p2340.pnm | /usr/bin/pnmtopng -interlace -trans '#ffffff' > img2.png" 214,215c215,216 < Debug (syswait): Finished child process: #1696 < at /usr/local/bin/latex2html line 4246 --- > Debug (syswait): Finished child process: #2340 > at /usr/bin/latex2html line 4247 220,221c221 < Timing: 6 seconds < --- > Timing: 5 seconds -------------------------------------------------------------------------------- おわり

この書き込みへの返事:

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