From: Michael W Daniels <daniels@ling.ohio-state.edu>
Subject: ConTeXt and forms - getting started?
Date: Tue, 27 Aug 2002 23:46:14 -0400 [thread overview]
Message-ID: <5.1.0.14.2.20020827234432.011a3a68@ling.osu.edu> (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."
next reply other threads:[~2002-08-28 3:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-28 3:46 Michael W Daniels [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.2.20020827234432.011a3a68@ling.osu.edu \
--to=daniels@ling.ohio-state.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).