ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Daniel Graham <dag@econ.duke.edu>
Subject: Re: setupinteraction breaks moving from 2001.11.13 to 2002.1.28
Date: Mon, 25 Nov 2002 15:34:37 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20021125153159.02823050@server-1> (raw)
In-Reply-To: <Pine.LNX.4.44.0211250736010.13576-301000@bowley.econ.duke. edu>

At 07:38 AM 11/25/2002 -0500, you wrote:
>Interactions in a simple document that work under ConTeXt version
>2001.11.13 break under 2002.1.28. The simple document and logs for
>both ConTeXt versions ("old" and "new") are attached - note the
>entry "check : missing '=' after '\let...'" in "new".
>
>Any suggestions about how to fix this would be most appreciated.

the new (more flexible and robust) syntax is:

\startinteractionmenu[bottom 1]
   \but [LastPage]  \labeltext{help} \\
   \hfill
   \but [SubmitForm{http://localhost.localdomain/cgi-bin/record}] ... \\
\stopinteractionmenu


....

\defineinteractionmenu [bottom 1] [bottom] [state=stop]

\setupinteractionmenu
    [bottom, bottom 1]

no need for the bottom 1 in the setup..., since by default it inherits from 
bottom

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       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
-------------------------------------------------------------------------

       reply	other threads:[~2002-11-25 14:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.44.0211250736010.13576-301000@bowley.econ.duke. edu>
2002-11-25 14:34 ` Hans Hagen [this message]
     [not found] <Pine.LNX.4.44.0211250944120.4603-301000@godel.adsl.duke.ed u>
2002-11-25 17:00 ` Hans Hagen
2002-11-25 18:11   ` Daniel Graham
2002-11-25 16:37 Daniel Graham
  -- strict thread matches above, loose matches on Subject: below --
2002-11-25 12:38 Daniel Graham

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=5.1.0.14.1.20021125153159.02823050@server-1 \
    --to=pragma@wxs.nl \
    --cc=dag@econ.duke.edu \
    --cc=ntg-context@ntg.nl \
    /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).