ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Up-to-date 001
@ 2000-10-26 20:16 Christopher Tipper
  2000-10-27  7:25 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Tipper @ 2000-10-26 20:16 UTC (permalink / raw)


Hi All,

On page 4 of the ConTeXT widgets tutorial I am informed that you can do something like this:

\goto {forget everything and exit} [JS(Forget_Changes),CloseDocument]

but when I compile with the latest beta
ConTeXt  ver: 2000.10.22  fmt: 2000.10.26  int: english  mes: english

I get this message:
references     : unknown reference [][JS(Forget_Changes)CloseDocument]

Something is swallowing the comma delimiter.

Does one have to use a \usemodule[..] directive to enable javascript?

with \goto {forget everything} [JS(Forget_Changes)] I get this message:

references     : unknown reference [][JS(Forget_Changes)]

Greetings,
Christopher
---------------------------------------------------------------------
   Nil Desperandum Illegitimi 
   -- Don't let the bastards get you down (~Ovid)


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

* Re: Up-to-date 001
  2000-10-26 20:16 Up-to-date 001 Christopher Tipper
@ 2000-10-27  7:25 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-10-27  7:25 UTC (permalink / raw)
  Cc: ConTeXT Mailing List

At 09:16 PM 10/26/00 +0100, Christopher Tipper wrote:
>Hi All,
>
>On page 4 of the ConTeXT widgets tutorial I am informed that you can do
something like this:
>
>\goto {forget everything and exit} [JS(Forget_Changes),CloseDocument]
>
>but when I compile with the latest beta
>ConTeXt  ver: 2000.10.22  fmt: 2000.10.26  int: english  mes: english
>
>I get this message:
>references     : unknown reference [][JS(Forget_Changes)CloseDocument]

that's only in the message, after the ref is digested

>Something is swallowing the comma delimiter.

only in case of an error

>Does one have to use a \usemodule[..] directive to enable javascript?

No, but you have to load the js code snippets you need (is sometimes done
automatically)

\useJSscripts[fld]

>with \goto {forget everything} [JS(Forget_Changes)] I get this message:
>
>references     : unknown reference [][JS(Forget_Changes)]

since it's not loaded yet

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2000-10-27  7:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-26 20:16 Up-to-date 001 Christopher Tipper
2000-10-27  7:25 ` 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).