ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fieldstack Walk
@ 2006-04-18  9:09 Michal Kvasnička
  2006-04-18  9:28 ` Peter Rolf
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Kvasnička @ 2006-04-18  9:09 UTC (permalink / raw)


Good morning.

I use a fieldstack in my presentation. I'd like to go to the next frame 
when I click on the figure. I tried this:

\definefieldstack[fgolds3]
  [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
  [frame=off,clickin=JS(Walk_Field{fgolds3})]
\definesymbol[sgolds1][{\externalfigure[golds1]}]
\definesymbol[sgolds3a][{\externalfigure[golds3a]}]
\definesymbol[sgolds3b][{\externalfigure[golds3b]}]
\definesymbol[sgolds3c][{\externalfigure[golds3c]}]
\definesymbol[sgolds3][{\externalfigure[golds3]}]
\placefigure[here]{none}{\fieldstack[fgolds3]}

I thought that `clickin=JS(Walk_Field{fgolds3})' makes precisely what I 
need, but it does not. How can I make it work?

With many thanks yours
Michal Kvasnicka

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

* Re: Fieldstack Walk
  2006-04-18  9:09 Fieldstack Walk Michal Kvasnička
@ 2006-04-18  9:28 ` Peter Rolf
       [not found]   ` <4444B1C9.1090109@econ.muni.cz>
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2006-04-18  9:28 UTC (permalink / raw)


Michal Kvasnička wrote:
> Good morning.
> 
> I use a fieldstack in my presentation. I'd like to go to the next frame 
> when I click on the figure. I tried this:
> 
> \definefieldstack[fgolds3]
>   [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
>   [frame=off,clickin=JS(Walk_Field{fgolds3})]
> \definesymbol[sgolds1][{\externalfigure[golds1]}]
> \definesymbol[sgolds3a][{\externalfigure[golds3a]}]
> \definesymbol[sgolds3b][{\externalfigure[golds3b]}]
> \definesymbol[sgolds3c][{\externalfigure[golds3c]}]
> \definesymbol[sgolds3][{\externalfigure[golds3]}]
> \placefigure[here]{none}{\fieldstack[fgolds3]}
>
just guessing:

first define the symbols, then define the fieldstack.

Hope that helps,

Peter


> I thought that `clickin=JS(Walk_Field{fgolds3})' makes precisely what I 
> need, but it does not. How can I make it work?
> 
> With many thanks yours
> Michal Kvasnicka
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fieldstack Walk
       [not found]   ` <4444B1C9.1090109@econ.muni.cz>
@ 2006-04-18 10:18     ` Peter Rolf
       [not found]     ` <4444B966.5020108@gmx.net>
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Rolf @ 2006-04-18 10:18 UTC (permalink / raw)


Hi Michal,

Michal Kvasnička wrote:
> Hi Peter,
> 
> thank for your answer, but it doesn't help. First, it seems the order is
> not important in ConTeXt. Second, the fieldstack works well. I can even
> make it walk with \goto{...}[JS(Walk_Field{fgolds3})]. The only thing
> that doesn't work is that I can't click on the figure to make it walk.
> 
I see  :)

Can you try the following:

