Hello,
I'm enjoying version 2.4 on Mac OS X. I am making some variations of an
exercise and would like to spread it out over two pages. I am not quite
happy with how it comes out and would like to insert a page break. Nothing I
seem to do has the desired effect. Reading the manual leads me to believe
that I need to place a \pageBreak command in the note data. Does this change
when one is using several \score sections within a \book block? If so where
should the command go? My file looks like this:
\version "2.4.0"
\include "english.ly"
#(set-default-paper-size "letter")
\book {
\header {
title = "Title"
}
%************************* THEME ******************************
\score {
\header {
piece = "Theme"
}
\new Staff <<
\context Voice = one {
\relative c'' {
\clef treble
\key c \major
\time 4/4
\stemUp
some notes...
\bar "|."
}
}
\context Voice = two {
\relative c' {
\key c \major
\time 4/4
\stemDown
some notes...
}
}
>>
}
%***************************** VARIATION 1 *********************************
\score {
\header {
piece = "Variation 1"
}
\new Staff <<
\context Voice = one {
\relative c'' {
\clef treble
\key c \major
\time 4/4
\stemUp
some notes...
\bar "|."
}
}
\context Voice = two {
\relative c' {
\key c \major
\time 4/4
\stemDown
some notes...
}
}
>>
%\layout { }
%\midi { }
}
%******************************** VARIATION 2 ***************************
\score {
\header {
piece = "Variation 2"
}
\new Staff <<
\context Voice = one {
\relative c'' {
\key c \major
\time 4/4
\stemUp
some notes...
\bar "|."
}
}
\context Voice = two {
\relative c' {
\key c \major
\time 4/4
\stemDown
some notes...
\bar "|." \pageBreak
}
}
>>
}
\pageBreak <<-------------here is where I would like the page break.
%******************************* VARIATION 3 ******************************
\score {
\header {
piece = "Variation 3"
}
\new Staff <<
\context Voice = one {
\relative c'' {
\key c \major
\time 4/4
\stemUp
some notes...
\bar "|."
}
}
\context Voice = two {
\relative c' {
\key c \major
\time 4/4
\stemDown
some notes...
}
}
>>
}
%***************************** VARIATION 4 ****************************
\score {
\header {
piece = "Variation 4"
}
\new Staff <<
\context Voice = one {
\relative c'' {
\key c \major
\time 4/4
\stemUp
some notes...
\bar "|."
}
}
\context Voice = two {
\relative c' {
\key c \major
\time 4/4
\stemDown
some notes...
}
}
>>
}
}
Thanks for your help.
Walter Hofmeister
_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user