From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86374 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Paragraph - the last line handling Date: Wed, 19 Feb 2014 23:00:29 +0100 Message-ID: <37084.6340120353$1392847251@news.gmane.org> References: <012e01cee7cf$2d36b690$87a423b0$@tosovsky@email.cz> <52909FB7.8010405@wxs.nl> <002701cee852$00817710$01846530$@tosovsky@email.cz> <5290B7A5.9060202@wxs.nl> 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 1392847237 30130 80.91.229.3 (19 Feb 2014 22:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2014 22:00:37 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 19 23:00:47 2014 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 1WGFC9-0002Mu-9u for gctc-ntg-context-518@m.gmane.org; Wed, 19 Feb 2014 23:00:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA1CE101EB; Wed, 19 Feb 2014 23:00:44 +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 W5N7W8xvt2R1; Wed, 19 Feb 2014 23:00:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7534B101E6; Wed, 19 Feb 2014 23:00:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 680FC101E6 for ; Wed, 19 Feb 2014 23:00:42 +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 yyySF-MFxxqX for ; Wed, 19 Feb 2014 23:00:41 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 9935F101E2 for ; Wed, 19 Feb 2014 23:00:31 +0100 (CET) Original-Received: from fep19.mx.upcmail.net (fep19.mx.upcmail.net [62.179.121.39]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1JM0UEN015840 for ; Wed, 19 Feb 2014 23:00:30 +0100 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep19-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140219220030.OYYT1802.viefep19-int.chello.at@edge02.upcmail.net> for ; Wed, 19 Feb 2014 23:00:30 +0100 Original-Received: from emk ([78.102.141.125]) by edge02.upcmail.net with edge id UN0V1n01D2iXwKS02N0VzN; Wed, 19 Feb 2014 23:00:30 +0100 X-SourceIP: 78.102.141.125 In-Reply-To: <5290B7A5.9060202@wxs.nl> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7oVfwdX0pjI+qfQzO1EG3Q6h7L2RFZmpLg Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@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: 06Lsm0ulM - b976ca6b1bdc - 20140219 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:86374 Archived-At: On 2013-11-23 Hans Hagen wrote: > On 11/23/2013 2:43 PM, Jan Tosovsky wrote: > > On 2013-11-23 Hans Hagen wrote: > >> On 11/22/2013 11:07 PM, Jan Tosovsky wrote: > >>> > >>> in my document there are lot of cases when the last line in the > >>> paragraph has a very narrow gap on the right. > >> > >> \hsize 15.4cm > >> > >> \input tufte > >> > >> \parfillskip30pt plus 1 fill \input tufte > > > > Wow, exactly! Thanks a lot. > > > > Sorry for a dumb question, but is there any way how to use it > > globally for all paragraphs in my document? > > no, as i need to think of a decent interface to that (so remind me in a > few months) When this gap (parfillskip) is set in the beginning of the document, it is shared for all paragraphs within the document. I was not aware of that. But I've encountered this weird edge case. When the text is followed with \stopregister command, the last line has no gap at all: \starttext \hsize 15.3cm % in older versions this value has to be set to 15.4cm \input tufte \parfillskip 30pt plus 1 fill \input tufte \startregister[index][test]{test} \input{tufte} \stopregister[index][test] \stoptext It can be fixed by a blank line inserted before \stopregister command, but this is unacceptable in my case for other reasons. 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 ___________________________________________________________________________________