From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85389 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Paragraph - the last line handling Date: Fri, 22 Nov 2013 23:07:03 +0100 Message-ID: <21105.5279513404$1385158035@news.gmane.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385158024 4145 80.91.229.3 (22 Nov 2013 22:07:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 22:07:04 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 22 23:07:11 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VjysW-00069b-Rx for gctc-ntg-context-518@m.gmane.org; Fri, 22 Nov 2013 23:07:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 233CC1022C; Fri, 22 Nov 2013 23:07:08 +0100 (CET) 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 iTPMWC1eCuJC; Fri, 22 Nov 2013 23:07:06 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D277E101FA; Fri, 22 Nov 2013 23:07:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6EBD8101FA for ; Fri, 22 Nov 2013 23:07:04 +0100 (CET) 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 UKWkZXqkkS+S for ; Fri, 22 Nov 2013 23:07:03 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 7341D101F7 for ; Fri, 22 Nov 2013 23:07:03 +0100 (CET) Original-Received: from fep19.mx.upcmail.net (fep19.mx.upcmail.net [62.179.121.39]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAMM72r4025912 for ; Fri, 22 Nov 2013 23:07:02 +0100 Original-Received: from edge04.upcmail.net ([192.168.13.239]) by viefep19-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131122220701.QKXS217.viefep19-int.chello.at@edge04.upcmail.net> for ; Fri, 22 Nov 2013 23:07:01 +0100 Original-Received: from emk ([78.102.141.153]) by edge04.upcmail.net with edge id sm711m01B3Jmlmu03m71nw; Fri, 22 Nov 2013 23:07:01 +0100 X-SourceIP: 78.102.141.153 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7nzysXjlQw5RxISXW7di4VCTZgiw== Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.39; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKQK720R - 155aef238563 - 20131122 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85389 Archived-At: Hello Everyone, in my document there are lot of cases when the last line in the paragraph has a very narrow gap on the right (case 1 below). I understand it is sometimes difficult to squeeze characters to the desired lenght (case 2) without any impact to the final quality, but this looks very unnatural now (besides all other lines, which are nicely typeset keeping the optical edge on the right). Is it possible to somehow define that under a certain limit the line will be expanded to the end (case 3)? xxxxxxxxxxxx (1) xxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxx (2) xxxxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx (3) xxxxxxxxxxxxxx xxxxxxxxxxxxxx I use the following setup now: \setupalign[hz, hanging] \setuptolerance[verystrict] % even 'strict' doesn't help here \setupindenting[medium, yes] Any idea? Thanks, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________