From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55856 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Balancing vertical placement of table Date: Sun, 31 Jan 2010 16:58:16 +0100 Message-ID: <4B65A898.5020206@googlemail.com> References: <4B658639.7040702@googlemail.com> <4BC2AD5E-B70C-4A9E-ACAA-D262B73AFC10@enquora.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264953515 10402 80.91.229.12 (31 Jan 2010 15:58:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2010 15:58:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 31 16:58:28 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NbcBw-00050q-En for gctc-ntg-context-518@m.gmane.org; Sun, 31 Jan 2010 16:58:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A3E2C9C04; Sun, 31 Jan 2010 16:59:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bRWvLN8z2yHR; Sun, 31 Jan 2010 16:59:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4374C9BB3; Sun, 31 Jan 2010 16:59:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E236C9BB3 for ; Sun, 31 Jan 2010 16:59:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6R+qY0dm1xZt for ; Sun, 31 Jan 2010 16:59:06 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by balder.ntg.nl (Postfix) with ESMTP id 733BCC9B66 for ; Sun, 31 Jan 2010 16:59:06 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id l26so762278fgb.2 for ; Sun, 31 Jan 2010 07:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=v+czHokqW6oIrBquwa8/eRl4XrHvf3E+5lSWX30GdN0=; b=Xd8IcZKittRpd0vNPhhRg6o3Y6PRp43CcThAqwwXZGH0pxMawSABLmuHtQPPxVQtr6 jcIl7WKrPsV5i5L10CwaOvbSTpsFdHmgznwHMAiQ5JEp2wtad1ntv2GnevbRzSJBN4EV ewOG1XWpXq9gFgOg0GZsvrP+bf5L9dVmt5f8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=mReMl6YMEaD7ciBrquxjtOKgY+iXnGkiEL+U5B/kTk5NIKiWXz5TiIH/78t/fsOZmh Y+L2pJeVqb7mKBvgnaQfBCWawxojQcxQIfTRN0cYC70gJ7F+ZgVEjq5FqmHz8eIJ6X01 sNa74plY8+jUMtU4usa6Itys915JDEqTl7OpU= Original-Received: by 10.87.62.39 with SMTP id p39mr5921258fgk.9.1264953500200; Sun, 31 Jan 2010 07:58:20 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B294758.dip.t-dialin.net [91.41.71.88]) by mx.google.com with ESMTPS id l12sm12744470fgb.15.2010.01.31.07.58.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 Jan 2010 07:58:19 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <4BC2AD5E-B70C-4A9E-ACAA-D262B73AFC10@enquora.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55856 Archived-At: Am 31.01.10 16:50, schrieb Design Department: >> Is the content for each element short enough to fit on one page >> or do you have content which needs more pages? > > The content always fits on a single page. Here is a goodie which is only documented in the ConTeXt source. \setupheadertexts[the header text] \setupfootertexts[a pretty long left footer text][something right] \setupbottomtexts[a not so long bottom text][another right thing] \setuptexttexts [margin][something marginal][indeed] \startpagelayout[leftpage] \setupTABLE[offset=overlay] \setupTABLE[c][1][width=\leftmarginwidth] \bTABLE \bTR \bTD[nx=3,background=color,backgroundcolor=green] \pagearea[header][text][middle] \eTD \eTR \bTR \bTD \pagearea[text][margin][left] \eTD \bTD[nx=2] \pagearea[text] \eTD \eTR \bTR \bTD[nx=3,offset=overlay] {\bTABLE[width=.5\hsize] \bTR \bTD \pagearea[footer][text][left] \eTD \bTD \pagearea[bottom][text][left] \eTD \eTR \eTABLE} \eTD \eTR \eTABLE \stoppagelayout \startpagelayout[rightpage] \setupTABLE[offset=overlay] \setupTABLE[c][1][width=\rightmarginwidth] \bTABLE \bTR \bTD[nx=3] \pagearea[header][text][middle] \eTD \eTR \bTR \bTD \pagearea[text][margin][left] \eTD \bTD[nx=2] \pagearea[text] \eTD \eTR \bTR \bTD[nx=3,offset=overlay] {\bTABLE[width=.5\hsize] \bTR \bTD \pagearea[bottom][text][right] \eTD \bTD \pagearea[footer][text][right] \eTD \eTR \eTABLE} \eTD \eTR \eTABLE \stoppagelayout \setupcolors[state=start] \setupbackgrounds[text][background=color,backgroundcolor=blue] \setupbackgrounds[header][text][background=color,backgroundcolor=red] \setuppagenumbering[alternative=doublesided,location=] \setuplayout[method=makeup] \definetextbackground [test] [state=start, background=color, backgroundcolor=yellow] \starttext \dorecurse{10}{\input tufte \par} \input tufte \starttest \input tufte \stoptest \input tufte \starttabulate \NC test \NC \starttest \input tufte \stoptest \NC \NR \stoptabulate \dorecurse{10}{\input tufte \par} \stoptext Regards, Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________