From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101298 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Canedo Newsgroups: gmane.comp.tex.context Subject: Re: Issues with vertical spacing in simple case Date: Sat, 21 Jul 2018 00:01:21 +0200 Message-ID: <5b525bb1.1c69fb81.de774.af1d@mx.google.com> References: <5b4e6111.1c69fb81.e885b.8caf@mx.google.com> <33c6d509-cb3b-eb28-8173-69114558ec95@xs4all.nl> <5b4fa427.1c69fb81.f14db.41eb@mx.google.com> <5b5035f3.1c69fb81.3114a.6c6c@mx.google.com> <59e352b0-e497-9b84-94de-1e1fa2c43164@xs4all.nl> <5b50f3e5.1c69fb81.818e2.0e39@mx.google.com> <5b50fa03.1c69fb81.6fa90.1a11@mx.google.com> <5d4aae99-bb78-14de-2b23-1138e7aee0e5@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2508328924496948564==" X-Trace: blaine.gmane.org 1532123979 16961 195.159.176.226 (20 Jul 2018 21:59:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 21:59:39 +0000 (UTC) To: Hans Hagen , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 23:59:35 2018 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgdQy-0004Hq-Ib for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2018 23:59:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 73AC4454EA; Sat, 21 Jul 2018 00:01:34 +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 QpWklXJgHLDv; Sat, 21 Jul 2018 00:01:33 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id BF9E2454E1; Sat, 21 Jul 2018 00:01:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 31AFA454E1 for ; Sat, 21 Jul 2018 00:01:33 +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 xt6ZDu_x8ixd for ; Sat, 21 Jul 2018 00:01:32 +0200 (CEST) Original-Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) (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 73C68454E0 for ; Sat, 21 Jul 2018 00:01:22 +0200 (CEST) Original-Received: by mail-wm0-f43.google.com with SMTP id f21-v6so10726537wmc.5 for ; Fri, 20 Jul 2018 15:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance:in-reply-to :references; bh=9mg0LWzGOI4jb13z1FAnbdIYdPu0VPH1bdFPrTrF6BQ=; b=K1vO84PFVWoDlHI3cHkXiafSyYtsgAbcf+etbq0CxgYo8XiZ6Yzi1Xie4J1tM0S/oX OvvI5UNH9esUFwofw/Wm7il/GOKFeoo7/ge5SuFXnHmXMnXL0jD1OG6o0J6aGOzmjb7P jb9E2TTzslWbFD3gKZRUO9ZmMrIT2+Qc7xIDZ7qs/yG0P23is9HebATQp2JfkV/26AwC 5FjFNiMrWu3ko8Twa7FGjL4JVaHnPt3zmcMijs3caEUlZcb+HmSlQFJem+5Ffbc9COMm hc7sekyu1rqmPfXSkhax4d44qTHs3n94oRr0fpiQsuIyoNWzpBBQnrj9uPPZQSKGmWQP 1WFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance:in-reply-to:references; bh=9mg0LWzGOI4jb13z1FAnbdIYdPu0VPH1bdFPrTrF6BQ=; b=hv+90oHYj+jV3Vm7XsKq4+Myv3PErwAQMHIcARxY3YCLGIzLIBe5gWqZNm/8N9IiFo RwqL1kNaJXB4JOQjF/aWS16eru7dTZ/Fy1lzhOgeXdwUMXBxRgEWBP/KmnbMy8tT/fOu The+2fkSoTtw0T7g8mItbjyhY+I9Tyx+mbf1d06pNG6aC4DtijiK1Im7tEGT/1W2BEXe uJnQ/VJ2aLx75WXzOtUbn8r1CutuAKxl7nYOy1OIu8/TVUxtaiFJGs1MzT05lClZejDq gIaGhK+nkjrJVaBuqaPhIzQaSseb8z0s7+vxifmrgwVw90wkWOQjKHosGJxJPYoHCSw9 tUOw== X-Gm-Message-State: AOUpUlFiJPxKBUgY8YgjgO5kVoqhn2mxmapDwbP6+/wQzoPKiCAQFmH0 sKvAJIai+ILHFbxq+VMS5Gw= X-Google-Smtp-Source: AAOMgpdEQ0mbYuee9SZWWyELyWzt4FCBA9MG73wit9DG/F6Z7FVVgFzH916ejiQtkEnkXeql6654hQ== X-Received: by 2002:a1c:8c08:: with SMTP id o8-v6mr2357367wmd.60.1532124082177; Fri, 20 Jul 2018 15:01:22 -0700 (PDT) Original-Received: from ?IPv6:2a01:cb00:68e:300:ccf8:a037:79ee:e423? (2a01cb00068e0300ccf8a03779eee423.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:ccf8:a037:79ee:e423]) by smtp.gmail.com with ESMTPSA id w24-v6sm1899048wmc.15.2018.07.20.15.01.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jul 2018 15:01:21 -0700 (PDT) Importance: normal X-Priority: 3 In-Reply-To: <5d4aae99-bb78-14de-2b23-1138e7aee0e5@xs4all.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:101298 Archived-At: --===============2508328924496948564== Content-Type: multipart/alternative; boundary="_AF5B4A5C-54BB-47C0-B5FB-D702C7C82C60_" --_AF5B4A5C-54BB-47C0-B5FB-D702C7C82C60_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" I=E2=80=99ve modified the MWE to avoid the \\ and it shows same problem. I= =E2=80=99ve used the \\ to make a par with 2 lines (lazy typing more words= =C2=A0:-). In any case \\ or not, the \hang* directives do not seem taken i= n consideration in this particular case for last par. Other cases seem to w= ork fine. %\setuplayout[grid=3Dboth] %\enabletrackers[vspacing.synchronizepage] \starttext \dorecurse{39}{ A. } Chapitre. \blank[0pt, samepage] \hangindent=3D30pt\hangafter=3D-2Third par with some lengthy sentence. Seco= nd sentence. Third sentence. Fourth sentence. Fifth sentence. \blank[0pt, samepage] \hangindent=3D30pt\hangafter=3D-2 Fourth par not indented. Lengthy sentence= . Second sentence. Third sentence. Fourth sentence. Fifth sentence. \stoptext De=C2=A0: Hans Hagen Envoy=C3=A9 le=C2=A0:vendredi 20 juillet 2018 10:51 =C3=80=C2=A0: Joseph Canedo; mailing list for ConTeXt users Objet=C2=A0:Re: [NTG-context] Issues with vertical spacing in simple case On 7/19/2018 10:52 PM, Joseph Canedo wrote: > Finally I could make a MWE that reproduces the issue. >=20 > %%%%%%%% >=20 > %\setuplayout[grid=3Dboth] % uncommenting this makes last line not indent= ed. >=20 > %\enabletrackers[vspacing.synchronizepage] >=20 > \starttext >=20 > \dorecurse{39}{ % other values like 40 do not show issue >=20 > A. >=20 > } >=20 > Chapitre. >=20 > \blank[0pt, samepage] >=20 > \hangindent=3D30pt\hangafter=3D-2Third par.\\ >=20 > Second line. >=20 > \blank[0pt, samepage] >=20 > \hangindent=3D30pt\hangafter=3D-2 Fourth par not indented.\\ Second line = not=20 > indented. >=20 > \stoptext it's probably more related to the wrong usage of \\ which you normally=20 should not use at the end of aparagraoh (i'll make the remover for that=20 a bit more clever) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- --_AF5B4A5C-54BB-47C0-B5FB-D702C7C82C60_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

