ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
Cc: roegel@lorraine.loria.fr (Denis B. Roegel)
Subject: \button does not appear
Date: Tue, 17 Oct 2000 16:23:13 +0200 (MET DST)	[thread overview]
Message-ID: <200010171423.QAA09703@bar.loria.fr> (raw)

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


             reply	other threads:[~2000-10-17 14:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-17 14:23 Denis B. Roegel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200010171423.QAA09703@bar.loria.fr \
    --to=denis.roegel@loria.fr \
    --cc=roegel@lorraine.loria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).