[NTG-context] Fields

2012-01-08 Thread Willi Egger
Hi all, With Context MKIV 2012.01.02 21:59 the field mechanism is broken. It works with MKII. ... interactions javascripts loaded: library 'fld' ! LuaTeX error ...ua70/tex/texmf-context/tex/context/base/scrn-fld.lua:43: incorrect index value -1 for tex.setbox() stack traceback:

[NTG-context] Fields...

2011-11-29 Thread Willi Egger
Hi Hans, I tried to build a form with fields. However at this moment it looks likely, that there is a problem with fields. I get the following error: interactions javascripts loaded: library 'fld' ! LuaTeX error .../base/lpdf-fld.lua:823: attempt to call global 'makelinechine' (a nil

Re: [NTG-context] Fields...

2011-11-29 Thread Wolfgang Schuster
Am 29.11.2011 um 11:28 schrieb Willi Egger: Hi Hans, I tried to build a form with fields. However at this moment it looks likely, that there is a problem with fields. I get the following error: interactions javascripts loaded: library 'fld' ! LuaTeX error

Re: [NTG-context] Fields...

2011-11-29 Thread Willi Egger
Hello Wolfgang, great thank you for the immediate fix! Willi On 29 Nov 2011, at 11:55, Wolfgang Schuster wrote: return makelinechild(name,enhance(specification,MultiLine)) ___ If your question is of interest to

Re: [NTG-context] Fields and JS Calculations

2009-11-23 Thread Hans Hagen
jeroen muskee wrote: OK, I started off with a simpler example, just an addition of 2 numbers.. I know this should be pretty close to the correct setup by looking at other Javascript examples, but it just does not work jet. Any suggestions \startJSpreamble {Calculate} used now function

Re: [NTG-context] Fields and JS Calculations

2009-11-22 Thread jeroen muskee
-context] Fields and JS Calculations I want to calculate the pressure of a hydrostatic fluid column with p(psi)=0.052*density(lb/gal)*depth(ft) I have created a form with fields to enter the input, but I need somehow to pass the information entered to the JS calculation to display the result. How

[NTG-context] Fields and JS Calculations

2009-11-21 Thread jeroen muskee
I want to calculate the pressure of a hydrostatic fluid column with p(psi)=0.052*density(lb/gal)*depth(ft) I have created a form with fields to enter the input, but I need somehow to pass the information entered to the JS calculation to display the result. How can you pass an entered field

Re: [NTG-context] fields (widgets) in PDF layer

2006-02-17 Thread Hans Hagen
Peter Rolf wrote: Hi all! I've searched for an answer some time ago http://archive.contextgarden.net/message/20051230.132510.4dba9fed.en.html Meanwhile I've solved the problem and the solution is quite simple. Only some minor changes are needed, to bound the state of fields to the state

Re: [NTG-context] fields (widgets) in PDF layer

2006-02-17 Thread Hans Hagen
Peter Rolf wrote: - Dunno if the name \currentPDFlayer is o.k., or if there is a better place for it's (re)initialisation. \let\currentlayerproperty\empty \def\startlayerproperty {\let\currentlayerproperty\currentproperty \dostartviewerlayer\currentproperty} \def\stoplayerproperty

Re: [NTG-context] fields (widgets) in PDF layer

2006-02-17 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: Hi all! I've searched for an answer some time ago http://archive.contextgarden.net/message/20051230.132510.4dba9fed.en.html Meanwhile I've solved the problem and the solution is quite simple. Only some minor changes are needed, to bound the state of

Re: [NTG-context] fields (widgets) in PDF layer

2006-02-17 Thread Peter Rolf
Hans Hagen wrote: Peter Rolf wrote: - Dunno if the name \currentPDFlayer is o.k., or if there is a better place for it's (re)initialisation. \let\currentlayerproperty\empty \def\startlayerproperty {\let\currentlayerproperty\currentproperty \dostartviewerlayer\currentproperty}