From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27241 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Fieldstack Walk Date: Tue, 18 Apr 2006 23:35:22 +0200 Message-ID: <44455B9A.9050308@gmx.net> References: <4444ACAC.90408@econ.muni.cz> <4444B13B.1030605@gmx.net> <4444B1C9.1090109@econ.muni.cz> <4444B966.5020108@gmx.net> <4444C1CE.9070205@econ.muni.cz> <4444D39B.8030408@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090606060407090003090607" X-Trace: sea.gmane.org 1145396291 22844 80.91.229.2 (18 Apr 2006 21:38:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 21:38:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 18 23:38:08 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FVxtg-0004NA-FG for gctc-ntg-context-518@m.gmane.org; Tue, 18 Apr 2006 23:38:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EB8212798; Tue, 18 Apr 2006 23:38:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27378-01; Tue, 18 Apr 2006 23:38:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C56D12784; Tue, 18 Apr 2006 23:36:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9464812784 for ; Tue, 18 Apr 2006 23:36:14 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27093-07 for ; Tue, 18 Apr 2006 23:36:12 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id DDFEB1277F for ; Tue, 18 Apr 2006 23:36:12 +0200 (CEST) Original-Received: (qmail invoked by alias); 18 Apr 2006 21:36:12 -0000 Original-Received: from i577B8316.versanet.de (EHLO [192.168.1.3]) [87.123.131.22] by mail.gmx.net (mp017) with SMTP; 18 Apr 2006 23:36:12 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <4444D39B.8030408@gmx.net> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27241 Archived-At: This is a multi-part message in MIME format. --------------090606060407090003090607 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Peter Rolf wrote: > Michal Kvasni=C4=8Dka wrote: >> Good afternoon. >> >> Many thanks, this solves the problem -- at least partially. The frame= s >> are `walking' now, but new problems appeared. I found that when I set >> `clickin=3D...', 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=3Doff,option=3D,clickout=3DJS(Walk_Field{fgolds3}),clickin=3D] >> >> It's better, but I found that now frames are walking in a strange orde= r. >> 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? >=20 > 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. >=20 > 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 >=20 > \nointerlineskip > \smashedvbox{YOUR WALKBUTTON FIELD}% > \placefigure[here]{none}{\fieldstack[fgolds3]} >=20 > to place it under your fieldstack. >=20 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 spac= es. Example is attached. Greets, Peter > HTH, Peter >=20 >=20 >> Many thanks once more. >> M.K. >> >> >=20 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --------------090606060407090003090607 Content-Type: text/plain; name="test.tex" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="test.tex" JSBpbnRlcmZhY2U9ZW4gb3V0cHV0PXBkZnRleA0KJSBUaW1lLXN0YW1wOiA8RGllbnN0YWcs IDE4IEFwcmlsIDIwMDYgMjM6MTY6Mzk7IHRlc3QudGV4Pg0KJQ0KXHNldHVwaW50ZXJhY3Rp b25bc3RhdGU9c3RhcnRdDQpcc2V0dXBjb2xvcnNbc3RhdGU9c3RhcnRdDQoNClxzdGFydHRl eHQNCg0KXHN3aXRjaHRvYm9keWZvbnRbc3MsMzJwdF0NCg0KXGRlZlxGUyMxe1xmcmFtZWRb d2lkdGg9NGNtLGhlaWdodD00Y21deyMxfX0lDQoNClxkZWZpbmVzeW1ib2xbZW1wdHldW10N Cg0KXGRlZmluZXN5bWJvbFtzZ29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C1tYXN0ZXI6ICIiDQolJSUgRW5kOg0K --------------090606060407090003090607 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------090606060407090003090607--