%% The page breaking algorithm doesn't calculate well.
%%
%% LilyPond thinks that the following piece doesn't fit on one page,
%% but if you uncomment the page break prohibition,
%% you can see that there is enough space for everything...

\version "2.11.34"
\paper{ ragged-right = ##t }
Melody = \relative c' {
  c2 c | c c | c c | \break c2 c | c c | c c | \break
  c2 c | c c | c c | \break c2 c | c c | c c | \break
  c2 c | c c | c c
}
Words = \lyricmode{
  bla bla bla bla bla bla bla bla bla bla bla bla
  bla bla bla bla bla bla
}
\score
{
  \new Score
%  \with { \override NonMusicalPaperColumn #'page-break-permission = ##f }
  {
    \context StaffGroup
    <<
      \new Staff{\Melody}
      \addlyrics{\Words}
      \new Staff{\Melody}
      \addlyrics{\Words}
      \new Staff{\Melody}
      \addlyrics{\Words}
    >>
  }
}

<<attachment: pageBreaking.png>>

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to