From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95505 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: emergency stretch not taken in account in some cases Date: Tue, 19 Jul 2016 00:10:04 +0200 Message-ID: <578D53BC.60807@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5074389659406419384==" X-Trace: ger.gmane.org 1468879857 10965 80.91.229.3 (18 Jul 2016 22:10:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2016 22:10:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 19 00:10:44 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPGkN-0005GY-UY for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jul 2016 00:10:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E28D511A16; Tue, 19 Jul 2016 00:10:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEedD1ofpsnR; Tue, 19 Jul 2016 00:10:20 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3327A11A48; Tue, 19 Jul 2016 00:10:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB7ED11A16 for ; Tue, 19 Jul 2016 00:10:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g1qo4l6lC9qB for ; Tue, 19 Jul 2016 00:10:17 +0200 (CEST) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C864311536 for ; Tue, 19 Jul 2016 00:10:07 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id i5so4345205wmg.0 for ; Mon, 18 Jul 2016 15:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=64CpGbdNBnBJ5DdOmQ9XxqK8J9ACLPOEZcrKzX9nZJo=; b=D5uUFS5SJ4QrMLvlX0T/N1MJmwjqgRIdC9OAYDiIgjpn6nbtPOITvHGkP3GKGuXhhD ZhI+AncnxDrTwfH+aIXtno0oF6HrEO71RffJfERfS+FisKatCh1LgkHG3j91764EM7Gv SOwmLE3PgYYxEGN9frgeM2vQxOgkgr65IN5o7Nch0BclW416w283t8UFhMTqXcpu8ghO InjnfgPq4TZ4lqNJJTC47zRscjfSSP4X3h0wkL/5HTmzs4/RnAFlnA85Oxb7x8CsnXwY HFpTfdSzCZm70+9HxdYndquTVoaS4p8xF/vk5tiXHeSDCkZ5nfJ7i072Eg/o0L47/Hm2 EJmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=64CpGbdNBnBJ5DdOmQ9XxqK8J9ACLPOEZcrKzX9nZJo=; b=I9LAX4c/sV2O5QN5dfluz1gSjJxa3nSNny2J9JsOO65eEvPeHwY0ZQLlkIGGRXbjOE Ub5V1f/rJWl2YAFzODrqq0r69oYUVvsUzpA949UoU1BrpQNl2vu2iQ0r5TPgQ90WqkIH g07syWKGwbnsuBoQ/oBQ0nf6uluErgjkNOgZJgW6yuHbkw95Bj7V0L6EkmU61G+b7F9l e+cKUgYvuZwfE28nJLagLLfHkzvoZUoGhqcDkOpm+yf6Og7LQgXOq7J1CpxdXFwd9mhG t3BAgboYOMi5f0eWVFYgE5oAJ//j9eONI8u6riCwYLFy/XNAHSBi9o7EwYwMrkz+p3P2 /YAg== X-Gm-Message-State: ALyK8tIKIzakgsTxGu+rxkxth+r/NiHj95ex/j3+wsg2luYEX+6/IRAjkuFXJN85gyMXXA== X-Received: by 10.194.172.232 with SMTP id bf8mr3391064wjc.47.1468879807104; Mon, 18 Jul 2016 15:10:07 -0700 (PDT) Original-Received: from keima.localdomain (x2f27c39.dyn.telefonica.de. [2.242.124.57]) by smtp.gmail.com with ESMTPSA id gw4sm3320171wjc.33.2016.07.18.15.10.06 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 15:10:06 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:95505 Archived-At: This is a multi-part message in MIME format. --===============5074389659406419384== Content-Type: multipart/alternative; boundary="------------020001050103090809080703" This is a multi-part message in MIME format. --------------020001050103090809080703 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > josephcanedo@gmail.com > 18. Juli 2016 um 23:21 > Dear all, > > In some cases specifying \setupalign[stretch] does not seem to have=20 > any effect with latest betas (live, 2016.06.20 22:14 version are fine,=20 > but 2016.07.18 is not), and the output has now overfulls instead of=20 > (admitedly a bit large) underfulls. > > Attached simple (albeit bit extreme) MWE. Sorry for the relatively=20 > large MWE but could not figure out how to make it shorter. > > emergency_stretch.pdf produced with latest beta (updated with=20 > first-setup.bat today). > emergency_stretch_ok.pdf produced with 2016.06.20 22:14 version. I can=E2=80=99t reproduce your problem but justified text isn=E2=80=99t t= he best option=20 in narrow columns. Below is a simplified version of your code which doesn=E2=80=99t use the = parent=20 setting from margindata and marginframed setups, there is also no need=20 to set the alignment twice and marginframed has no method key (the=20 source is wrong). \definemargindata [InOuter] [method=3Dfirst, location=3Douter, margin=3Dmargin, width=3D\outermarginwidth, style=3D\tf, stack=3Dcontinue, align=3D{normal,hanging,morehyphenation,hz,verytolerant,stretch}] \definemargindata [InInner] [method=3Dfirst, location=3Dinner, margin=3Dmargin, width=3D\innermarginwidth, style=3D\tf, align=3Douter] \definemarginframed[InOuter] \definemarginframed[InInner] %\setuplayout[width=3D12cm,rightmargin=3D4cm] \starttext Foo \InOuter{\input knuth } Bar. \stoptext Wolfgang --------------020001050103090809080703 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
18= .=20 Juli 2016 um 23:21
Dear all,

In some cases specifying=20 \setupalign[stretch] does not seem to have any effect with latest betas=20 (live, 2016.06.20 22:14 version=C2=A0are fine, but 2016.07.18 is not), an= d=20 the output has now overfulls instead of (admitedly a bit large)=20 underfulls.

Attached=C2=A0=C2=A0simple (albeit b= it=20 extreme) MWE. Sorry for the relatively large MWE but could not figure=20 out how to make it shorter.

emergency_stretch.pd= f produced with latest beta (updated with first-setup.bat today).
emergency_stretch_ok.pdf produced with 2016.06.20 22:14 version.
I can=E2=80=99t reproduce your problem but justified text isn=E2=80=99t t= he best option=20 in narrow columns.

Below is a simplified version of your code which doesn=E2=80=99t use the = parent=20 setting from margindata and marginframed setups, there is also no need=20 to set the alignment twice and marginframed has no method key (the=20 source is wrong).

\definemargindata
=C2=A0 [InOuter]
=C2=A0 [method=3Dfirst,
=C2=A0=C2=A0 location=3Douter,
=C2=A0=C2=A0 margin=3Dmargin,
=C2=A0=C2=A0 width=3D\outermarginwidth,
=C2=A0=C2=A0 style=3D\tf,
=C2=A0=C2=A0 stack=3Dcontinue,
=C2=A0=C2=A0 align=3D{normal,hanging,morehyphenation,hz,verytolerant,stre= tch}]

\definemargindata
=C2=A0 [InInner]
=C2=A0 [method=3Dfirst,
=C2=A0=C2=A0 location=3Dinner,
=C2=A0=C2=A0 margin=3Dmargin,
=C2=A0=C2=A0 width=3D\innermarginwidth,
=C2=A0=C2=A0 style=3D\tf,
=C2=A0=C2=A0 align=3Douter]

\definemarginframed[InOuter]
\definemarginframed[InInner]

%\setuplayout[width=3D12cm,rightmargin=3D4cm]

\starttext

Foo \InOuter{\input knuth } Bar.

\stoptext

Wolfgang
--------------020001050103090809080703-- --===============5074389659406419384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============5074389659406419384==--