On Fri, Jul 10, 2009 at 12:53 AM, Stirling Westrup <swestrup@gmail.com> wrote:
On Thu, Jul 9, 2009 at 5:52 PM, Hans Hagen<pragma@wxs.nl> wrote:
> Stirling Westrup wrote:
>>
>> Thanks to the help I've been getting, I've almost got my layout
>> working. The only remaining problem seems to be that the footer
>> automatically inserts some whitespace above my framed text. The intent
>> is for it to be flush to the top of the footer.
>>
>> What do I need to change?
>
> footerdistance
>

settting footerdistance to 0cm doesn't seem to change anything.
there is a strut:
try
\showstruts

By default
\setupfooter[strut=yes]
so put
\setupfooter[strut=no]
Also watch for spurios spaces in \FooBox
Here is my version

%%%%%%%%%%%%%%%

\setupcolors[state=start]
\setupbackground[background=color, backgroundcolor=black]
\setuppapersize[letter][letter]

\newbox\FootBox


\setuplayout
 [ location=doublesided,
   marking=on,
   topspace=1cm,       % space at top of page
   bottomspace=1cm,    % space at bottom of page
   backspace=2cm,      % spine side of page
   cutspace=1cm,       % outer side of page
   header=0cm,
   footer=2cm,
   bottom=2cm,
   margin=0cm,
   width=middle,
   height=middle,
 ]

\setbox\FootBox=\hbox{\framed
     [ align=right,
       frame=on,
       topframe=on,
       width=\textwidth,
       offset=none,
       framecolor=blue,
     ]
     {\bf \tfxx datasheet:}}
\setupfooter[strut=no]
\setuplayout[footer={\dimexpr\ht\FootBox+\dp\FootBox\relax}]
\setupfootertexts[{\copy\FootBox}]


\showstruts
\showlayout
\showframe
\starttext
\dorecurse{20}{\input tufte }test
\stoptext



 
--
luigi