Re: [NTG-context] radiobuttons and other widgets

2019-08-05 Thread Henning Hraban Ramm
how \definesubfield would work and how to setup the relationship to a special radiobutton type. \field[name] would finally call \nameField{} \setupfields doesn’t work anyway. e.g. \setupfield[MMshortString][reset,horizontal][width=45mm,option=printable,frame=off,bottomframe=on,height=2em,offset=0

Re: [NTG-context] Forms and JavaScript

2015-10-07 Thread Henning Hraban Ramm
gt; feature but you can say > > \startJSpreamble FOO used now > … Thank you, that’s great. >> Additionally, I found that \setupfields (plural) doesn’t work, I need to >> setup all formatting in each \setupfield. > > fields have always be special as there can be thousands of fields

Re: [NTG-context] Forms and JavaScript

2015-10-07 Thread Hans Hagen
l open. feature but you can say \startJSpreamble FOO used now … Thank you, that’s great. Additionally, I found that \setupfields (plural) doesn’t work, I need to setup all formatting in each \setupfield. fields have always be special as there can be thousands of fields their settings are

Re: [NTG-context] Forms and JavaScript

2015-10-06 Thread Hans Hagen
... Additionally, I found that \setupfields (plural) doesn’t work, I need to setup all formatting in each \setupfield. fields have always be special as there can be thousands of fields their settings are saved in a special way (in order not to run out of memory / hash space then) ... kind of mkii compatible

Re: [NTG-context] Forms and JavaScript

2015-10-05 Thread Henning Hraban Ramm
http://wiki.contextgarden.net/Widgets Again working with widgets, this bug or feature – JavaScript code is only copied to the PDF if it’s used in a \goto – is still open. Additionally, I found that \setupfields (plural) doesn’t work, I need to setup all formatting in each \setupfield. I found

Re: [NTG-context] \setupfields needs linefeed

2011-08-25 Thread Hans Hagen
On 24-8-2011 16:39, Peter Rolf wrote: Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. inserted text \par * ./tooltip

[NTG-context] \setupfields needs linefeed

2011-08-24 Thread Peter Rolf
Hi, I use '\setupfields[reset]%' in a tooltip macro and this single line breaks compilation. [..] Runaway argument? ]\stoptext ! File ended while scanning use of \scrn_field_setup_fields. inserted text \par * ./tooltip \stoptext ? ! Emergency stop. inserted text

[NTG-context] more missing or ungrouped '=' after

2011-03-20 Thread Reviczky, Adam
Hi I'm getting the same lines by using setupfields (in widgets), but this time I don't even get an output. Here's the minimal example: %%% \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=40pt,width=100pt

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-26 Thread Hans Hagen
of example \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=40pt,width=100pt,align=middle,background=screen,backgroundscreen=.90,frame=off] [height=40pt,width=100pt,color=red,align=right,style=type,background=screen

[NTG-context] Widgets color option not working with Mark IV

2011-01-25 Thread Reviczky, Adam
Hi, I was playing a bit more with the field style properties and found out that if the font size is always different it works, but as soon as it has a size that was used before it defaults back to normal. Here's the minimal example: % begin of example \starttext \setupfields [label,frame

Re: [NTG-context] SubmitForm interaction

2010-11-29 Thread Daniel Grycman
Here comes the short one :-). \setupcolors[state=start] \setupinteraction[state=start, author=Daniel Grycman, date=\currentdate] \setupfields[methods=xml] \setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt, regionin=JS(Initialize_TeX_Key), afterkey=JS(Convert_TeX_key), validate

Re: [NTG-context] SubmitForm interaction

2010-11-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
daniel.gryc...@rub.de wrote: Here comes the short one :-). \setupcolors[state=start] \setupinteraction[state=start, author=Daniel Grycman, date=\currentdate] \setupfields[methods=xml] \setupfield[TextSetup] [width=10cm, height=2.75cm, rulethickness=1pt, regionin=JS(Initialize_TeX_Key), afterkey

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\setupenumerations[names][settings] \setupexternalfigures[options] \setupfield[name][label|horizontal|vertical|frame][settings] \setupfields[names][reset|label|horizontal|vertical|frame][options][settings][settings] \setupfillinlines[options] \setupfillinrules[options] \setupfloat[name][options

Re: [NTG-context] Interactive slides---hidden field on every page

2007-09-17 Thread Peter Rolf
][content][content] \setupfields[reset] \setupfield[HelpSetup] [width=fit,height=fit,frame=off,option={readonly,hidden}] % \definesymbol[content][\SomeContentText] \def\SomeContentText{% \startframedtext [width=\textwidth, height=fit, frame=on, background=color, backgroundcolor

[NTG-context] Interactive slides---hidden field on every page

2007-09-12 Thread Michal Kvasnička
containing the list of content. I'd like it to go to the \Topic I want to discuss and disappear. I tried this: \definefield[Content][check][HelpSetup][content][content] \setupfields[reset] \setupfield[HelpSetup] [width=fit,height=fit,frame=off,option={readonly,hidden}] % \definesymbol[content

Re: [NTG-context] using of field failed when arrange subpages

2007-04-16 Thread Zhichu Chen
, horoffset=0pt, veroffset=0pt, headerdistance=0pt, footerdistance=0pt, topdistance=0pt, bottomdistance=0pt] \pdfoptionpdfminorversion=6 \title{What?} \starttext \newcounter\abc \doglobal\increment\abc \setupfields [reset] \setupfield [HelpSetup] [width=1.2em,height=fit,frame

[NTG-context] using of field failed when arrange subpages

2007-04-15 Thread Zhichu Chen
=0pt, bottomspace=0pt, horoffset=0pt, veroffset=0pt, headerdistance=0pt, footerdistance=0pt, topdistance=0pt, bottomdistance=0pt] \pdfoptionpdfminorversion=6 \title{What?} \starttext \newcounter\abc \doglobal\increment\abc \setupfields [reset] \setupfield [HelpSetup] [width=1.2em

Re: [NTG-context] Problem with \mainlanguage[fr] and javascript

2005-05-09 Thread Denis Pinsard
[fr] \setupinteraction[state=start] \definefield [Help] [check] [HelpSetup] [helpinfo] [helpinfo] \setupfields[reset] \setupfield[HelpSetup][option={readonly,hidden}] \definesymbol [helpinfo] [SomeHelpText] \starttext \fitfield[Help] \goto {Help} [JS(Toggle_Hide{Help})]. \stoptext this works ok

Re: [NTG-context] Problem with \mainlanguage[fr] and javascript

2005-05-08 Thread Hans Hagen
] [helpinfo] [helpinfo] \setupfields[reset] \setupfield[HelpSetup][option={readonly,hidden}] \definesymbol [helpinfo] [SomeHelpText] \starttext \fitfield[Help] \goto {Help} [JS(Toggle_Hide{Help})]. \stoptext this works ok in my version; what version do you run? Hans

[NTG-context] Problem with \mainlanguage[fr] and javascript

2005-04-28 Thread Denis Pinsard
] \setupfields[reset] \setupfield[HelpSetup][option={readonly,hidden}] \definesymbol [helpinfo] [SomeHelpText] \starttext \fitfield[Help] \goto {Help} [JS(Toggle_Hide{Help})]. \stoptext -- Denis. ___ ntg-context mailing list ntg-context@ntg.nl http