![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Sat, Sep 26, 2009 at 7:16 AM, David Arnold
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