From: "Kevin D. Robbins" <krobbins@alumni.princeton.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Trouble making basic MetaPost graphics using ConTeXt Minimals
Date: Fri, 15 Jul 2011 10:24:08 -0600 [thread overview]
Message-ID: <CAPtCXrx_9RSNg9pFOh40+LQpgqFyW-7i+y8OM56yj=BZrDqgFg@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsA=ZVxyRseS7YJHOi-grjUSDjE+o2jwvkaQmoNAysah7A@mail.gmail.com>
On Thu, Jul 14, 2011 at 7:04 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
> This is one of the preferrred way to deal with metapost in mkiv
> \starttext
> \startMPpage
> numeric u;
> u = 1cm;
> draw (0,2u)--(0,0)--(4u,0);
> pickup pencircle scaled 1pt;
> draw (0,0){up}
> for i=1 upto 8: ..(i/2,sqrt(i/2))*u endfor;
> label.lrt(btex $\sqrt x$ etex, (3,sqrt 3)*u);
> label.bot(btex $x$ etex, (2u,0));
> label.lft(btex $y$ etex, (0,u));
> \stopMPpage
> \stoptext
>
> It's ok with latest minimals
Thanks, Luigi. This works on my system, too.
Kevin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2011-07-15 16:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-15 0:59 Kevin D. Robbins
2011-07-15 1:04 ` luigi scarso
2011-07-15 7:44 ` Hans Hagen
2011-07-15 7:47 ` Mojca Miklavec
2011-07-15 7:50 ` luigi scarso
2011-07-15 8:54 ` Hans Hagen
2011-07-15 16:24 ` Kevin D. Robbins [this message]
2011-07-15 7:13 ` Mojca Miklavec
2011-07-15 7:42 ` Hans Hagen
2011-07-15 16:28 ` Kevin D. Robbins
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='CAPtCXrx_9RSNg9pFOh40+LQpgqFyW-7i+y8OM56yj=BZrDqgFg@mail.gmail.com' \
--to=krobbins@alumni.princeton.edu \
--cc=ntg-context@ntg.nl \
/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).