From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101273 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: Wed, 18 Jul 2018 22:33:44 +0200 Message-ID: <5b4fa427.1c69fb81.f14db.41eb@mx.google.com> References: <5b4e6111.1c69fb81.e885b.8caf@mx.google.com> <33c6d509-cb3b-eb28-8173-69114558ec95@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3431774570908887992==" X-Trace: blaine.gmane.org 1531945935 17914 195.159.176.226 (18 Jul 2018 20:32:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2018 20:32:15 +0000 (UTC) To: Hans Hagen , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 18 22:32:10 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 1fft7H-0004Wr-6a for gctc-ntg-context-518@m.gmane.org; Wed, 18 Jul 2018 22:32:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CC23448D6; Wed, 18 Jul 2018 22:33:57 +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 zVBELap5O6wX; Wed, 18 Jul 2018 22:33:56 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9B5A1448D8; Wed, 18 Jul 2018 22:33:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 809E9448D8 for ; Wed, 18 Jul 2018 22:33:55 +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 2KQRH-I4vicz for ; Wed, 18 Jul 2018 22:33:54 +0200 (CEST) Original-Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 AC9B1448D6 for ; Wed, 18 Jul 2018 22:33:44 +0200 (CEST) Original-Received: by mail-wr1-f50.google.com with SMTP id q10-v6so5914417wrd.4 for ; Wed, 18 Jul 2018 13:33:44 -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=+3r9XqjzXt6ROzblpe8MDhxeCBRrx1/EmNyhUc1XNeg=; b=kND7SgTdKUVJNBXvgHZmgkgYUDAW80YGAWv7NJqqoSKWOuHvV2lmp3fZjvE1G1IlJ6 Syc7w3uBCGMHiC0lFyhAos3FdZUfjs/WI8pbFWQyXaaob5gqNC+NpKjcs9zUbO3jq99F WravtPI9wuw4127rswtJxj4WL11ai2PDEuE6/NyY7VZkNGwpllBw075tQSD4zdpswVAg 8eEHW4CZDovHVdlriLDN06LyKtQ5fAAmw8Q/DYrF4xIRv70Thv9WbHEyvqON74q4d5wF 3v3fU7OwKApRXI9rJvMEBNcguatApayJ7sHlEqUxc7UanQiwy0bBGyxGDoIXWSqFvFuy Ddpg== 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=+3r9XqjzXt6ROzblpe8MDhxeCBRrx1/EmNyhUc1XNeg=; b=uNLessKrib++GA7zc7lip65Se41++asXmTrmZcfNIcyCzlb7f3uwgkkhmlQMbBO8L9 whQ80B/aJuSbgm9EM6X/RIFCzq3Ofr2KQ/RHuFntVlWdPW7sydp+IQKpfL6CSjM9ZQd3 pn2AEQbxfENF/wHUvk8gbZSJwl6R4UDksTQg9Wv2DxapHLZF9ZeaJeBiTNmw5VtdAKSg Isw/c2Vma9HA1Vv96uIQRDGPghrMm2S97bFHmOb6QgprEt6Jl+77/A8s+adDHTd5NfAp AVfjcL5oBDkWFr+yzU71NqxDHcQwboHmDPEMH8wWB32fveiLJG7XTI3XagDj6oW8h67u +QVA== X-Gm-Message-State: AOUpUlFmohmnf7K1zKP1WZw9WFWFAPCpdJIYOyg+HGLbYw/OYl3YTYbg TDzodRtT4QOqGeReRCxm8w8= X-Google-Smtp-Source: AAOMgpdoxqVI5WoewqPZ46HDU333tqbz2y+xCGzhYHSPvMWAb8kdJjrro/pJEUw3N9qfIo0KTBHXIQ== X-Received: by 2002:adf:a401:: with SMTP id d1-v6mr5363157wra.121.1531946024238; Wed, 18 Jul 2018 13:33:44 -0700 (PDT) Original-Received: from ?IPv6:2a01:cb00:68e:300:4c62:45f2:ac44:f178? (2a01cb00068e03004c6245f2ac44f178.ipv6.abo.wanadoo.fr. [2a01:cb00:68e:300:4c62:45f2:ac44:f178]) by smtp.gmail.com with ESMTPSA id h5-v6sm796244wre.46.2018.07.18.13.33.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 13:33:43 -0700 (PDT) Importance: normal X-Priority: 3 In-Reply-To: <33c6d509-cb3b-eb28-8173-69114558ec95@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:101273 Archived-At: --===============3431774570908887992== Content-Type: multipart/alternative; boundary="_4B52F7C8-4B1C-428D-8A80-D9670FD2AD5F_" --_4B52F7C8-4B1C-428D-8A80-D9670FD2AD5F_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Thanks Hans. Picked up today beta and some code I have relying on value of tex.prevgraf = starts breaking. This is lettrine related code that sets hangafter for 1st = paragraph and eventually subsequent if lettrine is larger than 1st par. I see the function vspacing.synchronizepage() sets prevgraf value I guess t= o avoid bleeding also paragraph lines. Is there any possibility to get original unchanged tex.prevgraf value, poss= ibly using some callback or some other tex.=C2=A0?=20 Thanks Joseph De=C2=A0: Hans Hagen Envoy=C3=A9 le=C2=A0:mercredi 18 juillet 2018 11:11 =C3=80=C2=A0: mailing list for ConTeXt users; Joseph Canedo Objet=C2=A0:Re: [NTG-context] Issues with vertical spacing in simple case On 7/17/2018 11:35 PM, Joseph Canedo wrote: > Dear list, >=20 > Trying to build a MWE for a problem with unexpected page break (near a=20 > \blank[line, samepage]) I could not yet reproduce yet, I came up with=20 > strange output. >=20 > With latest beta >=20 > mtx-context=C2=A0=C2=A0=C2=A0=C2=A0 | current version: 2018.07.17 17:25 >=20 > MWE=C2=A0: >=20 > \starttext >=20 > \dorecurse{5}{ >=20 > \input knuth >=20 > \blank[line, samepage]Second. >=20 > \input zapf >=20 > \blank[line, samepage]Second maybe vertically wrong align? >=20 > } >=20 > \stoptext >=20 > Please see in page 2, the line printing=C2=A0: Second maybe vertically wr= ong=20 > align? (topskip=C2=A0related?) >=20 > Seems very close to next line for an unknown reason to me. The next beta will have a fix. The problem is that tex's prevdepth=20 bleeds over into a next page so i try to deal with that ... it's=20 sometimes hard to take all into accoutn that needs to (esp when there is=20 interferences). 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 ----------------------------------------------------------------- --_4B52F7C8-4B1C-428D-8A80-D9670FD2AD5F_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Thanks Hans.

