From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35758 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: luatex and interaction Date: Tue, 07 Aug 2007 21:39:30 +0200 Message-ID: <46B8CA72.4050606@gmx.net> References: <46B892EF.1020202@gmx.net> <46B8C6C4.1070809@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080800060300060703090100" X-Trace: sea.gmane.org 1186515582 15492 80.91.229.12 (7 Aug 2007 19:39:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2007 19:39:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 07 21:39:39 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1IIUu0-0002i8-SO for gctc-ntg-context-518@m.gmane.org; Tue, 07 Aug 2007 21:39:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2202820137; Tue, 7 Aug 2007 21:39:36 +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 29951-01-4; Tue, 7 Aug 2007 21:39:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 188A120085; Tue, 7 Aug 2007 21:39:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5741320085 for ; Tue, 7 Aug 2007 21:39:27 +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 29951-01-3 for ; Tue, 7 Aug 2007 21:39:24 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id C0BB71FFE0 for ; Tue, 7 Aug 2007 21:39:24 +0200 (CEST) Original-Received: (qmail invoked by alias); 07 Aug 2007 19:39:24 -0000 Original-Received: from i577BACA8.versanet.de (EHLO [192.168.1.3]) [87.123.172.168] by mail.gmx.net (mp035) with SMTP; 07 Aug 2007 21:39:24 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX18OEz9eO5YOM9WMzKFDFMR5KGBRtAmx+jZk4j1S/C Vu1dAII15GbJnD User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <46B8C6C4.1070809@wxs.nl> X-Enigmail-Version: 0.95.3 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:35758 Archived-At: This is a multi-part message in MIME format. --------------080800060300060703090100 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hans Hagen schrieb: > Peter Rolf wrote: >> hi, >> >> every peace of code with interactive elements gives me this error message >> >> >> systems : begin file walkfield at line 5 >> (./walkfield.tuo) >> javascript : loading script set fld >> (r:/tex/texmf-local/tex/context/base/java-fld.tex) >> ! Undefined control sequence. >> \dopresetfieldsymbol #1->\checkobjectreferences >> \doifobjectfoundelse >> {SYM}{#... >> \dosetupfield ...tfieldsymbol \@@DriverFieldValue >> \setbox \scratchbox >> \hbox ... >> \dofield ...abel ,\v!frame ,\v!horizontal ][][][]} >> \iftrialtypesetting >> \else ... >> >> \egroup >> \globalcommacommand ...tackedfieldnumber ]\egroup >> \bgroup >> \globalprocesscommaitem ...globalcommacommand {#1} >> \expandafter >> \globalproces... >> .... >> l.43 \smashedvbox{\fieldstack[sequence]} >> % >> ? >> >> every interactive element should produce this error, but i can also send >> a test file. > > > % engine=luatex > > \starttext > > \setupinteraction[state=start] > > \chapter[first]{First} > > test \in{chapter}[second] > > \chapter[second]{Second} > > test \in{chapter}[first] > > \stoptext > > works ok here; nothing was changed in that code > same here. try the attached (old) example. works with pdftex, breaks with luatex. > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > --------------080800060300060703090100 Content-Type: text/plain; name="walkfield.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="walkfield.tex" \setupoutput[pdftex] \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 ] \defineproperty[interaction][layer][title=interaction, state=start] \vbox{\normaloffinterlineskip \smashedvbox{\fieldstack[sequence]}% % \startproperty[interaction]% \field[Walk] \stopproperty% } \blank[2cm] \showfields \stoptext --------------080800060300060703090100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --------------080800060300060703090100--