ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <king@dircon.co.uk>
Cc: <ntg-context@ntg.nl>
Subject: Re: Re: MP Graph
Date: Thu, 31 Oct 2002 16:05:39 +0000	[thread overview]
Message-ID: <B9E70553.B1D7%king@dircon.co.uk> (raw)
In-Reply-To: <5.1.0.14.1.20021030144544.0230ec98@server-1>

Following this thread and making the modifications suggested by Hans I had
expected the following metapost graph to work but there is a problem with
fonts. Even though in context cont-sys.tex is executed giving ec as the
default encoding in the metapost case it has defaulted to 8t in the encoding
extension. I tried 
\unprotect
\setupencoding [\s!default=ec]
\protect
Before \setupbodyfont with no effect

-----begin mp file
input metafun ;

verbatimtex
\setupbodyfont[pos,12pt]
\starttext
etex
input graph;

prologues:=2;


beginfig(1);
draw begingraph(2in,2in);
setrange(80,0, 90,180);
autogrid(otick.bot,otick.lft);
endgraph;
endfig;

verbatimtex
\stoptext
etex

end
-----end mp file
-- 
Nigel

  reply	other threads:[~2002-10-31 16:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021028210944.28543@news.comp.lancs.ac.uk>
2002-10-30  8:55 ` Hans Hagen
2002-10-30 10:12   ` Adam Lindsay
2002-10-30 13:46     ` Hans Hagen
2002-10-31 16:05       ` Nigel King [this message]
2002-10-31 23:28         ` Hans Hagen
2002-11-03 22:05           ` Re: MP Graph - Berry problems 23/10/2002 Nigel King
2002-11-04  8:59             ` Jens-Uwe Morawski
2002-11-04 10:48               ` Nigel King
2002-11-04 14:00                 ` Jens-Uwe Morawski
2002-11-04 15:34                   ` Nigel King
2002-11-04 20:32                     ` Jens-Uwe Morawski

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=B9E70553.B1D7%king@dircon.co.uk \
    --to=king@dircon.co.uk \
    --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).