[NTG-context] goto & framed
Renaud AUBIN
aubin at nibua-r.org
Tue Oct 17 16:23:05 CEST 2006
Hi folks !
Consider the working example:
\usemodule[pre-original]
\starttext
\startbuffer[stack1]
draw (0,0)--(10cm,10cm);
\stopbuffer
\startbuffer[stack2]
draw (0,10cm)--(10cm,0);
\stopbuffer
\startbuffer[stack3]
draw (0,5cm)--(10cm,5cm);
\stopbuffer
\definesymbol[step 1][{\processMPbuffer[stack1]}]
\definesymbol[step 2][{\processMPbuffer[stack1,stack2]}]
\definesymbol[step 3][{\processMPbuffer[stack1,stack2,stack3]}]
\definefieldstack
[stack]
[step 1,step 2,step 3]
[frame=off]
\defineoverlay[cowbg][{\externalfigure[cow][width=10cm]}]
\framed[background=cowbg,frame=off,offset=none,backgroundoffset=0pt]{{\fieldstack[stack]}}
\goto{next}[JS(Walk_Field{stack})]
\stoptext
I naively (as always ? ;) ) tried to make the "framed" interactive with
\goto{\framed[background=cowbg,frame=off,offset=none,backgroundoffset=0pt]{{\fieldstack[stack]}}}[JS(Walk_Field{stack})]
but failed in my attempt...
Is there a way to solve this problem ?
Renaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20061017/889d5e04/attachment.html
More information about the ntg-context
mailing list