Hans, We'll I've tried all that I can think of. I've:
1. Downloaded and installed the latest version of Miktex 2.3.
With the fresh installation, which includes Context, I tried compiling:
\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
No go. Same error. Then I downloaded the latest beta from
www.pragma-ade.com, installed, refreshed. All the usual things you do. I
checked to see if I had duplicated copies of metafun.mem on my system (no)
and I checked to see if the format files were actually getting updated
(they were---I checked timestamps) and in the correct place (again yes,
though I had to manually move metafun.mem and refresh the filename
database). Still the same error.
>> unknown picture p
>> textext.rt
! Equation cannot be performed (unknown picture=numeric).
<to be read again>
(
l.211 p:=textext.rt(
"\hbox spread 1em {\hss \strut Zapf (1)\hss }");
?
Help.
> At 11:49 05/08/2003 -0700, [EMAIL PROTECTED] wrote:
>>All,
>>
>>This from the Metafun manual:
>>
>>\setupoutput[pdf]
>
> this runs ok here both in
>
> texexec testfile
>
> texexec testfile --automp
>
> maybe you have an old metafun format? (watch out, metafun code moved
> down to /metapost/context/base)
>
> Hans
> -------------------------------------------------------------------------
> Hans Hagen | PRAGMA ADE |
> [EMAIL PROTECTED]
> Ridderstraat 27 | 8061 GH Hasselt | The
> Netherlands
> tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |
> www.pragma-ade.com
> -------------------------------------------------------------------------
> information:
> http://www.pragma-ade.com/roadmap.pdf
> documentation:
> http://www.pragma-ade.com/showcase.pdf
> -------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
meta.log
Description: Binary data
