From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9084 Path: main.gmane.org!not-for-mail From: Michael W Daniels Newsgroups: gmane.comp.tex.context Subject: ConTeXt and forms - getting started? Date: Tue, 27 Aug 2002 23:46:14 -0400 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.2.20020827234432.011a3a68@ling.osu.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399441 576 80.91.224.250 (23 Oct 2002 18:57:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:57:21 +0000 (UTC) Original-To: ntg-context@let.uu.nl Xref: main.gmane.org gmane.comp.tex.context:9084 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9084 I'm trying to create a pdf file that uses line and text fields. So I thought a good way to start would be to create a minimal file, to test that everything's installed properly (I'm using MiKTeX 2.2 on WinXP). Based on the widgets documentation file, the file below looks like something that ought to work. Unfortunately, I just get a solid black box (exactly the right size, though) in the resulting pdf file. Have I missed a crucial command, or is something wrong with my setup? Here's the test file I used: \font\rm = tyxr at 12pt \setupoutput[pdftex] \setuppapersize[letter] \setupbodyfont[12pt] \setuppagenumber[state=stop] \setupwhitespace[small] \setupfield[ShortLine] [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green, background=screen,backgroundscreen=.80] [height=18pt,width=80pt,align=middle, background=screen,backgroundscreen=.90,frame=off] [height=18pt,width=80pt,color=red,align=right,style=type, background=screen,backgroundscreen=.90,frame=off] \definefield[Email][line][ShortLine][][pragma@wxs.nl] \starttext \rm\field[Email][your email] \stoptext Any help will be greatly appreciated! -- Michael W. Daniels | "The thunder was ominous-sounding, much daniels@ling.ohio-state.edu | like the sound of a thin sheet of metal Department of Linguistics | being shaken backstage during the storm 218 Oxley Hall | scene in a play."