Hi Xavier,
Ok, this could be a bug but I was looking for an alternative. Maybe I
would better call it a work arround.
I was trying to use a top-level page break. Is there any reason why this
doen't work?
\version "2.15.10"
% instrument.ly
mvtI = { c'4 c' c' c' }
mvtII = { d'4 d' d' d' }
mvtIII = { e'4 e' e' e' }
pageBreakBeforeII = \pageBreak
% part.lyi (identical for all instruments)
\score {
\new Staff { \mvtI }
\header { piece = "Movement I"}
}
% \pageBreak
% top level page break does what it should do but not when used
% as a user defined variable
\pageBreakBeforeII
\score {
\new Staff { \mvtII }
\header { piece = "Movement II"}
}
\score {
\new Staff { \mvtIII }
\header { piece = "Movement III"}
}
Greetings, Ed
Op 14-09-11 22:44, Xavier Scheuer schreef:
Looks like a valid bug report.
Fwd to bug- (it was originally sent to -user).
On 12 September 2011 22:08, Ed Gordijn<ed.klari...@gmail.com> wrote:
Hi List,
I am working on a piece with three movements. I organized my score in
different files, for the tiny-example let's say two. The fist file is
instrument.ly and the second part.lyi. I have different instruments and
therefore multiple instrument.ly files but I want to use just a single
part.lyi. So far nothing special. But I can't find a way to insert
pagebreaks between the movements in my instrument.ly. I don't want fixed
page breaks in part.lyi because of the differences in length of the
instrument scores.
In the tiny example I tried to get Movement I on the first page and Movement
II and III together on a second page. But the \pageBreak is ignored.
How does this work?
Greetings, Ed
%%% Tiny example %%%
\version "2.15.10"
% instrument.ly
mvtI = { c'4 c' c' c' \pageBreak }
mvtII = { d'4 d' d' d' }
mvtIII = { e'4 e' e' e' }
% part.lyi (identical for all instruments)
\score {
\new Staff { \mvtI }
\header { piece = "Movement I"}
}
\score {
\new Staff { \mvtII }
\header { piece = "Movement II"}
}
\score {
\new Staff { \mvtIII }
\header { piece = "Movement III"}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Cheers,
Xavier
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user