From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94250 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Alignment for narrower text Date: Sun, 03 Apr 2016 18:19:37 +0200 Message-ID: <57014299.9000402@gmail.com> References: <52eaa335.c3d00e0a.7dbf.ffffcaccSMTPIN_ADDED_BROKEN@mx.google.com> <00af01cf1df4$6c661990$45324cb0$@tosovsky@email.cz> <016701d18ab5$cb1723a0$61456ae0$@tosovsky@email.cz> <56FC540E.8050407@wxs.nl> <020801d18b83$85bd5710$91380530$@tosovsky@email.cz> <56FE2174.4040806@wxs.nl> <56FF68B7.4010003@gmail.com> <57003cda.c8f2c20a.48efd.2050SMTPIN_ADDED_BROKEN@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2513208615959748707==" X-Trace: ger.gmane.org 1459700435 17058 80.91.229.3 (3 Apr 2016 16:20:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2016 16:20:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 03 18:20:23 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 1amklC-0003wm-DS for gctc-ntg-context-518@m.gmane.org; Sun, 03 Apr 2016 18:20:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A9E599B36; Sun, 3 Apr 2016 18:19:54 +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 w83rypMqcujv; Sun, 3 Apr 2016 18:19:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C03BC9B6F; Sun, 3 Apr 2016 18:19:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 39E0D9B36 for ; Sun, 3 Apr 2016 18:19:52 +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 pLaPK7ioR3Ez for ; Sun, 3 Apr 2016 18:19:51 +0200 (CEST) Original-Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) (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 9CC649A0B for ; Sun, 3 Apr 2016 18:19:41 +0200 (CEST) Original-Received: by mail-lf0-f42.google.com with SMTP id p188so109492153lfd.0 for ; Sun, 03 Apr 2016 09:19:41 -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=GSa0U/PhqkRnyINeX0Whbk4gMKVXrplP0GtUWFWYrPw=; b=NBQGYuvmDZFQGlLcaVqEpZjoO7uWiiJy60qBn1Q1dAiW2Wr5wbgx3NL8EYgTHqrlMo zwjoz/MH0VwZOquzR6XQ+OhXgTWt9w6KEk/LbYxHx7/4Ut2Gqi/moCk+TQAw5O2t/5FC Wt57qV44zvYM4Gs2+W6yzKFqijO/d/Mp4C6kO5gp8cWsyKANxQ78jU6uavLz850+evy0 yuYX0aORFRplJiMGHbTRPM/qw6jYZvQtlcdSgP26NxrpkoLYKCxdTfpsgZutdGHI8SBt lpBUZEhr8cx1kkCSNli5hshi82YGBuBsYE0AOci4yU3UkrW9O7xttMpOpwWX20CrJNhT EW2g== 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=GSa0U/PhqkRnyINeX0Whbk4gMKVXrplP0GtUWFWYrPw=; b=CVbG9O6+gdMLkoDRXRn+sr9yLvzxXHi6K1S/uUWFQK7WLxdN7WutslNIU50Re/726x yFud82GczkH9gPzzLFODyDh64XW5FvzyGOGODVOAPiA9n5qUk+/uNsB6E+bQuqhpALtf yh3UJl0PnxRYg7GHnRVp3Yhwen+nJxPLTmrpMt0z16zCepnPMQilqKAAE1jqNC4PT3jU Pxqj7VOX49AZ+3g/Xk4yct60NsajzByTDdYYOTm5RFQ6eYR9jJnVmOULyz3Cl+KRoVQN uRRgBu9vGmImixvPMUSXBJQU+tSZOkBNSLVbH93KdTeFUwG/DZLRO22hxz/l8mfhIpZj luug== X-Gm-Message-State: AD7BkJJ37FlCzeESnynW6SdC7oZY+Uv4oyrDcWFK/mHCPTzwvtgyk3cN+ftIKUa9gbSHvA== X-Received: by 10.194.94.229 with SMTP id df5mr15049240wjb.133.1459700380653; Sun, 03 Apr 2016 09:19:40 -0700 (PDT) Original-Received: from keima.localdomain (x2f25eba.dyn.telefonica.de. [2.242.94.186]) by smtp.gmail.com with ESMTPSA id k125sm9309006wmb.14.2016.04.03.09.19.39 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2016 09:19:39 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57003cda.c8f2c20a.48efd.2050SMTPIN_ADDED_BROKEN@mx.google.com> 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:94250 Archived-At: This is a multi-part message in MIME format. --===============2513208615959748707== Content-Type: multipart/alternative; boundary="------------050706010801050504080801" This is a multi-part message in MIME format. --------------050706010801050504080801 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Jan Tosovsky > 2. April 2016 um 23:42 > I thought Hans could also mean something like example below, but while=20 > leftskip should 'indent' all lines inside paragraph, it works only for=20 > the first one. Moreover, protrusion is not applied as well. And \crlf=20 > doesn't seem to be soft linebreak as it behaves like normal \par=20 > command - which is most likely explanation for that indenting issue. > > {\leftskip=3D2cm > =E2=80=9Cline1\crlf > line2\crlf > line3\crlf > line4. > } Indenting the whole textblock with \leftskip (or better ConTeXt=E2=80=99s= =20 narrower environment) doesn=E2=80=99t prevent protrusion as can be seen in the following exampl= e. \definefontfeature[default][default][protrusion=3Dquality] \setupbodyfont[modern-designsize] \starttext =E2=80=9C\vl Text\par \vl Text \startnarrower =E2=80=9C\vl Text\par \vl Text \stopnarrower \blank[3*line]\setupalign[hanging] =E2=80=9C\vl Text\par \vl Text \startnarrower =E2=80=9C\vl Text\par \vl Text \stopnarrower \stoptext Wolfgang --------------050706010801050504080801 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2.= =20 April 2016 um 23:42
I thought Hans=20 could also mean something like example below, but while leftskip should=20 'indent' all lines inside paragraph, it works only for the first one.=20 Moreover, protrusion is not applied as well. And \crlf doesn't seem to=20 be soft linebreak as it behaves like normal \par command - which is most likely explanation for that indenting issue.

{\leftskip=3D2cm
= =E2=80=9Cline1\crlf
line2\crlf
line3\crlf
line4.
}
Indenting the whole textblock with \leftskip (or better ConTeXt=E2=80=99s= =20 narrower environment)
doesn=E2=80=99t prevent protrusion as can be seen in the following exampl= e.

\definefontfeature[default][default][protrusion=3Dquality]

\setupbodyfont[modern-designsize]

\starttext

=E2=80=9C\vl Text\par
=C2=A0\vl Text

\startnarrower
=E2=80=9C\vl Text\par
=C2=A0\vl Text
\stopnarrower

\blank[3*line]\setupalign[hanging]

=E2=80=9C\vl Text\par
=C2=A0\vl Text

\startnarrower
=E2=80=9C\vl Text\par
=C2=A0\vl Text
\stopnarrower

\stoptext

Wolfgang
--------------050706010801050504080801-- --===============2513208615959748707== 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= --===============2513208615959748707==--