From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46603 Path: news.gmane.org!not-for-mail From: Holzminister Newsgroups: gmane.comp.tex.context Subject: pdf-Forms Date: Sun, 4 Jan 2009 18:44:59 +0100 Message-ID: <20090104184459.091cdbc7@mars.zu.haus> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231091250 16226 80.91.229.12 (4 Jan 2009 17:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2009 17:47:30 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 04 18:48:39 2009 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 1LJX5a-0003Nk-3a for gctc-ntg-context-518@m.gmane.org; Sun, 04 Jan 2009 18:48:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E31FD1FB98; Sun, 4 Jan 2009 18:47:20 +0100 (CET) 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 03487-02-2; Sun, 4 Jan 2009 18:46:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8F0E1FBA8; Sun, 4 Jan 2009 18:46:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 634D71FB98 for ; Sun, 4 Jan 2009 18:46:10 +0100 (CET) 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 03508-02 for ; Sun, 4 Jan 2009 18:45:18 +0100 (CET) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by ronja.ntg.nl (Postfix) with ESMTP id 86C5B1FC51 for ; Sun, 4 Jan 2009 18:45:03 +0100 (CET) Original-Received: by fk-out-0910.google.com with SMTP id 18so3555471fks.2 for ; Sun, 04 Jan 2009 09:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=hJuQfVyK+DCvFKBhMJ7K/6QhBfl+sNVFhp1e2fF6bzA=; b=Gfqc6I9hnJ+98TKwO31CsD6Wstcwpz5zVbCiTU0yVDMbSDmHl5N4alxsWlLesZfUng /sfZCr6+GZBi0OKWNumHOxp6F4cQqoYmQInCBuGWO2Dgc+Vxi5l4HC5dLNUI3kr5YdRQ CnBxj1lQBJWvVVxXE04XrTv/lkeCIf9ZCmTqs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=AcwDFcm6AHfWmxesM6arwUapJqaqQPmbJkypQdBFykMcWLih+51uWnAJXq5K/qtjLm byQuI0iA4BcheVLvx5RLn3Ruw2qFBl2BkAkaJWXASvUvTtXhGR8XaG6S1KI4P2QEcxEx oVsH8SjI/bN1CGCDvgixpDXqpgOOGLaSBK5J4= Original-Received: by 10.103.251.3 with SMTP id d3mr7077999mus.72.1231091102887; Sun, 04 Jan 2009 09:45:02 -0800 (PST) Original-Received: from mars.zu.haus (e177139182.adsl.alicedsl.de [85.177.139.182]) by mx.google.com with ESMTPS id i5sm22450378mue.46.2009.01.04.09.45.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Jan 2009 09:45:02 -0800 (PST) X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.5; x86_64-pc-linux-gnu) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46603 Archived-At: Hi! I wanted to test pdf-forms with the latest minimals from contextgarden and ran into some interesting errors. The following code compiles, but I cannot change the fieldvalue: >> \starttext Field \fillinfield[test]{Fieldtext} \stoptext >> When I add \setupinteraction[state=start], the compilation breaks with an error: >> ! Undefined control sequence. var :j:fields_1 -> visible_field = new Array() ; var visible_fields = 0... \docommand ...code {\getvalue {\r!java \r!java #1} }\ifoneJSpreamble \@EA \se... \next2 #1,->\docommand {#1} \doprocesscommaitem \relax fields_1, Do_Check_Answer \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... \presetJSpreamble ...[\allJSpreambles ]\docommand \ifoneJSpreamble \gdef \al... ... l.6 \stoptext >> Neither pdfcontext nor luatex wanted to compile. Can anyone help? Best regards, Eyke ___________________________________________________________________________________ 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 ___________________________________________________________________________________