From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27118 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Curious blank page Date: Wed, 12 Apr 2006 11:46:14 -0400 (EDT) Message-ID: References: <44398254.8090102@wxs.nl> <443A09F0.6070402@wxs.nl> <443CB94A.7090202@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144856814 20989 80.91.229.2 (12 Apr 2006 15:46:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Apr 2006 15:46:54 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 12 17:46:51 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FThY7-00008Q-Jt for gctc-ntg-context-518@m.gmane.org; Wed, 12 Apr 2006 17:46:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99FE412788; Wed, 12 Apr 2006 17:46:30 +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 17294-02; Wed, 12 Apr 2006 17:46:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8942F12778; Wed, 12 Apr 2006 17:46:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D3EA212778 for ; Wed, 12 Apr 2006 17:46:23 +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 17175-04 for ; Wed, 12 Apr 2006 17:46:21 +0200 (CEST) Original-Received: from playinggod.mr.itd.umich.edu (playinggod.mr.itd.umich.edu [141.211.14.79]) by ronja.ntg.nl (Postfix) with SMTP id 4999F1276C for ; Wed, 12 Apr 2006 17:46:20 +0200 (CEST) Original-Received: from aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id k3CFkE2F026292 for ; Wed, 12 Apr 2006 11:46:19 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <443CB94A.7090202@wxs.nl> 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:27118 Archived-At: On Wed, 12 Apr 2006, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Mon, 10 Apr 2006, Hans Hagen wrote: >>> Aditya Mahajan wrote: >>>> On Sun, 9 Apr 2006, Hans Hagen wrote: >>>>> Aditya Mahajan wrote: >>>>>> On Sun, 19 Mar 2006, David Arnold wrote: >>>>>>> Why is it that the rest of the page after Answers on page 4 of the >>>>>>> compiled pdf is blank? >>>>>>> >>>>>> I have a similar problem. Attached is the (not so) minimal example >>>>>> that I could prepare. (This is part of my way on mathalignment). See >>>>>> the page break on page 2, while all the page is empty. Adding >>>>>> \kern\zeropoint prevents the page break. But I find such an page break >>>>>> very confusing. >>>>>> >>>>> btw, you need to patch core-mat.tex : >>>>> >>>>> \doif => \doifsomething >>>>> >>>>> \doifsomething{\formulaparameter\c!margin}% so we test first >>>>> {\dosetleftskipadaption{\formulaparameter\c!margin}% >>>>> \edef\leftdisplaymargin{\the\leftskipadaption}}% overloaded >>>>> >>>>> it seems that this was never encountered >>>>> >>>> This doesn't seem to work. Changing line 303 of core-mat.tex \doif => >>>> \doifsomething and regenerating formats, does not change the output of >>>> the test file. I still get the incorrect page breaking. >>>> >>> no, this patch is not related to the pagebreak but needed anyway (you're >>> just lucky for not running into that bug) ; the pagebreak is just the >>> result of background going crazy (well, not being able to determine if >>> there is enough space left) >> >> framedtext does not break across pages :( Can startbackground be >> persuaded to become sane? >> > not today, best try \definetextbackground which is the successor > \definetextbackground works :). The following works correctly (breaks across pages, and does not give false blank pages) \definetextbackground [example] [width=\textwidth, background=color, backgroundcolor=lightgray, frame=off, leftoffset=1em, rightoffset=1em, location=paragraph, after={\blank[small]}, before={\blank[small]}] Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008