From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94245 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Alignment for narrower text Date: Sat, 02 Apr 2016 08:37:43 +0200 Message-ID: <56FF68B7.4010003@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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1141902886954481257==" X-Trace: ger.gmane.org 1459579084 31602 80.91.229.3 (2 Apr 2016 06:38:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 06:38:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 02 08:37:52 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 1amFBv-00022J-Ub for gctc-ntg-context-518@m.gmane.org; Sat, 02 Apr 2016 08:37:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 166A89D7A; Sat, 2 Apr 2016 08:37:42 +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 dBuuQ0jes__f; Sat, 2 Apr 2016 08:37:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5AF729D7E; Sat, 2 Apr 2016 08:37:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EF48B9D7A for ; Sat, 2 Apr 2016 08:37:39 +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 MP_IGqe44O4g for ; Sat, 2 Apr 2016 08:37:39 +0200 (CEST) Original-Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (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 24F889D77 for ; Sat, 2 Apr 2016 08:37:29 +0200 (CEST) Original-Received: by mail-lb0-f175.google.com with SMTP id u8so89386641lbk.0 for ; Fri, 01 Apr 2016 23:37:29 -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=vqquBN5jrsA67DgAQ/7omf19uUFtCP6dOjMFcQqh9bE=; b=iXpFz15Vfkj9rmWAst2rACU+GV6MhKCE4lshTHyCqpFbNXN2EyQNhA3Iss0Vy7bGnH QA+nck2OT8bY4KeEG0e0Dlb96UraWFqtgCXio7zjvv936WukL8SheXkIxTUfeAFymLFg slf8VLwyt6AdcWKkE1RhkhV33RJcKqXnexrqFkN/fGm2ODDURFvb0RpMh3C6nkhl+WFF /x7scO0ddl7LQlTcNQgKAQbrFmhSG1axCpnzghbjYHYJM8FokGed/47WhV/L72p2goft RfIiSz8VtgztYyHU1is4tMGFbL0Blr64tUq0cvHkoRPsxl5tU/I+z01X8uranUXb8AbN D8GQ== 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=vqquBN5jrsA67DgAQ/7omf19uUFtCP6dOjMFcQqh9bE=; b=GvOPAcJkvZlUgOgwlCLW+3t0GgLY8IbVOlp9iF7gvfM0JTDI7BZGmIypjqvNmgJBVb q5XGKSyP795vC1zS35Imj0cD7PXJUrw0mNE4PpTbO9hvGDoCw5szwv8o1Y+nlDgCaiqU yoR/hArqrbVvY9R7VdWk/ink4WyvFTEd+DjSJlsEMRHKzZ+UlXrsZ2cKmqqEmv7JPKRG /o3hcb1cAlRXKBTvClL+PdkjD5iFa0SSU3Y4PTUdqw7aZ3jpbcu+4zmMRgMuVvZZ7qsc 6eyff3DvFiuviFiW+v/k7LSeUJPSwGjFD8RjWyyaxGqfX4+Lz35i3Q0lefTYb5IQwplP y+oA== X-Gm-Message-State: AD7BkJLCpStUBBNWnNx5DwidPzRtrwpTIIUf6QlawHCWEqk2+31XpVjHLEmMgwVOn80iHg== X-Received: by 10.28.96.69 with SMTP id u66mr1273247wmb.45.1459579047497; Fri, 01 Apr 2016 23:37:27 -0700 (PDT) Original-Received: from keima.localdomain (x2f2c427.dyn.telefonica.de. [2.242.196.39]) by smtp.gmail.com with ESMTPSA id k125sm2353544wmb.14.2016.04.01.23.37.25 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2016 23:37:26 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <56FE2174.4040806@wxs.nl> 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:94245 Archived-At: This is a multi-part message in MIME format. --===============1141902886954481257== Content-Type: multipart/alternative; boundary="------------010801090905020800080703" This is a multi-part message in MIME format. --------------010801090905020800080703 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Hans Hagen > 1. April 2016 um 09:21 > On 3/31/2016 9:28 PM, Jan Tosovsky wrote: >> On 2016-03-31 Hans Hagen wrote: >>> On 3/30/2016 8:55 PM, Jan Tosovsky wrote: >>>> On 2014-01-30 Jan Tosovsky wrote: >>>>> >>>>> I'd expect that starting french quote sign outside the left >>>>> text edge - similarly like it is aligned the main flow when >>>>> the hanging feature is enabled. >>>>> >>>>> Now I've found it works as expected when the indenting is >>>>> disabled... >>>> >>>> http://tracker.luatex.org/view.php?id=3D884 >>> >>> indenting prohibits protrusion >>> >> >> Good to know, thanks. I take it rather as a limitation. >> >> Use case: >> - book uses global indentation >> - there is poem typeset in narrower block >> - there is punctuation in the first verse which disrupt optical=20 >> margin alignment >> >> Are there alternative ways? > > in your example you use indentation to get a narrower block (and as=20 > each line is a paragraph each line gets an indent box prepended) ..=20 > you should use leftskip (\startnarrower...) in such cases This is a bad example because there is no problem with \leftskip. What he means is that protrusion at the left margin doesn=E2=80=99t at th= e begin=20 of a paragraph when you use indentation. %%% begin example \definefontfeature[default][default][protrusion=3Dquality] \setupbodyfont[modern-designsize] \setupalign[hanging] \setupbackgrounds[text][leftframe=3Don] \starttext =E2=80=9CHow does this look?=E2=80=9D When you a short paragraph with a quotattion mark at the beginning above another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align. \blank[3*line]\setupindenting[yes,medium] =E2=80=9CHow does this look?=E2=80=9D When you a short paragraph with a quotattion mark at the beginning above another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align. \blank[3*line] \dontleavehmode\llap{=E2=80=9C}How does this look?=E2=80=9D When you a short paragraph with a quotattion mark at the beginning above another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align. \stoptext %%% end example Wolfgang --------------010801090905020800080703 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
1.= =20 April 2016 um 09:21
On 3/31/2016 9:28 PM, Jan=20 Tosovsky wrote:
On 2016-03-31 Hans Hagen wrote:
On 3/30/2016 8:55 PM, Jan Tosovsky wrote:
On 2014-01-30 Jan Tosovsky wrote:

