(Disclosure: I posted this question on the NTG ConTeXt mailing list before the weekend. I have not received any replies yet, so now I'm asking here.)

We have a document where a gap occurs in a columnset under certain conditions. It seems to be a confluence of:

  • 2 sections, each with 2-column columnsets
  • The first section ends in the first column of an even page, or the second column of an odd page.
  • the 2nd section has a tighter interline space (which we normally accompany with a smaller font setting, but that's not required to exercise the bug)

The symptom of the problem is that on the first page of the second section, a gap appears (where gridlines 50 and 51 are, if you turn on \showgrid).

Screenshot of the problem: Gap across first page of second section

It may be a coincidence, but 50 is also the number of lines per page in the first section. We've found that "coincidence" to be true even with different page and font sizes.

Can anyone tell us a way to get rid of the gap? We've tried things like


with various values for the last parameter, but nothing helps.

Below is a small, self-contained sample. We're using mkii, but a similar gap appears when we use mkiv.

Version information:

This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
(format=cont-en 2012.11.14)  13 SEP 2013 11:38
ConTeXt  ver: 2012.05.30 11:26 MKII  fmt: 2012.11.14  int: english/english

The example document:




    \dorecurse {7} { \input knuth } 

    \dorecurse {10} { \input knuth }


Many thanks... We are nearing the finish line on this long project, but have not been able to find a workaround for this problem.

  • 1
    I can neither reproduce your problem with a current MkIV/MkII, nor with an old version from 2011.05.18.
    – Marco
    Sep 16 '13 at 13:52
  • 2
    @Marco on my machine the same gap occurs both with the beta and TL 2013 (MkII and MkIV). Sep 16 '13 at 14:20
  • 1
    @LarsH the issue appears to be independent of the grid since it occurs with \setuplayout [grid=no]. If you want lines to adhere to a tighter line spacing you will have to set a smaller font size, (the default one is 12pt I think) e.g. \setupbodyfont [7pt] gets you the desired baseline skip and decent leading. Doesn’t make the gap disappear, though. Sep 16 '13 at 14:24
  • 2
    @LarsH For a written statement you will have to ask Hans himself. Bugs in MkII are still fixed but development has stalled: features are neither added nor being backported from MkIV. Sep 16 '13 at 19:45
  • 5
    I'm voting to close this question as off-topic because the issue is no longer reproducible (neither with the latest beta 2019.01.07 16:10 nor with TeX Live 2018 2018.04.04 00:51). Jan 10 '19 at 4:33