> It appears that the \sectionLabel command does not reserve enough
> space in the pagebreaking algorithm for a label that contains a
> column markup.  It seems to save only enough space for a single row
> of text.  Then when it gets to the final page layout, it tries to
> fit everything on the page and ends up overcrowding things.
> 
> In contrast, a straight \markup command reserves enough space and
> avoids the overcrowding.
> 
> Once I get some feedback here on the user list, I'll post an issue
> on GitLab.

Yeah, it seems that this is the case.  Can you try an unpure-pure
container to get a better vertical space estimate for `Y-extent`?  See

  
https://lilypond.org/doc/v2.25/Documentation/extending/unpure_002dpure-containers

BTW, here is a cleaned-up version of your example.

```
\version "2.25.29"

<<
  \new ChordNames {
    \repeat unfold 40 { c1 \repeat unfold 5 c1 }
  }

  \new Staff <<
    \repeat unfold 40 { c''1 \repeat unfold 5 c''1 }
    \repeat unfold 40 {
      s1
      % comment out this line and uncomment the next one
      % to see that markup works properly
      \sectionLabel \markup \column { "A" "b" "C" }

      % uncomment this line and comment out the next one
      % to see that sectionLable with a column argument
      % doesn't reserve enough space
      % ^\markup \column { "A" "b" "C" }

      \repeat unfold 5 s1
    }
  >>
>>
```


    Werner

Reply via email to