I'd expect that starting french quote=20 sign outside the left
text edge - similarly like it is aligned the main flow when
the hanging feature is enabled.

Now I've found it works as expected when the indenting is
disabled...

http://tracker.luatex.org/view.php?id=3D884

indenting prohibits protrusion


Good to know, thanks. I take it rather as a limitation.

Use case:
- book uses global indentation
- there is poem typeset in narrower block
- there is punctuation in the first verse which disrupt optical=20 margin alignment

Are there alternative ways?

in your example you use indentation to get a narrower block (and as=20 each=20 line is a paragraph each line gets an indent box prepended) .. you=20 should use leftskip (\startnarrower...) in such cases
This is a bad example because there is no problem with \leftskip.

What he means is that protrusion at the left margin doesn=E2=80=99t at th= e begin of a paragraph when you use indentation.

%%% begin example
\definefontfeature[default][default][protrusion=3Dquality]

\setupbodyfont[modern-designsize]

\setupalign[hanging]

\setupbackgrounds[text][leftframe=3Don]

\starttext

=E2=80=9CHow does this look?=E2=80=9D

When you a short paragraph with a quotattion mark at the beginning above<= br> another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align.

\blank[3*line]\setupindenting[yes,medium]

=E2=80=9CHow does this look?=E2=80=9D

When you a short paragraph with a quotattion mark at the beginning above<= br> another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align.

\blank[3*line]

\dontleavehmode\llap{=E2=80=9C}How does this look?=E2=80=9D

When you a short paragraph with a quotattion mark at the beginning above<= br> another paragraph without a quotation mark the letters at the start of both paragraph don=E2=80=99t align.

\stoptext
%%% end example

Wolfgang
--------------010801090905020800080703-- --===============1141902886954481257== 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= --===============1141902886954481257==--