From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24198 Path: news.gmane.org!not-for-mail From: Christopher Creutzig Newsgroups: gmane.comp.tex.context Subject: Re: The whole (sub)section on a single page Date: Tue, 06 Dec 2005 23:00:23 +0100 Message-ID: <439609F7.6060600@creutzig.de> References: <6faad9f00511121555x5ff6084dn26e714128030392e@mail.gmail.com> <4377468E.4010802@elvenkind.com> <6faad9f00511141011g40a31af8nac87df252a3d6f5e@mail.gmail.com> <4378E7F8.4000505@wxs.nl> <438EB5DE.8010609@creutzig.de> <438EC26C.2050103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133906603 1265 80.91.229.2 (6 Dec 2005 22:03:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 22:03:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 06 23:03:15 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ejkt1-00049P-9u for gctc-ntg-context-518@m.gmane.org; Tue, 06 Dec 2005 23:02:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3EB7127F1; Tue, 6 Dec 2005 23:02:10 +0100 (CET) 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 06902-01; Tue, 6 Dec 2005 23:02:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B23D71281D; Tue, 6 Dec 2005 23:00:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A7CB1281D for ; Tue, 6 Dec 2005 23:00:22 +0100 (CET) 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 06633-04 for ; Tue, 6 Dec 2005 23:00:21 +0100 (CET) Original-Received: from bayes.math.uni-paderborn.de (bayes.math.uni-paderborn.de [131.234.116.40]) by ronja.ntg.nl (Postfix) with ESMTP id 0E130127F1 for ; Tue, 6 Dec 2005 23:00:20 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by bayes.math.uni-paderborn.de (Postfix) with ESMTP id B3BEBE000117 for ; Tue, 6 Dec 2005 23:00:19 +0100 (CET) Original-Received: from bayes.math.uni-paderborn.de ([127.0.0.1]) by localhost (bayes [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25762-03 for ; Tue, 6 Dec 2005 23:00:17 +0100 (CET) Original-Received: from [192.168.1.3] (p548B217E.dip0.t-ipconnect.de [84.139.33.126]) by bayes.math.uni-paderborn.de (Postfix) with ESMTP id AEB6EE00010A for ; Tue, 6 Dec 2005 23:00:17 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7.2.0 X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <438EC26C.2050103@wxs.nl> X-Enigmail-Version: 0.92.0.0 X-Virus-Scanned: by mailscan-system at math.uni-paderborn.de X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24198 Archived-At: Hans Hagen wrote: > Christopher Creutzig wrote: >>The standard trick would be not to explicitly check some numbers but to >>do what in low-level looks like >> >>\!!dimena=\ht0\advance\!!dimena\dp0% >>\penalty10000\vskip\!!dimena\penalty10\vskip-\!!dimena >> >>Is there any nice ConTeXt way of doing the above? >> >> > > \testpage[1] % one line, [3] three lines Sure, but I'm not asking for n lines, but for a dimension. Oh, if I read the source correctly, \testpage[0][\dimexpr\dp0+\ht0\relax] should work, right? Regards, Christopher