From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9703 Path: main.gmane.org!not-for-mail From: Nigel King Newsgroups: gmane.comp.tex.context Subject: Re: Re: MP Graph - Berry problems 23/10/2002 Date: Sun, 03 Nov 2002 22:05:44 +0000 Sender: ntg-context-admin@ref.ntg.nl Message-ID: References: <5.1.0.14.1.20021101002753.02e5e558@server-1> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036361281 29554 80.91.224.249 (3 Nov 2002 22:08:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 3 Nov 2002 22:08:01 +0000 (UTC) Cc: Adam Lindsay , Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188SuV-0007gY-00 for ; Sun, 03 Nov 2002 23:07:59 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3310710AE9; Sun, 3 Nov 2002 23:09:22 +0100 (MET) Original-Received: from mailhost2.dircon.co.uk (mailhost2.dircon.co.uk [194.112.32.66]) by ref.ntg.nl (Postfix) with ESMTP id CD7CD10AE7 for ; Sun, 3 Nov 2002 23:08:06 +0100 (MET) Original-Received: from [1.2.3.1] (pipinghot.gw.dircon.net [195.157.154.158]) by mailhost2.dircon.co.uk (Postfix) with ESMTP id 7A3526303F; Sun, 3 Nov 2002 22:08:05 +0000 (GMT) User-Agent: Microsoft-Entourage/10.1.1.2418 Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20021101002753.02e5e558@server-1> Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9703 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9703 >> 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