[ubuntu-jp:928] Re: METAPOSTで質問。

Nobuyuki Inaba nobuyuki.inaba at gmail.com
Tue Jul 15 00:49:04 BST 2008


いなばです。
いろいろすみません。

実行しますと以下のようなエラーが出ます。

$ jmpost --kanji=euc test.mp
This is jMetaPost, Version 0.641-0.04 (EUC) (Web2C 7.5.4)
(test.mpmakempx: Command failed: dvitomp mpxerr.dvi test.mpx

>> test.mp
>> test.mpx
! Unable to make mpx file.
l.8   label(btex
                 ^^cc^^cc^^c0^^d1 $\pi r^2$ etex,(u,u));
Transcript written on test.log.
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
それと、
中身が、
DVItoMP abort: DVItoMP capacity exceeded (max widths=10000)!
と言う mpxerr.log と言うファイルが生成されました。
それと、中身が
This is jMetaPost, Version 0.641-0.04 (EUC) (Web2C 7.5.4) (mem=jmpost
2007.12.11)  15 JUL 2008 08:44
**test.mp
(test.mp
>> test.mp
>> test.mpx
! Unable to make mpx file.
l.8   label(btex
                 ^^cc^^cc^^c0^^d1 $\pi r^2$ etex,(u,u));
The two files given above are one of your source files
and an auxiliary file I need to read to find out what your
btex..etex blocks mean. If you don't know why I had trouble,
try running it manually through MPto -tex, TeX, and DVItoMP.
という、test.logが作られました。



それで、 label(btex 面積 $\pi r^2$ etex,(u,u));
の「面積」という漢字を削除したらエラーは表示されないでうまく行きます。

ソフトは日本語セットアップヘルパからLaTex日本語環境、LaTex日本語環境拡張を
インストールしています。


2008/07/15 3:06 Leona OKAMURA <leona at simasima.org>:
> おかむらです
>
>
> うちの環境 (Hardy 日本語ローカライズド版) では,ご提示のサンプルで
> 面積 πr2 と描かれた円のファイルが出来上がりますので,
>
>>もしかしたら、漢字が通らないのでは
>
> ということは無いと思います.
>
>
>> jmpost test
>> を実行しますとエラーが表示されます。
>
> どんなエラーでしょうか.
>
>
> 以下がmetapost作成の手順です.
> ------
> % jmpost --kanji=euc testeuc.mp
> This is jMetaPost, Version 0.641-0.04 (EUC) (Web2C 7.5.4)
> (testeuc.mp [] )
> 1 output file written: testeuc.ps
> Transcript written on testeuc.log.
>
> % platex tex
>
> % dvips -Ppdf -E tex -o tex.eps
> This is dvips(k) p1.7a Copyright 2005 ASCII Corp. (www-ptex at ascii.co.jp)
> based on dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com)
> ' TeX output 2008.07.14:2231' -> tex.eps
> <tex.pro><alt-rule.pro><finclude.pro><texps.pro><special.pro>. <cmr7.pfb>
> <cmmi10.pfb>[1<testeuc.ps>]
>
> % evince tex.eps
>
> ------
> [testeuc.mp]
>> verbatimtex
>>  \documentclass{jsarticle}
>>  \begin{document}
>> etex;
>> beginfig(-1);
>>  u=30;
>>  fill (u,0)..(2u,u)..(u,2u)..(0,u)..cycle withcolor 0.7white;
>>  label(btex 面積 $\pi r^2$ etex,(u,u));
>> endfig;
>> verbatimtex
>>  \end{document}
>> etex;
>> end.
>
> [tex.tex]
> \documentclass{jsarticle}
> \usepackage[dvips]{graphicx}
> \pagestyle{empty}
> \begin{document}
> \includegraphics{testeuc.ps}
> \end{document}
>
>



More information about the ubuntu-jp mailing list