\definefieldstack[fgolds3]
 [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
 [frame=off,option=,clickin=JS(Walk_Field{fgolds3})]

	    ^^^^^^

option is "readonly" as default (see \dodofieldstack in core-fld.tex),
so there can be no interaction (if I'm not again completely wrong).

Greets, Peter

P.S.: don't know why this mail was replied to your mail address and not
to ntg-context...

> Thanks anyway.
> M.K.
> 
>>> I use a fieldstack in my presentation. I'd like to go to the next
>>> frame when I click on the figure. I tried this:
>>>
>>> \definefieldstack[fgolds3]
>>>  [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
>>>  [frame=off,clickin=JS(Walk_Field{fgolds3})]
>>> \definesymbol[sgolds1][{\externalfigure[golds1]}]
>>> \definesymbol[sgolds3a][{\externalfigure[golds3a]}]
>>> \definesymbol[sgolds3b][{\externalfigure[golds3b]}]
>>> \definesymbol[sgolds3c][{\externalfigure[golds3c]}]
>>> \definesymbol[sgolds3][{\externalfigure[golds3]}]
>>> \placefigure[here]{none}{\fieldstack[fgolds3]}
>>>
>>>   
>> just guessing:
>>
>> first define the symbols, then define the fieldstack.
>>
>> Hope that helps,
>>
>> Peter
>>
>>
>>  
>>
>>> I thought that `clickin=JS(Walk_Field{fgolds3})' makes precisely what
>>> I need, but it does not. How can I make it work?
>>>
>>> With many thanks yours
>>> Michal Kvasnicka
>>>
>>> _______________________________________________
>>> ntg-context mailing list
>>> ntg-context@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>>
>>>
>>>   
> 
> 

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fieldstack Walk
       [not found]     ` <4444B966.5020108@gmx.net>
@ 2006-04-18 10:39       ` Michal Kvasnička
  2006-04-18 11:55         ` Peter Rolf
  2006-04-22 20:01         ` Peter Rolf
  0 siblings, 2 replies; 11+ messages in thread
From: Michal Kvasnička @ 2006-04-18 10:39 UTC (permalink / raw)


Good afternoon.

Many thanks, this  solves the problem -- at least partially. The frames 
are `walking' now, but new problems appeared. I found that when I set 
`clickin=...', it is set it automatically to `clickout' as well, so one 
mouse click runs the JavaScript code twice. So I've set it this way:

\definefieldstack[fgolds2]
  [sgolds1,sgolds2a,sgolds2b,sgolds2c,sgolds2d,sgolds2]
  [frame=off,option=,clickout=JS(Walk_Field{fgolds3}),clickin=]

It's better, but I found that now frames are walking in a strange order. 
It is rather puzzling, since when it is invoked by \goto{...}[JS(...)], 
it works well. Moreover, it does different things at AdobeReader 7.x 
under Linux, and Acrobat 4.x under Windoze.

Can you help me to solve it?
Many thanks once more.
M.K.

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

* Re: Fieldstack Walk
  2006-04-18 10:39       ` Michal Kvasnička
@ 2006-04-18 11:55         ` Peter Rolf
  2006-04-18 21:35           ` Peter Rolf
  2006-04-22 20:01         ` Peter Rolf
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2006-04-18 11:55 UTC (permalink / raw)


Michal Kvasnička wrote:
> Good afternoon.
> 
> Many thanks, this  solves the problem -- at least partially. The frames
> are `walking' now, but new problems appeared. I found that when I set
> `clickin=...', it is set it automatically to `clickout' as well, so one
> mouse click runs the JavaScript code twice. So I've set it this way:
> 
> \definefieldstack[fgolds2]
>  [sgolds1,sgolds2a,sgolds2b,sgolds2c,sgolds2d,sgolds2]
>  [frame=off,option=,clickout=JS(Walk_Field{fgolds3}),clickin=]
> 
> It's better, but I found that now frames are walking in a strange order.
> It is rather puzzling, since when it is invoked by \goto{...}[JS(...)],
> it works well. Moreover, it does different things at AdobeReader 7.x
> under Linux, and Acrobat 4.x under Windoze.
> 
> Can you help me to solve it?

Mhh, looks like you are going new ways with making the fieldstack
interactive (maybe not intended?). Sorry, but I can't help you any
further in this direction.

Another possibility that I can think of is to add an invisible button
field (same dimensions) behind a normal fieldstack, that calls
JS(Walk_Field...). Should cause no conflicts with the readonly (non
interactive) fieldstack [but this is untested!]. You can simply check
this with a button beside the fieldstack and if this works ok, you can use

\nointerlineskip
\smashedvbox{YOUR WALKBUTTON FIELD}%
\placefigure[here]{none}{\fieldstack[fgolds3]}

to place it under your fieldstack.

HTH, Peter


> Many thanks once more.
> M.K.
> 
> 

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fieldstack Walk
  2006-04-18 11:55         ` Peter Rolf
@ 2006-04-18 21:35           ` Peter Rolf
  2006-04-18 22:03             ` Sanjoy Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2006-04-18 21:35 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2147 bytes --]

Peter Rolf wrote:
> Michal Kvasnička wrote:
>> Good afternoon.
>>
>> Many thanks, this  solves the problem -- at least partially. The frames
>> are `walking' now, but new problems appeared. I found that when I set
>> `clickin=...', it is set it automatically to `clickout' as well, so one
>> mouse click runs the JavaScript code twice. So I've set it this way:
>>
>> \definefieldstack[fgolds2]
>>  [sgolds1,sgolds2a,sgolds2b,sgolds2c,sgolds2d,sgolds2]
>>  [frame=off,option=,clickout=JS(Walk_Field{fgolds3}),clickin=]
>>
>> It's better, but I found that now frames are walking in a strange order.
>> It is rather puzzling, since when it is invoked by \goto{...}[JS(...)],
>> it works well. Moreover, it does different things at AdobeReader 7.x
>> under Linux, and Acrobat 4.x under Windoze.
>>
>> Can you help me to solve it?
> 
> Mhh, looks like you are going new ways with making the fieldstack
> interactive (maybe not intended?). Sorry, but I can't help you any
> further in this direction.
> 
> Another possibility that I can think of is to add an invisible button
> field (same dimensions) behind a normal fieldstack, that calls
> JS(Walk_Field...). Should cause no conflicts with the readonly (non
> interactive) fieldstack [but this is untested!]. You can simply check
> this with a button beside the fieldstack and if this works ok, you can use
> 
> \nointerlineskip
> \smashedvbox{YOUR WALKBUTTON FIELD}%
> \placefigure[here]{none}{\fieldstack[fgolds3]}
> 
> to place it under your fieldstack.
> 
Bad news...
I just tested this and it works only as long as you don't stack the
button and the fieldstack.

The only solution I have found, is to seperate the interaction button
into a pdf layer. Things work as desired (you need a context version not
older than 2 month), but there are still some problems with spurious spaces.

Example is attached.

Greets, Peter


> HTH, Peter
> 
> 
>> Many thanks once more.
>> M.K.
>>
>>
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 1107 bytes --]

% interface=en output=pdftex
% Time-stamp: <Dienstag, 18 April 2006 23:16:39; test.tex>
%
\setupinteraction[state=start]
\setupcolors[state=start]

\starttext

\switchtobodyfont[ss,32pt]

\def\FS#1{\framed[width=4cm,height=4cm]{#1}}%

\definesymbol[empty][]

\definesymbol[sgolds1][\FS{A}]
\definesymbol[sgolds3a][\FS{B}]
\definesymbol[sgolds3b][\FS{C}]
\definesymbol[sgolds3c][\FS{D}]
\definesymbol[sgolds3][\FS{E}]


\setupfield[hidden][width=4cm,height=4cm,
%  frame=off,
  framecolor=blue,
  clickin=JS(Walk_Field{fgolds3})]

\definefield[Walk][check][hidden][empty][empty]


\definefieldstack[fgolds3]
 [sgolds1,sgolds3a,sgolds3b,sgolds3c,sgolds3]
 [frame=off,clickin=JS(Walk_Field{fgolds3})]


\defineproperty[interaction][layer][title=walkfield, state=start]

%\showmakeup

% can't get rid of the spurious apaces...
\vbox{\forgetall
\nointerlineskip
\smashedvbox{\fieldstack[fgolds3]}%
%
\startproperty[interaction]%
\nointerlineskip
\field[Walk]
\stopproperty%
}

\stoptext


%%% Local Variables:
%%% mode: context
%%% TeX-master: ""
%%% End:

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fieldstack Walk
  2006-04-18 21:35           ` Peter Rolf
@ 2006-04-18 22:03             ` Sanjoy Mahajan
  2006-04-19  8:41               ` Peter Rolf
  0 siblings, 1 reply; 11+ messages in thread
From: Sanjoy Mahajan @ 2006-04-18 22:03 UTC (permalink / raw)


> there are still some problems with spurious spaces.

Just on the off chance that it's the same problem I had with some section
numbers getting an extra space before them (in pdf mode):

If you are running pdf(e)tex 1.21, you might need the patch below;
then remake the formats.  I think (but haven't tried it myself) that
pdftex 1.30 wants the original spacings (i.e. don't apply the patch in
that case).  See
<http://www.ntg.nl/pipermail/ntg-context/2006/017388.html>

diff -r f6897ee163d2 -r 5ff7b6430984 tex/context/base/enco-pfr.tex
--- a/tex/context/base/enco-pfr.tex	Fri Apr 14 14:45:01 2006 -0400
+++ b/tex/context/base/enco-pfr.tex	Fri Apr 14 14:51:47 2006 -0400
@@ -188,7 +188,7 @@
       \else\ifcsname\pdffontfileresource\endcsname
         % is there a resource already included
         \doifsomething\pdffontfileresource
-          {\pdfobj reserveobjnum {}%
+          {\pdfobj reserveobjnum{}%
            \setxvalue\pdffontresource{\the\pdflastobj}%
            \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}%
 %            \doglobal\appendetoks
@@ -216,7 +216,7 @@
      {\expandafter\ifx\csname\pdffontresource\endcsname\relax
         \expandafter\ifx\csname\pdffontfileresource\endcsname\relax\else
           \doifsomething\pdffontfileresource
-            {\pdfobj reserveobjnum {}%
+            {\pdfobj reserveobjnum{}%
              \setxvalue\pdffontresource{\the\pdflastobj}%
              \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}%
 %              \doglobal\appendetoks

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

* Re: Fieldstack Walk
  2006-04-18 22:03             ` Sanjoy Mahajan
@ 2006-04-19  8:41               ` Peter Rolf
  2006-04-19 11:49                 ` Sanjoy Mahajan
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2006-04-19  8:41 UTC (permalink / raw)


Thanks Sanjoy for pointing this out. Both problems are still *unfixed*
(beta from 17.04). Unfortunately fixing them doesn't solve my problem.
I'll try it again later. Maybe I was to tired yesterday to solve this
and the error is on my side...

Greets, Peter

Sanjoy Mahajan wrote:
>> there are still some problems with spurious spaces.
> 
> Just on the off chance that it's the same problem I had with some section
> numbers getting an extra space before them (in pdf mode):
> 
> If you are running pdf(e)tex 1.21, you might need the patch below;
> then remake the formats.  I think (but haven't tried it myself) that
> pdftex 1.30 wants the original spacings (i.e. don't apply the patch in
> that case).  See
> <http://www.ntg.nl/pipermail/ntg-context/2006/017388.html>
> 
> diff -r f6897ee163d2 -r 5ff7b6430984 tex/context/base/enco-pfr.tex
> --- a/tex/context/base/enco-pfr.tex	Fri Apr 14 14:45:01 2006 -0400
> +++ b/tex/context/base/enco-pfr.tex	Fri Apr 14 14:51:47 2006 -0400
> @@ -188,7 +188,7 @@
>        \else\ifcsname\pdffontfileresource\endcsname
>          % is there a resource already included
>          \doifsomething\pdffontfileresource
> -          {\pdfobj reserveobjnum {}%
> +          {\pdfobj reserveobjnum{}%
>             \setxvalue\pdffontresource{\the\pdflastobj}%
>             \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}%
>  %            \doglobal\appendetoks
> @@ -216,7 +216,7 @@
>       {\expandafter\ifx\csname\pdffontresource\endcsname\relax
>          \expandafter\ifx\csname\pdffontfileresource\endcsname\relax\else
>            \doifsomething\pdffontfileresource
> -            {\pdfobj reserveobjnum {}%
> +            {\pdfobj reserveobjnum{}%
>               \setxvalue\pdffontresource{\the\pdflastobj}%
>               \flushatshipout{\dododoincludepdffontresource{\currentencoding}}}%
>  %              \doglobal\appendetoks
> 
> 
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

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

* Re: Fieldstack Walk
  2006-04-19  8:41               ` Peter Rolf
@ 2006-04-19 11:49                 ` Sanjoy Mahajan
  0 siblings, 0 replies; 11+ messages in thread
From: Sanjoy Mahajan @ 2006-04-19 11:49 UTC (permalink / raw)


From:    Peter Rolf <indiego@gmx.net>
> Both problems are still *unfixed* (beta from 17.04).

The one I pointed out doesn't have an obvious solution since (I think)
the reserveobjnum spacing change breaks with pdftex 1.30 but is needed
with pdftex 1.21.  I guess the magic line could be wrapped in a test
for pdftexminorversion or something like that (and that wrapped in a
test for using pdftex at all).

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
         --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

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

* Re: Fieldstack Walk
  2006-04-18 10:39       ` Michal Kvasnička
  2006-04-18 11:55         ` Peter Rolf
@ 2006-04-22 20:01         ` Peter Rolf
  2006-04-22 20:09           ` Peter Rolf
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Rolf @ 2006-04-22 20:01 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

Michal Kvasnička wrote:
> Good afternoon.
> 
> Many thanks, this  solves the problem -- at least partially. The frames
> are `walking' now, but new problems appeared. I found that when I set
> `clickin=...', it is set it automatically to `clickout' as well, so one
> mouse click runs the JavaScript code twice. So I've set it this way:
> 
> \definefieldstack[fgolds2]
>  [sgolds1,sgolds2a,sgolds2b,sgolds2c,sgolds2d,sgolds2]
>  [frame=off,option=,clickout=JS(Walk_Field{fgolds3}),clickin=]
> 
> It's better, but I found that now frames are walking in a strange order.
> It is rather puzzling, since when it is invoked by \goto{...}[JS(...)],
> it works well. Moreover, it does different things at AdobeReader 7.x
> under Linux, and Acrobat 4.x under Windoze.
> 
> Can you help me to solve it?

Took some time, but it works now. What I don't understand, is the
strange behaviour of the offset parameter in this case. See attached file.

Greets, Peter

> Many thanks once more.
> M.K.
> 
> 


[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 1310 bytes --]

% interface=en output=pdftex
% Time-stamp: <Samstag, 22 April 2006 21:53:30; test.tex>
%
\setupinteraction[state=start]
\setupcolors[state=start]

\starttext

\tracefieldstrue

\switchtobodyfont[96pt]

\def\FS#1{\framed[width=4cm,height=4cm,strut=no]{\red\bf#1}}%

\definesymbol [empty]   []

\definesymbol [one]     [\FS{1}]
\definesymbol [two]     [\FS{2}]
\definesymbol [three]   [\FS{3}]
\definesymbol [four]    [\FS{4}]
\definesymbol [five]    [\FS{5}]


\setupfield[interaction]
  [width=4cm,height=4cm,
%   frame=off,
   framecolor=blue,
   offset=none,% default offset causes different positioning of walk button and fieldstack
   clickin=JS(Walk_Field{sequence})]

\definefield[Walk][check][interaction][empty][empty]


\definefieldstack[sequence]
  [one,two,three,four,five]
  [frame=off,
   offset=none,% default offset causes different positioning of walk button and fieldstack
   clickin=JS(Walk_Field{sequence})]


\defineproperty[interaction][layer][title=walkfield, state=start]


\vbox{\forgetall
\nointerlineskip\smashedvbox{\fieldstack[sequence]}%
%
\startproperty[interaction]%
\nointerlineskip\field[Walk]
\stopproperty%
}

\blank[2cm]
\showfields

\stoptext


%%% Local Variables:
%%% mode: context
%%% TeX-master: ""
%%% End:

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fieldstack Walk
  2006-04-22 20:01         ` Peter Rolf
@ 2006-04-22 20:09           ` Peter Rolf
  0 siblings, 0 replies; 11+ messages in thread
From: Peter Rolf @ 2006-04-22 20:09 UTC (permalink / raw)


Peter Rolf wrote:
> Michal Kvasnička wrote:
>> Good afternoon.
>>
>> Many thanks, this  solves the problem -- at least partially. The frames
>> are `walking' now, but new problems appeared. I found that when I set
>> `clickin=...', it is set it automatically to `clickout' as well, so one
>> mouse click runs the JavaScript code twice. So I've set it this way:
>>
>> \definefieldstack[fgolds2]
>>  [sgolds1,sgolds2a,sgolds2b,sgolds2c,sgolds2d,sgolds2]
>>  [frame=off,option=,clickout=JS(Walk_Field{fgolds3}),clickin=]
>>
>> It's better, but I found that now frames are walking in a strange order.
>> It is rather puzzling, since when it is invoked by \goto{...}[JS(...)],
>> it works well. Moreover, it does different things at AdobeReader 7.x
>> under Linux, and Acrobat 4.x under Windoze.
>>
>> Can you help me to solve it?
> 
> Took some time, but it works now. What I don't understand, is the
> strange behaviour of the offset parameter in this case. See attached file.
> 
> Greets, Peter
> 
>> Many thanks once more.
>> M.K.
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> % interface=en output=pdftex
> % Time-stamp: <Samstag, 22 April 2006 21:53:30; test.tex>
> %
> \setupinteraction[state=start]
> \setupcolors[state=start]
> 
> \starttext
> 
> \tracefieldstrue
> 
> \switchtobodyfont[96pt]
> 
> \def\FS#1{\framed[width=4cm,height=4cm,strut=no]{\red\bf#1}}%
> 
> \definesymbol [empty]   []
> 
> \definesymbol [one]     [\FS{1}]
> \definesymbol [two]     [\FS{2}]
> \definesymbol [three]   [\FS{3}]
> \definesymbol [four]    [\FS{4}]
> \definesymbol [five]    [\FS{5}]
> 
> 
> \setupfield[interaction]
>   [width=4cm,height=4cm,
> %   frame=off,
>    framecolor=blue,
>    offset=none,% default offset causes different positioning of walk button and fieldstack
>    clickin=JS(Walk_Field{sequence})]
> 
> \definefield[Walk][check][interaction][empty][empty]
> 
> 
> \definefieldstack[sequence]
>   [one,two,three,four,five]
>   [frame=off,
>    offset=none,% default offset causes different positioning of walk button and fieldstack
>    clickin=JS(Walk_Field{sequence})]
     ^^^^

oeps, this one is obsolete

> 
> 
> \defineproperty[interaction][layer][title=walkfield, state=start]
> 
> 
> \vbox{\forgetall
> \nointerlineskip\smashedvbox{\fieldstack[sequence]}%
> %
> \startproperty[interaction]%
> \nointerlineskip\field[Walk]
> \stopproperty%
> }
> 
> \blank[2cm]
> \showfields
> 
> \stoptext
> 
> 
> %%% Local Variables:
> %%% mode: context
> %%% TeX-master: ""
> %%% End:
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2006-04-22 20:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-18  9:09 Fieldstack Walk Michal Kvasnička
2006-04-18  9:28 ` Peter Rolf
     [not found]   ` <4444B1C9.1090109@econ.muni.cz>
2006-04-18 10:18     ` Peter Rolf
     [not found]     ` <4444B966.5020108@gmx.net>
2006-04-18 10:39       ` Michal Kvasnička
2006-04-18 11:55         ` Peter Rolf
2006-04-18 21:35           ` Peter Rolf
2006-04-18 22:03             ` Sanjoy Mahajan
2006-04-19  8:41               ` Peter Rolf
2006-04-19 11:49                 ` Sanjoy Mahajan
2006-04-22 20:01         ` Peter Rolf
2006-04-22 20:09           ` Peter Rolf

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