ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Slow progress today
@ 1999-06-05  6:49 David Arnold
  1999-06-05 19:28 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 1999-06-05  6:49 UTC (permalink / raw)


Hi,

Working in Up-001-s.pdf, I still can't get this to show anything. How do I
get the three green edit boxes shown in Up-001.pdf?

%output=pdf

\setupinteraction
  [state=start]

\setupcolors
  [state=start]

\definemainfield [MainMail][line][ShortLine][][darnold@northcoast.com]

\def\MPnormalbutton#1#2#3%
 {\startreusableMPgraphic{nb:#1:#2:#3}
   input mp-tool;
   pickup pencircle scaled 3;
   fill fullcircle xscaled #1 yscaled #2 withcolor (.8,.8,.8);
   draw fullcircle xscaled #1 yscaled #2 withcolor \MPcolor{#3};
 \stopreusableMPgraphic
 \reuseMPgraphic{nb:#1:#2:#3}}

\defineoverlay
 [normalbutton]
 [\MPnormalbutton\overlaywidth\overlayheight\overlaycolor]

\setupfield
 [LeftLine]
 [background=normalbutton,
  backgroundcolor=darkgreen,
  offset=2ex,
  height=7ex,
  width=.25\hsize,
  style=type,
  frame=off,
  align=left]
\setupfield
 [MiddleLine]
 [background=normalbutton,
  backgroundcolor=darkgreen,
  offset=2ex,
  height=7ex,
  width=.25\hsize,
  style=type,
  frame=off,
  align=middle]
\setupfield
 [RightLine]
 [background=normalbutton,
  backgroundcolor=darkgreen,
  offset=2ex,
  height=7ex,
  width=.25\hsize,
  style=type,
  frame=off,
  align=right]

\clonefield [MainMail] [LeftMail] [LeftLine]

\clonefield [MainMail] [MiddleMail] [MiddleLine]

\clonefield [MainMail] [RightMail] [RightLine]

\tracefieldstrue

\showfields[MainMail,LeftMail,MiddleMail,RightMail,LeftLine,MiddleLine,Right
Line]

\starttext

Hello, cruel world!

\field[LeftLine]

\stoptext


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

end of thread, other threads:[~1999-06-05 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-05  6:49 Slow progress today David Arnold
1999-06-05 19:28 ` 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).