@end ignore
+@item
+Page breaking and page turning commands (@code{\pageBreak},
+@code{\noPageBreak}, etc) can be used at top-level, between scores and
+top-level markups.
+
@item
The following options are now changed as a @code{-d} sub-option:
@code{--backend}, @code{--safe}, @code{--preview} and
from happening. Of course, the @code{\pageBreak} command also forces
a line break.
+The @code{\pageBreak} and @code{\noPageBreak} commands may also be
+inserted at top-level, between scores and top-level markups.
+
Page breaks are computed by the @code{page-breaking} function.
LilyPond provides two algorithms for computing page
breaks, @code{ly:optimal-breaking} and @code{ly:page-turn-breaking}. The
@code{minimumRepeatLengthForPageTurn} then the @code{Page_turn_engraver} will
only allow turns in repeats whose duration is longer than this value.
+The page turning commands, @code{\pageTurn}, @code{\noPageTurn} and
+@code{\allowPageTurn}, may also be used at top-level, between scores and
+top-level markups.
+
+@refcommands
+
+@funindex \pageTurn
+@code{\pageTurn}
+@funindex \noPageTurn
+@code{\noPageTurn}
+@funindex \allowPageTurn
+@code{\allowPageTurn}
+
@refbugs
There should only be one @code{Page_turn_engraver} in a score. If there is more
\version "2.11.19"
\header {
- texidoc = "Page breaks work when they are placed at the end of a score."
+ texidoc = "Page breaks work when they are placed at the end of a score,
+or between scores."
}
#(set-default-paper-size "a6")
\score {
{a b c' d'}
}
+ \pageBreak
+ \score {
+ {a b c' d'}
+ }
}
--- /dev/null
+\version "2.11.24"
+
+\header {
+ texidoc = "Page breaking and page turning commands (@{\\pageBreak},
+@code{\\noPageBreak}, etc), can be used at top level."
+}
+
+#(set-default-paper-size "a6")
+\paper{ #(define page-breaking ly:page-turn-breaking) }
+
+{ c'1 \break c'_\markup \typewriter "\\allowPageTurn" }
+\allowPageTurn
+{ e'1 \break e'_\markup \typewriter "\\pageBreak \\noPageTurn" }
+\pageBreak
+\noPageTurn
+{ g'1 \break g' }