From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67583 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Using forms and saving values Date: Sun, 3 Apr 2011 13:00:21 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0345384610==" X-Trace: dough.gmane.org 1301828449 14154 80.91.229.12 (3 Apr 2011 11:00:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2011 11:00:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 03 13:00:45 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6L2z-0004k9-1z for gctc-ntg-context-518@m.gmane.org; Sun, 03 Apr 2011 13:00:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42B70CAB82; Sun, 3 Apr 2011 13:00:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id esNELRNyJCOY; Sun, 3 Apr 2011 13:00:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60CF2CAB7D; Sun, 3 Apr 2011 13:00:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5211CAB7D for ; Sun, 3 Apr 2011 13:00:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id G5mLUSBTWyBG for ; Sun, 3 Apr 2011 13:00:23 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 036CDCAB65 for ; Sun, 3 Apr 2011 13:00:23 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p33B0LaZ000824 for ; Sun, 3 Apr 2011 13:00:22 +0200 Original-Received: by fxm18 with SMTP id 18so4822771fxm.14 for ; Sun, 03 Apr 2011 04:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Y7rv7rDc+iNY86iv74DoZ1cPu8qlngiA7/bLEZeF5pU=; b=eHv31pGobDl0CJghKEV43vaKe4G00phlByTuWllcE46pPT40ZIAq2+B03PUXWInp7w fauNzJyIAlEuh+nz7w+cSIcbMchH6AbpOzCmO6S4u3xSVB+HPkwsCh8u5b9IxXOrBotS NIbiXLY7OblOk0rjpKBT337pT+qf7mGXHdrwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eKvQt+yCZjHTORH8fPapuFPCQHKAaJT7+zMu/uJ6wN2UnrSNp8gZ2UUpR20TsITY48 R9NgL1JFfv5v41kwCTZrjQq2uhQvl4hLQRfOr+8xcRHIkFv+iyg9wkSvoZEbm/Oi0hTW X1v2cEeVXcV/WSx0zwIcaxeW0LuEGoDALdvVg= Original-Received: by 10.223.98.8 with SMTP id o8mr1706412fan.22.1301828421628; Sun, 03 Apr 2011 04:00:21 -0700 (PDT) Original-Received: by 10.223.107.7 with HTTP; Sun, 3 Apr 2011 04:00:21 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEqX0lly - 6b7febe26f62 - 20110403 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:67583 Archived-At: --===============0345384610== Content-Type: multipart/alternative; boundary=0015174beb62a1337504a0018cf3 --0015174beb62a1337504a0018cf3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I have =96simplified=96 the following: \starttext \defineframed [action] [width=3D5cm, height=3D3cm, offset=3Dnone, frameoffset=3D.5\linewidth] \action{} \stoptext What I would like to do is to let the user input some text and display it i= n this frame. (In reality there will be more frames.) When the text is to big to be displayed in the frame, it should be rejected. This is so that the document can be modified with the text from the user. I also would like to save the input from the user in a file, so that it can be used later again. Is this possible? --=20 Cecil Westerhof --0015174beb62a1337504a0018cf3 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I have =96simplified=96 the following:
\starttext

\defineframed=A0 [action]
=A0 [width=3D5cm, height=3D3cm, offset=3Dnone, frameoffse= t=3D.5\linewidth]

\action{}

\stoptext

What I would lik= e to do is to let the user input some text and display it in this frame. (I= n reality there will be more frames.) When the text is to big to be display= ed in the frame, it should be rejected.

This is so that the document can be modified with the text from the use= r.

I also would like to save the input from the user in a file, so t= hat it can be used later again.

Is this possible?

--
Cecil Westerhof
--0015174beb62a1337504a0018cf3-- --===============0345384610== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0345384610==--