ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: space before section titles sometimes disappears in grid mode
Date: Thu, 12 Aug 2021 15:59:26 +0200	[thread overview]
Message-ID: <2970DC26-A126-4465-B730-4BC121C98074@fiee.net> (raw)

E.g. in CG journal, there are usually 3 blank lines before a section title.
Most of it is single column and without grid, no problem there. But some articles use columnsets and are therefore in grid mode.

Sometimes the space before the section title disappears completely, so that it is glued to the previous paragraph.

If I include \startlinecorrection in "before" of \setuphead[section], in front of the \blank, the space is only reduced by 1 line, but I get the space also at the top of a column (or at the start of the article).

If I put \startlinecorrection after \blank, the space disappears the same as without linecorrection.

\setuphead[section]
  [before={\startlinecorrection\blank[BigCGblank]},
   after={\stoplinecorrection\blank[CGblank]},
   grid=both,
  ]

It happens reproducably if there is a float before \startsection, but sometimes I can’t find a reason.

In the other magazine I’m typesetting ATM, I get the same problem. No columnsets involved in that case, but still in grid mode.
There I can "fix" it with some \blank[3*line], but it doesn’t help in the floats case.

Hraban
___________________________________________________________________________________
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:[~2021-08-12 13:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2970DC26-A126-4465-B730-4BC121C98074@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /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).