[NTG-context] Section head placement wrong when the after key is used

Pablo Rodriguez oinos at gmx.es
Thu Nov 19 16:53:52 CET 2020

On 11/19/20 11:55 AM, Marco Patzer wrote:
> Hi!
> [...]
> What's the reason the section head stays on the previous page when
> the “after” is used and how to fix this?

Hi Marco,

by default (according to strc-def.mkiv), \section has "after=\blank".

In some cases, I had used "after={”\blank[samepage, medium]}" to prevent
similar issues.

In this case, a nasty trick could be "after={”\blackrule\blank[samepage,

Just in case it helps,


More information about the ntg-context mailing list