[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
page Break not working between scores
From: |
John Sellers |
Subject: |
page Break not working between scores |
Date: |
Fri, 08 Apr 2005 19:59:29 -0700 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
In Lilypond 2.4.3-1 the pageBreaks fail in certain cases. In the
incomplete fragment below, "I'm Getting Sentimental Over You" will be
split between pages instead of starting at the top of the next page if
there is not enough for all of it on the current page .
\score{
\context ChordNames
\transpose bes bes {
\key c \major
\init
\chordmode {
c2 a:m d:m g c a:m d:m g \bar "||" \break
c a:m d:m g c a:m d:m g c a:m d:m g4 f e1 e2:m g \break
c a:m d:m g c a:m d:m g c a:m d:m g4 f e1 e \break
d:m d:m e:7 e:7 d:m d:m e:7 g:7 \break
c2 a:m d:m g:7 c a:m d:m g:7 c a:m d:m g:7 c f c1 \pageBreak
}
}
\layout { \thePaper }
\midi{ \tempo 4 . = 110 }
\header { piece = "Perfidia" }
}
\score{
\context ChordNames
\transpose bes bes {
\key f \major
\init
\chordmode {
\pageBreak f1 e:7 ees d:7 g:7 c:7 f2 fis c1:dim \break
f1 e:7 ees d:7 g:7 c:7 des2 des:m f e:7 \break
a1:m a1:m f:7 e:7 e:7 e:7 a2:m aes:7 g:m c:7 \break
f1 e:7 ees d:7 g:7 c:7 f d:7 g:7 c:7 bes2 bes:m f c:7
}
}
\layout { \thePaper }
\midi{ \tempo 4 . = 110 }
\header { piece = "I'm Getting Sentimental Over You" }
}
Actually I wish there was a way to group logical chunks such that they
would automatically start on the next page if there is not enough room
for them on the current page, much like Microsoft word uses the "keep
together" option to avoid splitting paragraphs and "keep with next" to
force related material move together to the next page if there is not
enough room for all. Maybe use \keeptogether {} to group one or more
items you want on the same page, and \keepwithnext {} when you don't
want an item dangling as the last thing on a page because it is closely
related to the next item.
This would help eliminate having to manually fix up pagination from
frequent changing sizes or inserting additional material into a long
documents as I have witnessed first hand with many dealings with long
Microsoft word documents.
- page Break not working between scores,
John Sellers <=