From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51710 Path: news.gmane.org!not-for-mail From: Stirling Westrup Newsgroups: gmane.comp.tex.context Subject: Extra Whitespace in Footer. Date: Thu, 9 Jul 2009 17:49:37 -0400 Message-ID: <18e9c2dc0907091449t1038acadkfcc04a7febd70fed@mail.gmail.com> Reply-To: swestrup@gmail.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247176247 32422 80.91.229.12 (9 Jul 2009 21:50:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 21:50:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 09 23:50:40 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MP1Vn-00072D-7u for gctc-ntg-context-518@m.gmane.org; Thu, 09 Jul 2009 23:50:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE28B1FAD7; Thu, 9 Jul 2009 23:50:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09607-01-2; Thu, 9 Jul 2009 23:49:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 221701FADF; Thu, 9 Jul 2009 23:49:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFD161FB29 for ; Thu, 9 Jul 2009 23:49:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09607-01 for ; Thu, 9 Jul 2009 23:49:40 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 0FA5D1FADF for ; Thu, 9 Jul 2009 23:49:40 +0200 (CEST) Original-Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.210.177]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n69LncdB004812 for ; Thu, 9 Jul 2009 23:49:39 +0200 Original-Received: by yxe7 with SMTP id 7so764720yxe.16 for ; Thu, 09 Jul 2009 14:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=PuELSrYgoYHL8NxMmg7krAwxIPVLUposRlHsKFK10F8=; b=Tq+1D0V4Y7lvZbr0/6E9sfIktLZ4K6HqyA+K6PMjXaG7AvPHlrVaCOmZfpetzySQ1b 4VEQyFtPT+4fNBgDQUY/fcYwVmhuSNAhUJGyUpDxeUfmKztapW3SoVdFzmK5AFTQuiHt FQeR7dOzrV2VwrZbsLrblYF9MQZrABtILAg/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=GqmwJgO9OAELrHGF3Ap3fE97IFCnH9L47iBCXOAg8Vjf9XOFt9QOCckCOey9QXu3Ov NdP4gCwcOf7c4MWQkncPC2hkamaCcIPRfGDO395R2ewEeaq8un8PmQFvS5p875u/koqa v71zEh4esvW9f33PMeU2lh/PRGAAXpuKxl4ek= Original-Received: by 10.90.87.5 with SMTP id k5mr1011767agb.86.1247176177512; Thu, 09 Jul 2009 14:49:37 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.177; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 258489730 - 40b050b4ee6a - 20090709 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51710 Archived-At: 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? \setupcolors[state=start] \setupbackground[background=color, backgroundcolor=black] \setuppapersize[letter] \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, ] \newbox\FootBox \setbox\FootBox=\hbox { \framed [ align=right, frame=off, topframe=on, width=\textwidth, offset=none, framecolor=blue, ] {\bf \tfxx datasheet:} } \setuplayout[footer=\dimexpr\ht\FootBox+\dp\FootBox] \setupfootertexts[{\copy\FootBox}] \starttext \showframe[text] test \stoptext -- Stirling Westrup Programmer, Entrepreneur. https://www.linkedin.com/e/fpf/77228 http://www.linkedin.com/in/swestrup http://technaut.livejournal.com ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________