From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67621 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: Re: Using forms and saving values Date: Tue, 5 Apr 2011 12:31:08 +0200 Message-ID: References: <117EEDE5-5AAA-42A2-972B-747883F0C7F1@googlemail.com> <4D9AC896.9070800@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0081800962==" X-Trace: dough.gmane.org 1301999495 13919 80.91.229.12 (5 Apr 2011 10:31:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2011 10:31:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 05 12:31:30 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 1Q73Xj-0001FQ-FB for gctc-ntg-context-518@m.gmane.org; Tue, 05 Apr 2011 12:31:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5C14CABBF; Tue, 5 Apr 2011 12:31:26 +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 GYAWwumsyg7i; Tue, 5 Apr 2011 12:31:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A4D9CABBC; Tue, 5 Apr 2011 12:31:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53B9ACABBC for ; Tue, 5 Apr 2011 12:31:20 +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 FnuxeHJWkomG for ; Tue, 5 Apr 2011 12:31:09 +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 39D78CABB7 for ; Tue, 5 Apr 2011 12:31:09 +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 p35AV86c031389 for ; Tue, 5 Apr 2011 12:31:08 +0200 Original-Received: by fxm18 with SMTP id 18so228101fxm.14 for ; Tue, 05 Apr 2011 03:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=YHR2/5RL83weozDhG2ZbxRcHXuQZu6krmIlXdBZNT8I=; b=F2kzYMHBzEgkG3yU+V9+sGay+XgukeRCL17CUVGWdtPWKhmzrXebbl7SAWzQ+C5U/t jNybNnvQFbQdQFWKAOVLvPCAXJiOh3cYnuSr1FFHgU3kv8LHAsGjULM+fjCbAW0zdVBC /JZMFfU0UB6Qmy4YSXW10UayVhTJqAl+rS/a4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vjCY53dAF4umkDef31FfmjKgLVMqmXSeHDZ1aW9q6SOhH8A9PM4kFDN6OupmObVbVB cdXe+KfjZkD1AZ+WDZP8DzksFi1RhxNDsDXs0/Y0c/wlli2FLxUY7fkQAFmyNAMS/BKD GZknhgd/8RSvzizueVjWoS7b3tl/H+m9v5GgM= Original-Received: by 10.223.67.210 with SMTP id s18mr3190747fai.41.1301999468049; Tue, 05 Apr 2011 03:31:08 -0700 (PDT) Original-Received: by 10.223.107.7 with HTTP; Tue, 5 Apr 2011 03:31:08 -0700 (PDT) In-Reply-To: <4D9AC896.9070800@gmx.net> 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: 0rErKv8Tz - fa721423bba4 - 20110405 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:67621 Archived-At: --===============0081800962== Content-Type: multipart/alternative; boundary=20cf3054a65bca76e904a0295f42 --20cf3054a65bca76e904a0295f42 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/4/5 Peter Rolf > > \starttext > > > > A few years back, \TEX\ could only produce > > \fillinfield [dvi]{\DVI} output, > > but nowadays, thanks to \fillinfield {Han The Thanh}, we can also > > directly produce \fillinfield [pdf] {\PDF}! > > Nice eh? Actually, while the first field module was prototyped > > in \ACROBAT, the current implementation was debugged in > > \fillinfield [pdfTeX] {\PDFTEX}. Field support in \fillinfield > > [ConTeXt] {\CONTEXT} is rather advanced and complete and all > > kind of fields are supported. One can hook in appearances, and > > validation \fillinfield [JavaScripts] {\JAVASCRIPT}=92s. Fields > > can be cloned and copied, where the latter saves some space. By > > using \fillinfield {objects} when suited, this module saves > > space anyway. > > > > \stoptext > > > > But I get: > > mtx-context | run 1: luatex > > > --fmt=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0= bfe781ce0dde776fb1556f32e/formats/cont-en" > > > --lua=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0= bfe781ce0dde776fb1556f32e/formats/cont-en.lui" > > --backend=3D"pdf" "./test" > > This is LuaTeX, Version beta-0.65.0-2010121316 > > \write18 enabled. > > (test.tex > > > > ConTeXt ver: 2011.03.27 14:48 MKIV fmt: 2011.3.27 int: english/engli= sh > > > > system > cont-new.mkiv loaded > > (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv > > system > beware: some patches loaded from cont-new.mkiv > > ) > > system > test.top loaded > > (test.top) > > fonts > latin modern fonts are not preloaded > > languages > language en is active > > > {/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base= .map} > > fonts > preloading latin modern fonts (second stage) > > (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) > > > (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){/h= ome/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/cecil/Con= TeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map} > > fonts > virtual math > unable to resolve name mapsfromchar > > fonts > fallback modern rm 12pt is loaded > > system > begin file test at line 1 > > ! Undefined control sequence. > > > > system > tex > error on line 4 in file test.tex: Undefined > > control sequence ... > > > > > I tried the first example from fill-in fields: > \def\DVI{DVI} > \def\PDF{PDF} > \def\ACROBAT{Acrobat} > \def\JAVASCRIPT{Javascript} > > > > 1 \starttext > > 2 > > 3 A few years back, \TEX\ could only produce > > 4 >> \fillinfield [dvi]{\DVI} output, > > 5 but nowadays, thanks to \fillinfield {Han The Thanh}, we can als= o > > directly produce \fillinfield [pdf] {\PDF}! > > 6 Nice eh? Actually, while the first field module was prototyped > > 7 in \ACROBAT, the current implementation was debugged in > > 8 \fillinfield [pdfTeX] {\PDFTEX}. Field support in \fillinfield > > 9 [ConTeXt] {\CONTEXT} is rather advanced and complete and all > > 10 kind of fields are supported. One can hook in appearances, and > > 11 validation \fillinfield [JavaScripts] {\JAVASCRIPT}=92s. Fields > > 12 can be cloned and copied, where the latter saves some space. By > > 13 using \fillinfield {objects} when suited, this module saves > > 14 space anyway. > > > > l.4 \fillinfield > > [dvi]{\DVI} output, > > > > What is happening here? > > > I guess Hans has removed some obsolete definitions :-) > Does not make a difference. I have the same problem. --=20 Cecil Westerhof --20cf3054a65bca76e904a0295f42 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
2011/4/5 Peter Rolf <indiego@gmx.net>
> \starttext
>
> A few years back, \TEX\ could only produce
> \fillinfield [dvi]{\DVI} output,
> but nowadays, thanks to \fillinfield {Han The Thanh}, we can also
> directly produce \fillinfield [pdf] {\PDF}!
> Nice eh? Actually, while the first field module was prototyped
> in \ACROBAT, the current implementation was debugged in
> \fillinfield [pdfTeX] {\PDFTEX}. Field support in \fillinfield
> [ConTeXt] {\CONTEXT} is rather advanced and complete and all
> kind of fields are supported. One can hook in appearances, and
> validation \fillinfield [JavaScripts] {\JAVASCRIPT}=92s. Fields
> can be cloned and copied, where the latter saves some space. By
> using \fillinfield {objects} when suited, this module saves
> space anyway.
>
> \stoptext
>
> But I get:
> mtx-context =A0 =A0 | run 1: luatex
> --fmt=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context= /5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en"
> --lua=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context= /5fe67e0bfe781ce0dde776fb1556f32e/formats/cont-en.lui"
> --backend=3D"pdf" "./test"
> This is LuaTeX, Version beta-0.65.0-2010121316
> =A0\write18 enabled.
> (test.tex
>
> ConTeXt =A0ver: 2011.03.27 14:48 MKIV =A0fmt: 2011.3.27 =A0int: englis= h/english
>
> system =A0 =A0 =A0 =A0 =A0> cont-new.mkiv loaded
> (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv<= br> > system =A0 =A0 =A0 =A0 =A0> beware: some patches loaded from cont-n= ew.mkiv
> )
> system =A0 =A0 =A0 =A0 =A0> test.top loaded
> (test.top)
> fonts =A0 =A0 =A0 =A0 =A0 > latin modern fonts are not preloaded > languages =A0 =A0 =A0 > language en is active
> {/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-b= ase.map}
> fonts =A0 =A0 =A0 =A0 =A0 > preloading latin modern fonts (second s= tage)
> (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv)=
> (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv)= {/home/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/cecil/= ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> fonts =A0 =A0 =A0 =A0 =A0 > virtual math > unable to resolve nam= e mapsfromchar
> fonts =A0 =A0 =A0 =A0 =A0 > fallback modern rm 12pt is loaded
> system =A0 =A0 =A0 =A0 =A0> begin file test at line 1
> ! Undefined control sequence.
>
> system =A0 =A0 =A0 =A0 =A0> tex > error on line 4 in file test.t= ex: Undefined
> control sequence ...
>

> I tried the first example from fill-in fields:
\def\DVI= {DVI}
\def\PDF{PDF}
\def\ACROBAT{Acrobat}
\def\JAVASCRIPT{Javascript}


> =A01 =A0 =A0 \starttext
> =A02
> =A03 =A0 =A0 A few years back, \TEX\ could only produce
> =A04 >> =A0\fillinfield [dvi]{\DVI} output,
> =A05 =A0 =A0 but nowadays, thanks to \fillinfield {Han The Thanh}, we = can also
> directly produce \fillinfield [pdf] {\PDF}!
> =A06 =A0 =A0 Nice eh? Actually, while the first field module was proto= typed
> =A07 =A0 =A0 in \ACROBAT, the current implementation was debugged in > =A08 =A0 =A0 \fillinfield [pdfTeX] {\PDFTEX}. Field support in \fillin= field
> =A09 =A0 =A0 [ConTeXt] {\CONTEXT} is rather advanced and complete and = all
> 10 =A0 =A0 kind of fields are supported. One can hook in appearances, = and
> 11 =A0 =A0 validation \fillinfield [JavaScripts] {\JAVASCRIPT}=92s. Fi= elds
> 12 =A0 =A0 can be cloned and copied, where the latter saves some space= . By
> 13 =A0 =A0 using \fillinfield {objects} when suited, this module saves=
> 14 =A0 =A0 space anyway.
>
> l.4 \fillinfield
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[dvi]{\DVI} output,
>
> What is happening here?
>
I guess Hans has removed some obsolete definitions :-)

Does not make a difference. I have the same problem.
<= /div>
--
Cecil Westerhof
--20cf3054a65bca76e904a0295f42-- --===============0081800962== 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 ___________________________________________________________________________________ --===============0081800962==--