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
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
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
...
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
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
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
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
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
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
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
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
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
\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
][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
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
,
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
=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
[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
] [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
]
\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
20 matches
Mail list logo