ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <king@dircon.co.uk>
Cc: Adam Lindsay <atl@comp.lancs.ac.uk>, <ntg-context@ntg.nl>
Subject: Re: Re: MP Graph - Berry problems 23/10/2002
Date: Sun, 03 Nov 2002 22:05:44 +0000	[thread overview]
Message-ID: <B9EB4E38.B28C%king@dircon.co.uk> (raw)
In-Reply-To: <5.1.0.14.1.20021101002753.02e5e558@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
> 
> \startMPenvironment
> \setupencoding[default=ec]
> etc etc
> \stopMPenvironment
> 
> is the way to go
> 
> Hans

Thanks Hans I think that you may have missed the point. I was wanting to
arrange the fonts in the metapost output from a metapost file to be from the
pos set. The file below is a minimum one which works nicely showing times,
helvetica, and courier fonts.

New Berry problem.
One of the problems that made this more difficult to fault find was that the
berry (ec) encoding seems to have stopped working properly in the 23/10/2002
release. I have had to change to texnansi to get my previous files to
compile properly.
-- 
Nigel

input metafun ;
verbatimtex
\setupencoding
    [default=texnansi]
\setupbodyfont
    [pos,rm,11pt]
\def\f#1{\framed[frame=off,align=middle]{#1}}
\starttext
etex
prologues:=2;
beginfig(1);
label(btex \f{times\\\ss helvetica\\\tt courier} etex,origin);
endfig;
verbatimtex
\stoptext
etex
end
endinput

  reply	other threads:[~2002-11-03 22: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 ` MP Graph Hans Hagen
2002-10-30 10:12   ` Adam Lindsay
2002-10-30 13:46     ` Hans Hagen
2002-10-31 16:05       ` Nigel King
2002-10-31 23:28         ` Hans Hagen
2002-11-03 22:05           ` Nigel King [this message]
2002-11-04  8:59             ` Re: MP Graph - Berry problems 23/10/2002 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=B9EB4E38.B28C%king@dircon.co.uk \
    --to=king@dircon.co.uk \
    --cc=atl@comp.lancs.ac.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).