From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41023 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Removing inbreakable whitespace at pagebreaks Date: Wed, 14 May 2008 08:35:34 +0200 Message-ID: <115224fb0805132335j196ef295qe470db42477b2ee6@mail.gmail.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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210749541 11422 80.91.229.12 (14 May 2008 07:19:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 07:19:01 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed May 14 09:19:35 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JwBGw-0001BD-09 for gctc-ntg-context-518@m.gmane.org; Wed, 14 May 2008 09:19:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 609731FC27; Wed, 14 May 2008 09:18:48 +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 30165-04-15; Wed, 14 May 2008 09:17:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 782BE1FBDB; Wed, 14 May 2008 08:40:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 824471FC61 for ; Wed, 14 May 2008 08:40:14 +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 29617-01 for ; Wed, 14 May 2008 08:39:38 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.158]) by ronja.ntg.nl (Postfix) with ESMTP id 0A5661FBC5 for ; Wed, 14 May 2008 08:35:34 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so2560596ywm.74 for ; Tue, 13 May 2008 23:35:34 -0700 (PDT) Original-Received: by 10.150.73.41 with SMTP id v41mr654907yba.189.1210746934089; Tue, 13 May 2008 23:35:34 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Tue, 13 May 2008 23:35:34 -0700 (PDT) Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:41023 Archived-At: Hi, I try to take care in my letter module to keep at least the last sentence in the text the signature together on the same page, this did work but I introduced another problem. To get no linebreak between my two sections I used a nonbreakable whitespace between both but my implementation has the side effect to keep the whitespace also if there is no signature after the text even if it the last vertical skip before the page break. You can see in the following example what I mean. \setuplayout[lines=10]\showgrid \starttext \blank[force,9*line] text \par\nobreak\blank[line] \stoptext The last line of text is moved to the second although it would fit on the first page, I could use twopassdata in my module to get the information if the \nobreak is needed on this place but I hope there is also a solution to remove the skip in the first run, maybe for MkIV only. I looked yesterday in the sources and saw \vspacing in core-spa.mkiv, I dont't know what this should do and was unable to get it working but I'm interested to know how it did work and what it should do. Greetings 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________