From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101387 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: Thu, 26 Jul 2018 22:57:20 +0200 Message-ID: <5b5a35ac.1c69fb81.9d8bf.9ec1@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> <5b525bb1.1c69fb81.de774.af1d@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2240486004366115231==" X-Trace: blaine.gmane.org 1532638547 26679 195.159.176.226 (26 Jul 2018 20:55:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2018 20:55:47 +0000 (UTC) To: Hans Hagen , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 26 22:55:43 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 1finIV-0006po-5j for gctc-ntg-context-518@m.gmane.org; Thu, 26 Jul 2018 22:55:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E0BBA47795; Thu, 26 Jul 2018 22:57:30 +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 8xUnHHcVbI_g; Thu, 26 Jul 2018 22:57:30 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 323934778B; Thu, 26 Jul 2018 22:57:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B7C464778B for ; Thu, 26 Jul 2018 22:57:28 +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 xaOJ5ShkzIxZ for ; Thu, 26 Jul 2018 22:57:28 +0200 (CEST) Original-Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 0DA9C4778A for ; Thu, 26 Jul 2018 22:57:17 +0200 (CEST) Original-Received: by mail-wr1-f41.google.com with SMTP id a3-v6so2996240wrt.2 for ; Thu, 26 Jul 2018 13:57:17 -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=Q2SLhoWIsUAfslSCG9327DawgtVPJ794zXW34bcf+cE=; b=nd8LO4xOBrCOKOcEFg/Wz881KuIlorF1AgCoFEcODnViuDQ/r6TNpfnPXq7RzMlRxT piNb0WXzEoJoGk2nQTHQFO7E0v/o+sH5Fm+xevjhjYzWO9qzY1CMh5yvEt0QUa6Dp+yN TUb0XFFlEzmB+4nuWqKLgZMLrdkPyjRMrOqwIN6KAuhk6WUXd9T+9WbEFq4InPGEbUJr juDVEfKPJiWhX8YVskF4IBS3ZiCuzqWJbMXNP/lFGpwJu9CRS978yGfyd12hSeHFEeB2 NZHCYLfF5Rfakw9pTQcLKtiU/oNq17q9p7wFUXvtv8Nec2hjF1mHWNnzltHYijbZRyUu AT1g== 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=Q2SLhoWIsUAfslSCG9327DawgtVPJ794zXW34bcf+cE=; b=a5Gh2ikDZJbgqZz2N8RpHEpYoLIs9+RV/zwgTND7613rOv73QTdNVjtgy7jzAXHkMS VqyGexNZ/JhVDqKgNXk7WiNdO4ga33KUjSK3nKCAOmUFnSNZIzp1PwiSgI4KenbkspTt nf02MU+ENmBFJwrkRPr+B+X/EsQrtGTc42HqBoyyvDjuotqR8qSosAOLvfGythz4b8dp Okicg8zNIcNSGhVOzb921pbYhQytHq065KkL7SvSirNrMDe0Bv6aQvgNjcJL92ok1o8C temzxNluLNgAmgbTJ/Ie/Ycju6kwerDSantkiAiqJ1BNMYbDhmiJ2CcGrdjaDfngBVfS 7xeg== X-Gm-Message-State: AOUpUlEreN+tJAx6D9Fr7QCCF0XqVkklzbyztXwOM/srSpx2vI0lw4CT hQ7xVpzgA1mB91uk3h8drII= X-Google-Smtp-Source: AAOMgpcZETQhmevrzLfqaJ+VM3Xfo2hyYyhPLDViXgjlQdYafRgv+aFdLRwiGp58qvspM+Qt47I62w== X-Received: by 2002:adf:80c9:: with SMTP id 67-v6mr2643860wrl.95.1532638637639; Thu, 26 Jul 2018 13:57:17 -0700 (PDT) Original-Received: from ?IPv6:2a01:cb00:68e:300:5ca8:2d28:3ae:337c? (2a01cb00068e03005ca82d2803ae337c.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:5ca8:2d28:3ae:337c]) by smtp.gmail.com with ESMTPSA id g204-v6sm3970715wmd.26.2018.07.26.13.57.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jul 2018 13:57:16 -0700 (PDT) Importance: normal X-Priority: 3 In-Reply-To: <5b525bb1.1c69fb81.de774.af1d@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:101387 Archived-At: --===============2240486004366115231== Content-Type: multipart/alternative; boundary="_CB8B9307-A085-4042-A68A-1FDA07751F56_" --_CB8B9307-A085-4042-A68A-1FDA07751F56_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Thanks a lot for the fix. De=C2=A0: Joseph Canedo Envoy=C3=A9 le=C2=A0:samedi 21 juillet 2018 00:01 =C3=80=C2=A0: Hans Hagen; mailing list for ConTeXt users Objet=C2=A0:RE: [NTG-context] Issues with vertical spacing in simple case 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 ----------------------------------------------------------------- =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 ----------------------------------------------------------------- --_CB8B9307-A085-4042-A68A-1FDA07751F56_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Thanks a lot for the fix.

 

De : Joseph Canedo
Envoy=C3=A9 le&n= bsp;:samedi 21 juillet 2018 00:01
=C3=80 : Hans Hagen; mailing list for ConTeXt users
Objet :RE: [NTG-contex= t] Issues with vertical spacing in simple case

 

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

 

%\setuplayout[grid= =3Dboth]

%\enabletrackers[vspacing.synch= ronizepage]

 

\starttext

 

\dorecurse{39}{

A.

 

}

 

Chapitre.

\blank[0pt, samep= age]

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

\blank[0pt, s= amepage]

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

 

\stoptext

 

 

 

De&= nbsp;: Hans Hagen
Envoy= =C3=A9 le :vendredi 20 juillet 2018 10:51
=C3=80 : = Joseph Canedo; mailing list for ConTeXt users
Objet = ;: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.<= /p>

>

> %%%%%= %%%

>

> %\setuplayout[grid=3Dboth] % uncommenting this makes last line no= t indented.

>

> %\enabletrackers[vspacing.synchronizepage]

=

>

> \startte= xt

>

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

>

> A.<= o:p>

>

> }

>

> Chapitre.

> =

> \blank[0pt, samepage]

>

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

> =

> Second line.

>

> \blank[0pt, samepage= ]

>

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

> indented.

=

>

> \stoptex= t

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

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

a bit more clever)

 

Hans

 

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

           &nb= sp;            =             &nb= sp;      Hans Hagen | PRAGMA ADE

         &nb= sp;     Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands

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

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

 

<= p class=3DMsoNormal> 

= --_CB8B9307-A085-4042-A68A-1FDA07751F56_-- --===============2240486004366115231== 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 --===============2240486004366115231==--