From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88047 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: example of better linebreak with 2014.05.17 compared to 2014.07.07 Date: Wed, 09 Jul 2014 15:45:42 +0200 Message-ID: <53BD4786.6010000@wxs.nl> References: <87simaddel.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1404913577 13058 80.91.229.3 (9 Jul 2014 13:46:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2014 13:46:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 09 15:46:13 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 1X4sCI-0004DU-Up for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jul 2014 15:46:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 795BE10226 for ; Wed, 9 Jul 2014 15:46:10 +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 O2LYm3b7vc2T for ; Wed, 9 Jul 2014 15:46:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6AB681022A for ; Wed, 9 Jul 2014 15:46:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4300A101EA for ; Wed, 9 Jul 2014 15:45:58 +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 JiL5MKImv8i8 for ; Wed, 9 Jul 2014 15:45:53 +0200 (CEST) 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 500F4101E2 for ; Wed, 9 Jul 2014 15:45:48 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s69Djkmv005702 for ; Wed, 9 Jul 2014 15:45:46 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.5a2) with ESMTP id 10079-1713362 for ; Wed, 09 Jul 2014 15:45:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <87simaddel.fsf@approx.mit.edu> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=Provincie Overijssel; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06ModJKqq - ad2c632d323b - 20140709 (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:88047 Archived-At: On 7/9/2014 12:39 PM, Sanjoy Mahajan wrote: > Out of curiosity and as a ConTeXt stress test, I installed 2014.07.07 > MkIV and recompiled my book with it, and looked at the pixel-by-pixel > comparison between it and the version compiled with 2014.05.17. > > There were many changes. I am going through them one at a time in case > any could be bugs in luatex or context. (I noticed several good changes > where pages fit more precisely into their height.) > > Here is a change that might be a bug. It uses the following minimal > example: > > \setupbodyfont[palatino] > \showframe > \setuplayout[width=3D5.4286in] > > \starttext > > Let's see whether this estimate is reasonable. According to the > plane's technical documentation, the 747-400's four engines together > can provide roughly 1~meganewton of thrust. > > \stoptext > > With 2014.05.17, the linebreaks are as follows, with no overfull boxes: > > Let's see whether this estimate is reasonable. According to the plane's > technical documentation, the 747-400's four engines together can provi= de > roughly 1 meganewton of thrust. > > With 2014.07.07, the linebreaks are as follows, but with an overfull box: > > Let's see whether this estimate is reasonable. According to the plane'= s tech- > nical documentation, the 747-400's four engines together can provide r= oughly > 1 meganewton of thrust. > > The "roughly" on the second line protrudes a good way into the margin. > From the log file: > > Overfull \hbox (8.80678pt too wide) in paragraph at lines 7--10 > \3>palatino-12pt-rm-tf-0--0 ni-cal doc-u-men-ta-tion, the 747-400=92s = four en-gines to-gether can pro-vide roughly > > Both runs use luatex 0.79.1 (svn rev 5033), which I compiled by hand and > then did 'context --make' to regenerate the formats. > > Is this change in linebreaking intended, or could it be an unintended > consequence of another change (and therefore maybe problematic)? it can happen if patterns or fonts changed ...so, best make two small = test files and we can look into it with tracing > Perhaps related, the PDF files behave differently with copying and > pasting. Copying the paragraph from the 2014.05.17 file, I get spaces > between the words. Copying from the 2014.07.07 file, I get no spaces > between the words (using mupdf). (The difference may be due to the > smaller interword spaces, whose size may have fallen below a threshold > that mupdf uses.) > > I've attached the uncompressed PDFs (each about 14K). how does the tex file look ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________