From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32322 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Elevated text blocks Date: Thu, 28 Dec 2006 11:48:06 -0500 (EST) Message-ID: References: <20061227212538.GA4333@grohe.our-isp.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167324519 3521 80.91.229.10 (28 Dec 2006 16:48:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Dec 2006 16:48:39 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 28 17:48:38 2006 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 dough.gmane.org with esmtp (Exim 4.50) id 1GzyQh-00025r-98 for gctc-ntg-context-518@m.gmane.org; Thu, 28 Dec 2006 17:48:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1EFB220092; Thu, 28 Dec 2006 17:46:31 +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 18470-02-3; Thu, 28 Dec 2006 17:46:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 247CE1FF2A; Thu, 28 Dec 2006 17:46:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 144F62002B for ; Thu, 28 Dec 2006 17:46:17 +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 18470-02-2 for ; Thu, 28 Dec 2006 17:46:10 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with SMTP id D95561FEAB for ; Thu, 28 Dec 2006 17:46:09 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hellskitchen.mr.itd.umich.edu ID 4593F546.D47A5.6041 ; 28 Dec 2006 11:48:07 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <20061227212538.GA4333@grohe.our-isp.org> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32322 Archived-At: On Wed, 27 Dec 2006, Gerhard Kugler wrote: > Hi, > > in the book which I'm translating there are many exercises which > should be elevated. The original sets grey bars at the beginning and > the end. My solutions tends to light grey background over the whole > text block. Partially the exercises exceed a page. If possible they > should kept as wholes. > > What is the suitable logical isolation of these blocks in context? > Framedtexts? Textblocks? He Gerhard, Can you be more specific on what is the desired behaviour, that is what do you mean by "if possible they should be kept as wholes" What do you want in the following border cases? 1. The current page is half full, and your exercise is half-page plus two lines. Should TeX leave the rest of the page empty and start a new page, or fill the current page with exercise and put two lines in the next page. 2. The same case as above, but the text is one and a half page long. 3. Or a more drastic case, when the current page has only two lines and the text block is exactly one page long. Should the text split or not. 4. Can you allow the text block to float, or should it occur where you place it, even if it means a lot of empty space on the page. Basically, the difficulty is specifying how much blankspace on a page are you willing to accept, and under what conditions. Aditya