I just tried Mats' example in 2.3.11, and it worked (with and without
commenting that line). I tried an example of mine that hadn't been
working, and it also worked. This prompted some more investigation.
\pageBreak appears to work perfectly within lilypond (ie "lilypond
foo.ly"),
but it fails
I made some experiments and the result seems somewhat random.
The following example shows the behaviour reported by Corinna.
\version "2.2.5"
\score{\notes\relative c'{
\repeat unfold 5 {c4 d e f g f e d c1 }
% Commenting the next line gives correct behaviour!!!
\repeat unfold 5 {c4 d e f g f e
Hello, all!
I am typesetting the Mendelssohn octet for Project Gutenberg
and I have a problem with forced pagebreaks. \newpage at the bar line where
I want a page break induces the appropriate line break, but a page break
only after the NEXT line.
I am using lilypond 2.2 on cygwin.
Thanks for you