From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61976 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Justifying last line of paragraph Date: Sun, 26 Sep 2010 09:55:09 +0200 Message-ID: <4C9EFC5D.1090903@elvenkind.com> References: <8762xtbt06.fsf@denkblock.local> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285487723 15897 80.91.229.12 (26 Sep 2010 07:55:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2010 07:55:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 26 09:55:22 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozm4u-00014i-DN for gctc-ntg-context-518@m.gmane.org; Sun, 26 Sep 2010 09:55:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50258CA7CE; Sun, 26 Sep 2010 09:55:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uHFucdKyuXMO; Sun, 26 Sep 2010 09:55:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19E05CA7B9; Sun, 26 Sep 2010 09:55:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03D54CA7B9 for ; Sun, 26 Sep 2010 09:55:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MsPrrcII7mbp for ; Sun, 26 Sep 2010 09:55:12 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 99A29CA79E for ; Sun, 26 Sep 2010 09:55:12 +0200 (CEST) Original-Received: from smtp-vbr18.xs4all.nl (smtp-vbr18.xs4all.nl [194.109.24.38]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8Q7t9CJ024769 for ; Sun, 26 Sep 2010 09:55:10 +0200 Original-Received: from boo.fritz.box (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id o8Q7t9Ye080752 for ; Sun, 26 Sep 2010 09:55:09 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100809 Mandriva/3.1.2-3mdv2011.0 (2011.0) Thunderbird/3.1.2 In-Reply-To: <8762xtbt06.fsf@denkblock.local> X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.38; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DbjT9O7 - a1e5b70929cc - 20100926 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61976 Archived-At: On 09/25/2010 08:03 PM, Elias Oltmanns wrote: > > The first couple of lines of the paragraph beginning on page two should > really go on the previous page. Since the hang mechanism of \placefigure > doesn't work due to the page break, I'd like to split this paragraph > into two logical entities, so TeX can put the first on the first page > and treat the second as a separate paragraph flowing around the picture. > However, the reader should not be aware of this split. > > Any help much appreciated, I don't know of any automatic solution to this problem (except _perhaps_ columnsets could help) but the simplest way to split a paragraph into two paragraphs while still looking like one is by inserting a macro like this at an existing break point: \def\splitpar {\bgroup \parfillskip\zeropoint \par \aftergroup \parskip \aftergroup \zeropoint \aftergroup \noindentation \egroup } \splitpar will work anywhere in a paragraph, but you only get a visually pleasing result when it is applied at, or close to, a break that would have been chosen anyway. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________