ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pdf-Forms
@ 2009-01-04 17:44 Holzminister
  2009-01-04 17:53 ` pdf-Forms Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Holzminister @ 2009-01-04 17:44 UTC (permalink / raw)
  To: ntg-context

Hi!

I wanted to test pdf-forms with the latest minimals from contextgarden
and ran into some interesting errors.

The following code compiles, but I cannot change the fieldvalue:

>>
\starttext
Field \fillinfield[test]{Fieldtext}
\stoptext
>>

When I add \setupinteraction[state=start], the compilation breaks with
an error:

>>
! Undefined control sequence.
var :j:fields_1 ->
                       visible_field  = new Array() ; var
visible_fields = 0...

\docommand ...code {\getvalue {\r!java \r!java #1}
                                                  }\ifoneJSpreamble
\@EA \se...

\next2 #1,->\docommand {#1}
                           \doprocesscommaitem 
<argument> \relax fields_1,
                           Do_Check_Answer
\doprocesscommalist ...aitem \gobbleoneargument #1
                                                  ,]\relax \global
\advance ...

\presetJSpreamble ...[\allJSpreambles ]\docommand 
                                                  \ifoneJSpreamble
\gdef \al... ...
l.6 \stoptext
>>

Neither pdfcontext nor luatex wanted to compile. Can anyone help?

Best regards,
Eyke
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: pdf-Forms
  2009-01-04 17:44 pdf-Forms Holzminister
@ 2009-01-04 17:53 ` Wolfgang Schuster
  2009-01-04 18:41   ` pdf-Forms Holzminister
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2009-01-04 17:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.01.2009 um 18:44 schrieb Holzminister:

>
> When I add \setupinteraction[state=start], the compilation breaks with
> an error:

[...]

This is fixed in the last alpha.

> Neither pdfcontext nor luatex wanted to compile. Can anyone help?

Why the pdf prefix for context?

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: pdf-Forms
  2009-01-04 17:53 ` pdf-Forms Wolfgang Schuster
@ 2009-01-04 18:41   ` Holzminister
  2009-01-04 19:56     ` pdf-Forms Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Holzminister @ 2009-01-04 18:41 UTC (permalink / raw)
  To: ntg-context

> >
> > When I add \setupinteraction[state=start], the compilation breaks
> > with an error:
> 
> [...]
> 
> This is fixed in the last alpha.
Thanks, it works.


> > Neither pdfcontext nor luatex wanted to compile. Can anyone help?
> 
> Why the pdf prefix for context?
I thought it was nicer to distinguish the normal pdf-output and luatex.

Do you know some good tutorials or example documents about forms and
JavaScript created with context? mwidget-s.pdf or the wikipage are not
that efficient. I want to create forms with a lot of textfields and
automatic calculations via JavaScript.

Best regards,
Eyke
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: pdf-Forms
  2009-01-04 18:41   ` pdf-Forms Holzminister
@ 2009-01-04 19:56     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2009-01-04 19:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.01.2009 um 19:41 schrieb Holzminister:

>>>
>>> When I add \setupinteraction[state=start], the compilation breaks
>>> with an error:
>>
>> [...]
>>
>> This is fixed in the last alpha.
> Thanks, it works.
>
>
>>> Neither pdfcontext nor luatex wanted to compile. Can anyone help?
>>
>> Why the pdf prefix for context?
> I thought it was nicer to distinguish the normal pdf-output and  
> luatex.

You could explain it with MkII and MkIV.

> Do you know some good tutorials or example documents about forms and
> JavaScript created with context? mwidget-s.pdf or the wikipage are not
> that efficient. I want to create forms with a lot of textfields and
> automatic calculations via JavaScript.

No but you search in the list archive.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-01-04 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-04 17:44 pdf-Forms Holzminister
2009-01-04 17:53 ` pdf-Forms Wolfgang Schuster
2009-01-04 18:41   ` pdf-Forms Holzminister
2009-01-04 19:56     ` pdf-Forms Wolfgang Schuster

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