As far as I can see, the default line breaking behaviour in Lilypond is roughly as follows:
"Break where forced by user (\break), add additional line breaks 'for best result'."
By issuingĀ \override NonMusicalPaperColumn.line-break-permission = ##f, this behaviour may be changed to:
"Break where forced by user (\break) and nowhere else".
Is there a way to get something like
"Break at most where allowed by user"?
I.e. I want to tell Lilypond explicitly every point at which a line break would be acceptable, but I would like the program to determine which of these places to actually use for a line break.
(Background: Files containing lots of short exercises for use in a presentation, three to eight measures each; line breaks in the middle of an exercise being undesirable, and page breaks in the middle of an exercise being a no-go.)
Best
Lukas