From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61967 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.comp.tex.context Subject: Justifying last line of paragraph Date: Sat, 25 Sep 2010 20:03:21 +0200 Message-ID: <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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285437829 4659 80.91.229.12 (25 Sep 2010 18:03:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2010 18:03:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 25 20:03:47 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 1OzZ6B-0006Nz-FZ for gctc-ntg-context-518@m.gmane.org; Sat, 25 Sep 2010 20:03:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2818CA79E; Sat, 25 Sep 2010 20:03:45 +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 6ompH2crksfq; Sat, 25 Sep 2010 20:03:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59BE5CA73D; Sat, 25 Sep 2010 20:03:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A1D7CA73D for ; Sat, 25 Sep 2010 20:03:41 +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 WOncajrIhHvi for ; Sat, 25 Sep 2010 20:03:29 +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 DFE3ECA60F for ; Sat, 25 Sep 2010 20:03:29 +0200 (CEST) Original-Received: from nebensachen.de (nebensachen.de [78.46.130.30]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8PI3SZO026321 for ; Sat, 25 Sep 2010 20:03:29 +0200 Original-Received: from upstream.obscured ([192.168.0.1]) by mail.nebensachen.de (Postfix) with ESMTPSA id CB38420DA001 for ; Sat, 25 Sep 2010 20:03:27 +0200 (CEST) X-Hashcash: 1:20:100925:ntg-context@ntg.nl::EMOr4wIQS+ZYDOoQ:00000000000000000000000000000000000000000008cOK Mail-Copies-To: nobody Mail-Followup-To: mailing list for ConTeXt users User-Agent: Gnus/5.13 (Gnus v5.13) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=78.46.130.30; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Db63sBQ - 6f9efba33b21 - 20100925 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:61967 Archived-At: Hi there, what I'm trying to achieve is splitting a paragraph into two -- from TeX's point of view -- that still look like one single paragraph. To this end, I have to make sure that the last line of the first paragraph is justified just like all the surrounding lines, so, in the pdf output one couldn't tell that this is actually the end of a paragraph. so, How can I force the last line to be justified as well? In order to see the reason for my question, consider the following example: \setupwhitespace[big] \setupalign[line] \starttext \dorecurse{3}{\input knuth\par} \placefigure[right][fig:test1]{Basically just a bit of empty space.} {\framed[width=0.5\textwidth,height=0.4\textheight,offset=none]{Test}} {\input tufte\par} \stoptext 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, Elias ___________________________________________________________________________________ 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 ___________________________________________________________________________________