ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* space before section titles sometimes disappears in grid mode
@ 2021-08-12 13:59 Henning Hraban Ramm via ntg-context
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm via ntg-context @ 2021-08-12 13:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-12 13:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 13:59 space before section titles sometimes disappears in grid mode Henning Hraban Ramm via ntg-context

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