From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45001 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: no hyphenation over right page break? Date: Thu, 23 Oct 2008 11:51:05 +0200 Message-ID: <49004909.6030800@elvenkind.com> References: <48FFB37D.1000308@jhnet.nl> 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 1224755744 18311 80.91.229.12 (23 Oct 2008 09:55:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 09:55:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 23 11:56:44 2008 connect(): Connection refused 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 1Kswvs-0007ts-2a for gctc-ntg-context-518@m.gmane.org; Thu, 23 Oct 2008 11:56:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 94B051FC7A; Thu, 23 Oct 2008 11:55:36 +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 31606-01-2; Thu, 23 Oct 2008 11:54:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3CB871FBC6; Thu, 23 Oct 2008 11:54:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8BA81FB95 for ; Thu, 23 Oct 2008 11:54:35 +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 31606-01 for ; Thu, 23 Oct 2008 11:53:58 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 14BD31FC32 for ; Thu, 23 Oct 2008 11:51:06 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 0E3868026A36 for ; Thu, 23 Oct 2008 11:51:06 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: <48FFB37D.1000308@jhnet.nl> 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:45001 Archived-At: Jelle Huisman wrote: > Hi all, > > In my project I \input a number of text files into a double-column > layout. One of the layout requests is: "no hyphenation over right page > breaks allowed". I can't think of a way to do this, but I would be happy > if someone knew a way to prevent hyphenation of the last word of the > last line in the second column on odd pages. (Yes, I can fix it later, > but I want to prevent it.) (Still on MkII) There is only \brokenpenalty : \brokenpenalty 10000 \def\defaultbrokenpenalty {10000} \def\defaultgridbrokenpenalty {10000} This prevents ConTeXt from breaking any page after any line that ends with a hyphen. That is not quite to what you asked, but it is about the best that can be done automatically because in TeX, there is no direct interaction between the paragraph breaker and the page breaker. (well, you can probably patch the output routine in some way so that this setting is only in effect on odd pages, but in multicolumn mode the definition of "odd page" could be problematic). Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________