lilypond-user
[Top][All Lists]
Advanced

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

Manual page breaks


From: Ed Gordijn
Subject: Manual page breaks
Date: Mon, 12 Sep 2011 22:08:47 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

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"}
}




reply via email to

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