I=E2=80=99ve modified the MWE to avoid= the \\ and it shows same problem. I=E2=80=99ve used the \\ to make a par w= ith 2 lines (lazy typing more words :-). In any case \\ or not, the \h= ang* directives do not seem taken in consideration in this particular case = for last par. Other cases seem to work fine.

&= nbsp;

%\setuplayout[grid=3Dboth]

%\enabletrackers[vspacing.synchronizepage]

 

\starttext

 

\dorecurse{39}{

A.

 

}

 

Chapitre.

\blank[0pt, samepage]

\hangindent=3D30pt\hangafter=3D-2Third par with some lengthy sentence= . Second sentence. Third sentence. Fourth sentence. Fifth sentence.

\blank[0pt, samepage]

\hangindent= =3D30pt\hangafter=3D-2 Fourth par not indented. Lengthy sentence. Second se= ntence. Third sentence. Fourth sentence. Fifth sentence.

 

\stoptext

 

 

 

<= p class=3DMsoNormal style=3D'border:none;padding:0cm'>De : Hans Hagen
Envoy=C3=A9 le := vendredi 20 juillet 2018 10:51
=C3=80 : Joseph Canedo; mailing list for ConTeXt users
Objet :Re: [NTG-c= ontext] Issues with vertical spacing in simple case

 

On 7/19/2018 10:52 PM, Jos= eph Canedo wrote:

> Finally I could make a MWE t= hat reproduces the issue.

>

> %%%%%%%%

>

&g= t; %\setuplayout[grid=3Dboth] % uncommenting this makes last line not inden= ted.

>

> %\enabletra= ckers[vspacing.synchronizepage]

>

> \starttext

>

> \dorecurse{39}{ % other values like 40 do not show issue

>

> A.

>

> }

>

> Chapitre.

>

> \blank[0pt, samepage]

>

> \hangindent=3D30pt\hangafter=3D-2Third par.\\

>

> Second line.

>

> \blank[0pt, samepage]=

>

> \hangindent=3D3= 0pt\hangafter=3D-2 Fourth par not indented.\\ Second line not

> indented.

>

> \stoptext

it's probably more related to= the wrong usage of \\ which you normally

should n= ot use at the end of aparagraoh (i'll make the remover for that

a bit more clever)

 <= /p>

Hans

 

<= p class=3DMsoNormal>-------------------------------------------------------= ----------

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Hans Hagen = | PRAGMA ADE

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ridderstraat 27 | 8061 GH = Hasselt | The Netherlands

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.= nl

------------------------------------------------= -----------------

 

= --_AF5B4A5C-54BB-47C0-B5FB-D702C7C82C60_-- --===============2508328924496948564== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2508328924496948564==--