ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Joseph Canedo <josephcanedo@gmail.com>
To: Hans Hagen <j.hagen@xs4all.nl>,
	 mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Issues with vertical spacing in simple case
Date: Sat, 21 Jul 2018 00:01:21 +0200	[thread overview]
Message-ID: <5b525bb1.1c69fb81.de774.af1d@mx.google.com> (raw)
In-Reply-To: <5d4aae99-bb78-14de-2b23-1138e7aee0e5@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2071 bytes --]

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
-----------------------------------------------------------------


[-- Attachment #1.2: Type: text/html, Size: 5352 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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	other threads:[~2018-07-20 22:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 21:35 Joseph Canedo
2018-07-17 22:03 ` Hans Hagen
2018-07-18  9:10 ` Hans Hagen
2018-07-18 20:33   ` Joseph Canedo
2018-07-18 22:00     ` Hans Hagen
2018-07-19  6:55       ` Joseph Canedo
2018-07-19  7:35         ` Hans Hagen
2018-07-19 20:26           ` Joseph Canedo
2018-07-19 20:52             ` Joseph Canedo
2018-07-20  8:51               ` Hans Hagen
2018-07-20 22:01                 ` Joseph Canedo [this message]
2018-07-26 20:57                   ` Joseph Canedo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b525bb1.1c69fb81.de774.af1d@mx.google.com \
    --to=josephcanedo@gmail.com \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).