From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9691 Path: main.gmane.org!not-for-mail From: Nigel King Newsgroups: gmane.comp.tex.context Subject: Re: Re: MP Graph Date: Thu, 31 Oct 2002 16:05:39 +0000 Sender: ntg-context-admin@ref.ntg.nl Message-ID: References: <5.1.0.14.1.20021030144544.0230ec98@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 1036079957 13570 80.91.224.249 (31 Oct 2002 15:59:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 15:59:17 +0000 (UTC) Cc: 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 187Hj2-0003Wk-00 for ; Thu, 31 Oct 2002 16:59:16 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8125210AF3; Thu, 31 Oct 2002 17:00:31 +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 9F45810AE1 for ; Thu, 31 Oct 2002 16:59:13 +0100 (MET) Original-Received: from [1.1.2.226] (pipinghot.gw.dircon.net [195.157.154.158]) by mailhost2.dircon.co.uk (Postfix) with ESMTP id 22A1A631B5; Thu, 31 Oct 2002 15:59:13 +0000 (GMT) User-Agent: Microsoft-Entourage/10.1.1.2418 Original-To: Hans Hagen , Adam Lindsay In-Reply-To: <5.1.0.14.1.20021030144544.0230ec98@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:9691 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9691 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