bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1914 in lilypond: Manual page break in a user defined variable


From: lilypond
Subject: Issue 1914 in lilypond: Manual page break in a user defined variable
Date: Thu, 22 Sep 2011 08:07:24 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]