Hi,<br><br>I am new user of Metapost. I tried to draw some simple figures mentioned in the manual. It works fine without label. But there is problem with label. The code is<br>----------------------------------------------------------------------------------------<br>beginfig(17);<br>a=.7in; b=.5in;<br>z0=(0,0);<br>z1=-z3=(a,0);<br>z2=-z4=(0,b);<br>draw z1..z2..z3..z4..cycle;<br>draw z1--z0--z2;<br>label.top("a", .5[z0,z1]);<br>label.lft("b", .5[z0,z2]);<br>dotlabel.bot("(0,0)", z0);<br>endfig;<br>--------------------------------------------------------------------------------<br><br>The log file says:<br>-----------------------------------------------------------------<br>This is MetaPost, Version 0.641 (Web2C 7.5.4) (mem=mpost 2007.11.24) 5 JAN 2008 11:40<br>**test.mp<br>(test.mp [17])<br>*end<br>1 output file written: test.17<br>--------------------------------------------------------------------<br><br>But when I tried to open with ghostscript, it say
some error:<br>---------------------------------------------------------------------<br>ERROR: /undefined in cmr10ESP Ghostscript 815.04: Unrecoverable error, exit code 1<br><br>Operand stack:<br> (a)<br>Execution stack:<br> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--<br>Dictionary stack:<br>
--dict:1123/1686(ro)(G)-- --dict:0/20(G)-- --dict:102/200(L)--<br>Current allocation mode is local<br>Current file position is 607<br>--------------------------------------------------------------------------------<br><br>I am using Linux (Fedora Core 6 with everything up-to-date).<br>Any help will be appreciated.<br><br>Thanks,<br>Manojg<br><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>