On Sat, Sep 26, 2009 at 7:16 AM, David Arnold <dwarnold45@suddenlink.net> wrote:
All,

I've got the context minimals installed and I'm compiling the following (from the new Metafun manual) using MKIV:

\startuniqueMPgraphic{name}
       path p;
       p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
       fill p withcolor .625yellow;
       draw p withcolor .625red;
\stopuniqueMPgraphic

\starttext
Hello, World!

\defineoverlay[my graphic][\uniqueMPgraphic{name}]
\button[background=my graphic,frame=off]{Go Home}[firstpage]

\stoptext

No button shows up. Am I missing something?


\startuniqueMPgraphic{name}
       path p;
       p:=unitsquare xscaled OverlayWidth yscaled OverlayHeight;
       fill p withcolor .625yellow;
       draw p withcolor .625red;
\stopuniqueMPgraphic
I don't know.
\framed works

\starttext
Hello, World!

\defineoverlay[my graphic][\uniqueMPgraphic{name}]
\button[background={my graphic},frame=off]{Go Home}[firstpage]
\framed[background={my graphic},frame=off]{framed Go Home}
\stoptext
test-arnold.tex (END)


 
David
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--
luigi