<= o:p> 

Picked up today beta and some code= I have relying on value of tex.prevgraf starts breaking. This is lettrine = related code that sets hangafter for 1st paragraph and eventually subsequen= t if lettrine is larger than 1st par.

I see the fun= ction vspacing.synchronizepage() sets prevgraf value I guess to avoid bleed= ing also paragraph lines.

 

Is there any possibility to get original unchanged tex.pre= vgraf value, possibly using some callback or some other tex.<Something&g= t; ?

 

Thanks

 

= Joseph

 

De&= nbsp;: Hans Hagen
Envoy= =C3=A9 le :mercredi 18 juillet 2018 11:11
=C3=80 : = mailing list for ConTeXt users; <= a href=3D"mailto:josephcanedo@gmail.com">Joseph Canedo
Objet = ;:Re: [NTG-context] Issues with vertical spacing in simple case

 

On 7/17/20= 18 11:35 PM, Joseph Canedo wrote:

> Dear list,

>

> Trying to build a= MWE for a problem with unexpected page break (near a

> \blank[line, samepage]) I could not yet reproduce yet, I came up w= ith

> strange output.

&= gt;

> With latest beta

= >

> mtx-context     | cu= rrent version: 2018.07.17 17:25

>

> MWE :

>

> \starttext

>

> \dorecurse{5}{

>

> \input knuth

>

&= gt; \blank[line, samepage]Second.

>

> \input zapf

>

> \blank[line, samepage]Second maybe vertically wrong align?

>

> }

>

> \stoptext

>

> Please see in page 2, the line printin= g : Second maybe vertically wrong

> align?= (topskip related?)

>

> Seems very close to next line for an unknown reason to me.

 

The next beta wi= ll have a fix. The problem is that tex's prevdepth

bleeds over into a next page so i try to deal with that ... it's

sometimes hard to take all into accoutn that needs to (esp = when there is

interferences).

 

Hans

=  

 

-----------------------------------------------------------------<= /p>

=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=A0Hans Hagen | PRAGMA A= DE

=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 | Th= e 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

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

 

= --_4B52F7C8-4B1C-428D-8A80-D9670FD2AD5F_-- --===============3431774570908887992== 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 --===============3431774570908887992==--