Re: [NTG-context] Widgets with luatex

2008-04-08 Thread Lutz Haseloff
2008/4/8, Hans Hagen [EMAIL PROTECTED]:
 Lutz Haseloff wrote:
   Hi Hans, Hi all,
  
   I try to use widgets with luatex and ConTeXt MKIV.
  
   If i try the example for a choice field from mwidget-s.pdf i get following
   error:
  
   javascript : loading script set fld
   (C:/context/texmf-context/tex/context/base/java-fld.tex)
   ! LuaTeX error .../context/texmf-context/tex/context/base/colo-new.lua:429:


 that line should be ...

  return format(%s g %s G,default or 0,default or 0)

  you need to remake the format

This works, thanks!

  -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
   | www.pragma-pod.nl
  -
  
 ___
  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
  
 ___

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


Re: [NTG-context] Widgets with luatex

2008-04-08 Thread Hans Hagen
Lutz Haseloff wrote:
 Hi Hans, Hi all,
 
 I try to use widgets with luatex and ConTeXt MKIV.
 
 If i try the example for a choice field from mwidget-s.pdf i get following
 error:
 
 javascript : loading script set fld
 (C:/context/texmf-context/tex/context/base/java-fld.tex)
 ! LuaTeX error .../context/texmf-context/tex/context/base/colo-new.lua:429:

that line should be ...

 return format(%s g %s G,default or 0,default or 0)

you need to remake the format


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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
___