ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marc van Dongen <dongen@cs.ucc.ie>
Subject: metapost problem
Date: Sun, 7 Jan 2001 14:44:56 +0000	[thread overview]
Message-ID: <20010107144456.T6997@cs.ucc.ie> (raw)

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

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

[-- Attachment #2: tmp.mp --]
[-- Type: text/plain, Size: 303 bytes --]

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.

[-- Attachment #3: tmp.0 --]
[-- Type: text/plain, Size: 798 bytes --]

%!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

             reply	other threads:[~2001-01-07 14:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-07 14:44 Marc van Dongen [this message]
2001-01-07 17:33 ` Denis B. Roegel
2001-01-07 17:37   ` Marc van Dongen
  -- strict thread matches above, loose matches on Subject: below --
2005-10-03  9:55 Metapost Problem Wolfgang Zillig
2003-09-22 19:59 METAPOST problem Emil Hedevang Lohse
2003-03-15  3:44 (no subject) Coydell Rivers
2003-03-15  4:06 ` MetaPost problem Guo Yang
2003-03-15  4:19   ` Guo Yang
2003-03-17  8:41     ` Hans Hagen
2001-02-26 21:46 metapost problem Hraban
2001-02-27 10:11 ` Hans Hagen
2001-01-07 14:43 Marc van Dongen
2000-10-16  9:48 Marc van Dongen
2000-10-16 10:23 ` Hans Hagen
2000-10-16 12:04   ` Marc van Dongen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010107144456.T6997@cs.ucc.ie \
    --to=dongen@cs.ucc.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).