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 to avoid bleeding also paragraph lines.

 

Is there any possibility to get original unchanged tex.prevgraf value, possibly using some callback or some other tex.<Something> ?

 

Thanks

 

Joseph

 

De : Hans Hagen
Envoyé le :mercredi 18 juillet 2018 11:11
À : mailing list for ConTeXt users; Joseph Canedo
Objet :Re: [NTG-context] Issues with vertical spacing in simple case

 

On 7/17/2018 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 with

> strange output.

>

> With latest beta

>

> mtx-context     | current version: 2018.07.17 17:25

>

> MWE :

>

> \starttext

>

> \dorecurse{5}{

>

> \input knuth

>

> \blank[line, samepage]Second.

>

> \input zapf

>

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

>

> }

>

> \stoptext

>

> Please see in page 2, the line printing : Second maybe vertically wrong

> align? (topskip related?)

>

> 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

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

 

 

-----------------------------------------------------------------

                                           Hans Hagen | PRAGMA ADE

               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

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

-----------------------------------------------------------------