From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3741 Path: main.gmane.org!not-for-mail From: Marc van Dongen Newsgroups: gmane.comp.tex.context Subject: metapost problem Date: Sun, 7 Jan 2001 14:44:56 +0000 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010107144456.T6997@cs.ucc.ie> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bCsyhTFzCvuiizWE" X-Trace: main.gmane.org 1035394461 19714 80.91.224.250 (23 Oct 2002 17:34:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:34:21 +0000 (UTC) Original-To: Mailing List Xref: main.gmane.org gmane.comp.tex.context:3741 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3741 --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello mpost fans, [appologies for this second submission. I just realised I forgot to add the attachments.] I am having a problem I cannot understand. Perhaps there's something wrong with my installation. When I run mpost on attached tmp.mp I get attached tmp.0. I would have expected the letter $x$ to be positioned at (1cm,0) but instead it is positioned at (0,0). I've use boxes many times but thins I cannot understand. Am I doing something terribly wrong? Am I overlooking something? Any other suggestions? Regards, Marc van Dongen -- Marc van Dongen, CS Dept | phone: +353 21 4903578 University College Cork, NUIC | Fax: +353 21 4903113 College Road, Cork, Ireland | Email: dongen@cs.ucc.ie --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tmp.mp" verbatimtex \documentclass{article} \begin{document} etex; defaultfont := "cmr12"; defaultscale := 12pt /fontsize defaultfont; input mp-tool; prologues := 2; input boxes; beginfig(0) boxit.xl( btex $x$ etex ); xl.s := (1cm,0); drawarrow xl.s - (0,1cm) -- xl.s; drawboxed( xl ); endfig; end. --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="tmp.0" %!PS-Adobe-3.0 EPSF-3.0 %%BoundingBox: -4 -29 30 8 %%Creator: MetaPost %%CreationDate: 2000.09.26:1853 %%Pages: 1 %%DocumentFonts: cmmi10 /cmmi10 /cmmi10 def /fshow {exch findfont exch scalefont setfont show}bind def %%EndProlog %%Page: 1 1 %%HiResBoundingBox: -3.25 -28.59645 29.87724 7.53952 0.5 0 dtransform exch truncate exch idtransform pop setlinewidth [] 0 setdash 1 setlinecap 1 setlinejoin 10 setmiterlimit newpath 28.34645 -28.34645 moveto 28.34645 0 lineto stroke 0 0.5 dtransform truncate idtransform setlinewidth pop newpath 29.87724 -3.69557 moveto 28.34645 0 lineto 26.81566 -3.69557 lineto closepath gsave fill grestore stroke 0 0 moveto (x) cmmi10 9.96265 fshow newpath -3 -3 moveto 8.69391 -3 lineto 8.69391 7.28952 lineto -3 7.28952 lineto closepath stroke showpage %%EOF --bCsyhTFzCvuiizWE--