I’ve modified the MWE to avoid the \\ and it shows same problem. I’ve 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 
particular case for last par. Other cases seem to work fine.

%\setuplayout[grid=both]
%\enabletrackers[vspacing.synchronizepage]

\starttext

\dorecurse{39}{
A.

}

Chapitre.
\blank[0pt, samepage]
\hangindent=30pt\hangafter=-2Third par with some lengthy sentence. Second 
sentence. Third sentence. Fourth sentence. Fifth sentence.
\blank[0pt, samepage]
\hangindent=30pt\hangafter=-2 Fourth par not indented. Lengthy sentence. Second 
sentence. Third sentence. Fourth sentence. Fifth sentence.

\stoptext



De : Hans Hagen
Envoyé le :vendredi 20 juillet 2018 10:51
À : 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.
> 
> %%%%%%%%
> 
> %\setuplayout[grid=both] % uncommenting this makes last line not indented.
> 
> %\enabletrackers[vspacing.synchronizepage]
> 
> \starttext
> 
> \dorecurse{39}{ % other values like 40 do not show issue
> 
> A.
> 
> }
> 
> Chapitre.
> 
> \blank[0pt, samepage]
> 
> \hangindent=30pt\hangafter=-2Third par.\\
> 
> Second line.
> 
> \blank[0pt, samepage]
> 
> \hangindent=30pt\hangafter=-2 Fourth par not indented.\\ Second line not 
> indented.
> 
> \stoptext
it's probably more related to the wrong 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

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to