\version "2.9.8" \header{ texidoc="The optimal breaker will put a page turn after a rest unless there is a 'special' barline within the rest. " } \paper { #(define page-breaking ly:optimal-breaking) paper-height = #70 } \relative c' { a b c d a b c d \break c d e f c d e f R1*4 \repeat unfold 15 {d4 e f g} \break c d e f c d e f R1*2 \bar "||" R1*2 \repeat unfold 15 {d4 e f g} }