ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FieldStack problem.
@ 2001-08-09 19:05 Manu V Batura
  2001-08-20  9:10 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Manu V Batura @ 2001-08-09 19:05 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Hello,

I tried to use something similar to Field Stack example provided in up-001-s.
\goto {link} [JS(Set_Field{myFieldStack,1})]

But acrobat gave an error saying that 'Set_Field' javascript function not found.

How should we make javascript work with context? Context compiled my code without

errors. Java-fld.tex file was also processed during the compile, but I could not manage to

make the 'Set_Field' visible to acrobat.

Thanks,

Manu V Batura

[-- Attachment #2: Type: text/html, Size: 1120 bytes --]

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

* Re: FieldStack problem.
  2001-08-09 19:05 FieldStack problem Manu V Batura
@ 2001-08-20  9:10 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-08-20  9:10 UTC (permalink / raw)
  Cc: ntg-context

At 12:35 AM 8/10/2001 +0530, Manu V Batura wrote:
>Hello,
>
>I tried to use something similar to Field Stack example provided in up-001-s.
>
>\goto {link} [JS(Set_Field{myFieldStack,1})]
>
>But acrobat gave an error saying that 'Set_Field' javascript function not 
>found.
>
>How should we make javascript work with context? Context compiled my code 
>without
>
>errors. Java-fld.tex file was also processed during the compile, but I 
>could not manage to
>
>make the 'Set_Field' visible to acrobat.

There is a problem in acrobat with regards to initialization of javascript 
and fields, and there are differences between acro 4 and 5. Did Set_Field 
end up in the pdf file? If not, is java-fld.tex loaded? If not, say 
'\useJSscripts[fld]'

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
-------------------------------------------------------------------------


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

end of thread, other threads:[~2001-08-20  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-09 19:05 FieldStack problem Manu V Batura
2001-08-20  9:10 ` 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).