ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt and forms - getting started?
@ 2002-08-28  3:46 Michael W Daniels
  2002-08-28 16:39 ` Henning Hraban Ramm
  2002-08-29 22:05 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Michael W Daniels @ 2002-08-28  3:46 UTC (permalink / raw)


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."


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-08-29 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28  3:46 ConTeXt and forms - getting started? Michael W Daniels
2002-08-28 16:39 ` Henning Hraban Ramm
2002-08-29  1:00   ` Michael W Daniels
2002-08-29 18:46     ` Henning Hraban Ramm
2002-08-29 21:41     ` Hans Hagen
2002-08-29 22:05 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).