From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67616 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 03:19:34 +0200 Message-ID: References: <117EEDE5-5AAA-42A2-972B-747883F0C7F1@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1601724525==" X-Trace: dough.gmane.org 1301966395 21386 80.91.229.12 (5 Apr 2011 01:19:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2011 01:19:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 05 03:19:51 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 1Q6uvu-0003O5-By for gctc-ntg-context-518@m.gmane.org; Tue, 05 Apr 2011 03:19:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FB96CABAC; Tue, 5 Apr 2011 03:19:45 +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 tR9e9uPCMJNn; Tue, 5 Apr 2011 03:19:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A044ACABAF; Tue, 5 Apr 2011 03:19:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D48CCABAF for ; Tue, 5 Apr 2011 03:19:38 +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 SNgkDmyYi8Ns for ; Tue, 5 Apr 2011 03:19:36 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 07837CABAE for ; Tue, 5 Apr 2011 03:19:36 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p351JYPD012097 for ; Tue, 5 Apr 2011 03:19:35 +0200 Original-Received: by fxm18 with SMTP id 18so6160881fxm.14 for ; Mon, 04 Apr 2011 18:19:34 -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=RC8Brl6soebkMwJXQXFOIdABuoXq76WevPodRLz5/V8=; b=Fa5P6qoqDVFD0kP+uzommnEWX50RuGyxTTJdWp0+jfnh+DCA9ioSYm20Z/CIzJQMKK /OnLShk3/Bsx8HMc0gqEzk619Q8dshojZ7nLy5yeLq/dgvrZBzO/iTO4YP10rZlVnFZW /GyUnilsU2fbI1FQAKd/btm0Y2yYznHszpyus= 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=j0kpq3967H9sDqLSkRI7Q21YYtYa3TQnYzmO/qqhaO2x9n7/oe6P7MjS6A+MUlzD2X KatwIAqNIexHse5cKidJrys7+1VKVnjfwTof0Yh1NaJ/EvuzHHyUY9P4DsoCQpG/pCc6 xjxt78j0SNiJtuRc1oDhcxR9QfoefToFbJ3XY= Original-Received: by 10.223.155.132 with SMTP id s4mr1366373faw.136.1301966374519; Mon, 04 Apr 2011 18:19:34 -0700 (PDT) Original-Received: by 10.223.107.7 with HTTP; Mon, 4 Apr 2011 18:19:34 -0700 (PDT) In-Reply-To: <117EEDE5-5AAA-42A2-972B-747883F0C7F1@googlemail.com> 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: 05ErBjyX6 - 9d4fda2f9e5e - 20110405 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:67616 Archived-At: --===============1601724525== Content-Type: multipart/alternative; boundary=00235429c0b04361f004a021ab05 --00235429c0b04361f004a021ab05 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 2011/4/4 Wolfgang Schuster > http://www.pragma-ade.com/show-man-22.htm > I tried the first example from fill-in fields: \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/5fe67e0bf= e781ce0dde776fb1556f32e/formats/cont-en" --lua=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bf= e781ce0dde776fb1556f32e/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/english 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.m= ap} 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){/hom= e/cecil/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/cecil/ConTe= Xt/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 ... 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 also 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? --=20 Cecil Westerhof --00235429c0b04361f004a021ab05 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I trie= d the first example from fill-in fields:
\starttext

A few years b= ack, \TEX\ could only produce
\fillinfield [dvi]{\DVI} output,
but nowadays, thanks to \fillinfield {H= an The Thanh}, we can also directly produce \fillinfield [pdf] {\PDF}!
N= ice eh? Actually, while the first field module was prototyped
in \ACROBA= T, 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 s= upported. One can hook in appearances, and
validation \fillinfield [Java= Scripts] {\JAVASCRIPT}=92s. Fields
can be cloned and copied, where the latter saves some space. By
using \f= illinfield {objects} when suited, this module saves
space anyway.
\stoptext

But I get:
mtx-context=A0=A0=A0=A0 | run 1: luatex --f= mt=3D"/home/cecil/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0= bfe781ce0dde776fb1556f32e/formats/cont-en" --lua=3D"/home/cecil/C= onTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32= e/formats/cont-en.lui" --backend=3D"pdf" "./test"<= br> This is LuaTeX, Version beta-0.65.0-2010121316
=A0\write18 enabled.
= (test.tex

ConTeXt=A0 ver: 2011.03.27 14:48 MKIV=A0 fmt: 2011.3.27=A0= int: english/english

system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > cont-ne= w.mkiv loaded
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/co= nt-new.mkiv
system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > beware: some patches loaded from con= t-new.mkiv
)
system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > test.top loaded(test.top)
fonts=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > latin modern fonts= are not preloaded
languages=A0=A0=A0=A0=A0=A0 > language en is activ= e
{/home/cecil/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.m= ap}
fonts=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > preloading latin modern fon= ts (second stage)
(/home/cecil/ConTeXt/tex/texmf-context/tex/context/bas= e/type-siz.mkiv) (/home/cecil/ConTeXt/tex/texmf-context/tex/context/base/ty= pe-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=A0=A0=A0=A0=A0 > virtual math > unable to resolv= e name mapsfromchar
fonts=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > fallback mo= dern rm 12pt is loaded
system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > begin file= test at line 1
! Undefined control sequence.

system=A0=A0=A0=A0=A0=A0=A0=A0=A0 > tex > error on line 4 in file tes= t.tex: Undefined control sequence ...

=A01=A0=A0=A0=A0 \starttext=A02=A0=A0=A0=A0
=A03=A0=A0=A0=A0 A few years back, \TEX\ could only p= roduce
=A04 >>=A0 \fillinfield [dvi]{\DVI} output,
=A05=A0=A0=A0=A0 but nowadays, thanks to \fillinfield {Han The Thanh}, we c= an also directly produce \fillinfield [pdf] {\PDF}!
=A06=A0=A0=A0=A0 Nic= e eh? Actually, while the first field module was prototyped
=A07=A0=A0= =A0=A0 in \ACROBAT, the current implementation was debugged in
=A08=A0=A0=A0=A0 \fillinfield [pdfTeX] {\PDFTEX}. Field support in \fillinf= ield
=A09=A0=A0=A0=A0 [ConTeXt] {\CONTEXT} is rather advanced and comple= te and all
10=A0=A0=A0=A0 kind of fields are supported. One can hook in = appearances, and
11=A0=A0=A0=A0 validation \fillinfield [JavaScripts] {\= JAVASCRIPT}=92s. Fields
12=A0=A0=A0=A0 can be cloned and copied, where the latter saves some space.= By
13=A0=A0=A0=A0 using \fillinfield {objects} when suited, this module= saves
14=A0=A0=A0=A0 space anyway.

l.4 \fillinfield
=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [dvi]{\DVI} output,

What is happening here?

--
Cecil Westerhof
--00235429c0b04361f004a021ab05-- --===============1601724525== 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 ___________________________________________________________________________________ --===============1601724525==--