From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12783 Path: main.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Funny error Date: Tue, 5 Aug 2003 11:49:28 -0700 (PDT) Sender: ntg-context-admin@ntg.nl Message-ID: <1173.209.209.17.51.1060109368.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 1060109706 22431 80.91.224.253 (5 Aug 2003 18:55:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Aug 2003 18:55:06 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Aug 05 20:55: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 19k6xy-0007kf-00 for ; Tue, 05 Aug 2003 20:55:26 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8FB7910B50; Tue, 5 Aug 2003 20:55:16 +0200 (MEST) Original-Received: from smtp.inreach.com (smtp.inreach.com [209.142.2.34]) by ref.ntg.nl (Postfix) with SMTP id 5435D10B3C for ; Tue, 5 Aug 2003 20:49:29 +0200 (MEST) Original-Received: (qmail 17098 invoked from network); 5 Aug 2003 18:49:28 -0000 Original-Received: from unknown (HELO webmail1.inreach.com) (209.142.2.50) by smtp.inreach.com with SMTP; 5 Aug 2003 18:49:28 -0000 Original-Received: from 209.209.17.51 (SquirrelMail authenticated user darnold@northcoast.com) by webmail.inreach.com with HTTP; Tue, 5 Aug 2003 11:49:28 -0700 (PDT) Original-To: "Context Mailing List " 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:12783 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12783 All, This from the Metafun manual: \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 Is producing this "funny" error: >> unknown picture p >> textext.rt ! Equation cannot be performed (unknown picture=numeric). ( l.211 p:=textext.rt( "\hbox spread 1em {\hss \strut Zapf (1)\hss }"); ? Any ideas?