From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23969 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: The whole (sub)section on a single page Date: Thu, 01 Dec 2005 10:29:16 +0100 Message-ID: <438EC26C.2050103@wxs.nl> References: <6faad9f00511121555x5ff6084dn26e714128030392e@mail.gmail.com> <4377468E.4010802@elvenkind.com> <6faad9f00511141011g40a31af8nac87df252a3d6f5e@mail.gmail.com> <4378E7F8.4000505@wxs.nl> <438EB5DE.8010609@creutzig.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1133429397 14797 80.91.229.2 (1 Dec 2005 09:29:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2005 09:29:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 01 10:29:54 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 1Ehkkk-0000Dw-G5 for gctc-ntg-context-518@m.gmane.org; Thu, 01 Dec 2005 10:29:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F24D4127C3; Thu, 1 Dec 2005 10:29:21 +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 15229-03-5; Thu, 1 Dec 2005 10:29:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7825E127CE; Thu, 1 Dec 2005 10:29:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A040E127CE for ; Thu, 1 Dec 2005 10:29:16 +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 15229-03-4 for ; Thu, 1 Dec 2005 10:29:15 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id B3807127C3 for ; Thu, 1 Dec 2005 10:29:15 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 5794 for ; Thu, 01 Dec 2005 10:34:25 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <438EB5DE.8010609@creutzig.de> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:23969 Archived-At: Christopher Creutzig wrote: >Hans Hagen wrote: > > > >>>How/where can I get \theremainingpageheight? I saw some strange >>>"keywords" like \pagegoal, \pagetotal spread through the source, ... >>>but I have no clue what they are for and if they have anyting to do >>>with what I'm looking for. >>> >>> >>> >>> >>that's always tricky, because it's not really possible to determine the >>rest of the available space without entering the output routing, which >> >> > > 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 Hans