From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12835 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Re: Re: Simple test --Aha! Progress, Now... Date: Fri, 8 Aug 2003 10:50:41 -0700 (PDT) Sender: ntg-context-admin@ntg.nl Message-ID: <1223.209.209.17.64.1060365041.squirrel@webmail.inreach.com> References: <1123.209.209.15.215.1060359563.squirrel@webmail.inreach.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1060365362 30923 80.91.224.253 (8 Aug 2003 17:56:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2003 17:56:02 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Aug 08 19:56:26 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19lBTW-0000uR-00 for ; Fri, 08 Aug 2003 19:56:26 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 320AA10B91; Fri, 8 Aug 2003 19:56:23 +0200 (MEST) Original-Received: from smtp.inreach.com (smtp.inreach.com [209.142.2.34]) by ref.ntg.nl (Postfix) with SMTP id 3B5CE10AFC for ; Fri, 8 Aug 2003 19:50:43 +0200 (MEST) Original-Received: (qmail 23549 invoked from network); 8 Aug 2003 17:50:41 -0000 Original-Received: from unknown (HELO webmail1.inreach.com) (209.142.2.50) by smtp.inreach.com with SMTP; 8 Aug 2003 17:50:41 -0000 Original-Received: from 209.209.17.64 (SquirrelMail authenticated user darnold@northcoast.com) by webmail.inreach.com with HTTP; Fri, 8 Aug 2003 10:50:41 -0700 (PDT) Original-To: In-Reply-To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@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:12835 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12835 Nigel et al, OK> Nigel's suggestion compiled. Now, back to where this question originated. This file: \setupoutput[pdf] \runMPgraphicstrue \setupcolors[state=start] \startuseMPgraphic{FunnyFrame} picture p; numeric w, h, o; p:=textext.rt(\MPstring{FunnyFrame}); w:=OverlayWidth; h:=OverlayHeight; o:=BodyFontSize; p:=p shifted (2o,h-ypart center p); draw p; drawoptions (withpen pencircle scaled 1pt withcolor .625red); draw (2o,h)--(0,h)--(0,0)--(w,0)--(w,h)--(xpart urcorner p, h) ; draw boundingbox p; setbounds currentpicture to unitsquare xyscaled (w,h); \stopuseMPgraphic \defineoverlay[FunnyFrame][\useMPgraphic{FunnyFrame}] \defineframedtext[FunnyText][frame=off,background=FunnyFrame] \def\StartFrame{\startFunnyText} \def\StopFrame{\stopFunnyText} \def\FrameTitle#1% {\setMPtext{FunnyFrame}{\hbox spread 1em {\hss\strut#1\hss}}} \setMPtext{FunnyFrame}{} \starttext \FrameTitle{Zapf (1)} \StartFrame Coming back to the use of typefaces in electronic publishing: many of the new typographers receive their knowledge and information about the rules of typography from books, from computer magazines or the instruction manuals which they get with the purchase of a PC or software. \StopFrame \stoptext When saved as meta.tex and compiled with texexec --pdf meta, gives this error: (mpgraph.mp (C:\texmf\metapost\context\base\mp-tool.mp) (C:\texmf\metapost\context\base\mp-spec.mp) (C:\texmf\metapost\context\base\mp-grph.mp) (C:\texmf\metapost\context\base\mp-page.mp) (C:\texmf\metapost\context\base\mp-core.mp) >> unknown picture p >> textext.rt ! Equation cannot be performed (unknown picture=numeric). ( l.223 p:=textext.rt( "\hbox spread 1em {\hss \strut Zapf (1)\hss }"); Nigel, does this file give same error on your system, or does it compile? Thanks. > >>> you should use/load metafun -) >> >> But I have. Indeed, I completely updated Miktex, downloaded the latest >> Context, refreshed filename database, then ran: > You need > input metafun ; > Early in junk.mp > -- > Nigel > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context