ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \button does not appear
@ 2000-10-17 14:23 Denis B. Roegel
  2000-10-17 15:59 ` Hans Hagen
  2000-10-17 23:06 ` how do I cancel \setupframed? Denis B. Roegel
  0 siblings, 2 replies; 6+ messages in thread
From: Denis B. Roegel @ 2000-10-17 14:23 UTC (permalink / raw)
  Cc: Denis B. Roegel

On page 76 of the metafun manual, there is an example
with \button. But when I try to compile the following
file, I can see no button. Actually, no dvi file is generated.
What am I missing?

I am using the TL5 + Sep. 21 context.

Thanks,

Denis

\setupcolors[state=start]
\starttext

\def\MyGraphic%
  {\startreusableMPgraphic{name:\overlaywidth:\overlayheight}
     path p ; p := unitsquare
       xscaled \overlaywidth yscaled \overlayheight ;
     fill p withcolor .625yellow ;
     draw p withcolor .625red ;
   \stopreusableMPgraphic
   \reuseMPgraphic{name:\overlaywidth:\overlayheight}}

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

\stoptext


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-10-18  8:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-17 14:23 \button does not appear Denis B. Roegel
2000-10-17 15:59 ` Hans Hagen
2000-10-17 20:58   ` Denis B. Roegel
2000-10-17 23:06 ` how do I cancel \setupframed? Denis B. Roegel
2000-10-18  8:11   ` Hans Hagen
2000-10-18  8:26   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).