Status: Accepted
Owner: ----
Labels: Type-Ugly Warning
New issue 1914 by brownian.box: Manual page break in a user defined variable
http://code.google.com/p/lilypond/issues/detail?id=1914
Reported by Ed Gordijn,
http://lists.gnu.org/archive/html/bug-lilypond/2011-09/msg00667.html :
%------------------8<-------------------------
This is related to http://code.google.com/p/lilypond/issues/detail?id=1903
The alternative that is suggested in 1903 doesn't work when you use a
variable for the pageBreak.
See also
http://lists.gnu.org/archive/html/lilypond-user/2011-09/msg00263.html
\version "2.15.12"
mvtI = { c'4 c' c' c' }
mvtII = { d'4 d' d' d' }
myPageBreak = \pageBreak
\score {
\new Staff { \mvtI }
\header { piece = "Page 1"}
}
\myPageBreak
\score {
\new Staff { \mvtII }
\header { piece = "Should be page 2"}
}
%------------------8<-------------------------
Compiling this code also gives somewhat misleading message:
././test.ly:15:0: error: syntax error, unexpected \score, expecting
\addlyrics
while 2.12.3 gives this message:
././test.ly:13:0: error: syntax error, unexpected MUSIC_IDENTIFIER
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond