Hello list,

I have written a document with a number of pieces within a single \book block. 
Each piece is a separate \score. I'm now working on an even density of the 
systems, so the document looks nice as a whole. I have one problem here:

For some pieces I have set a fixed system-count to override lilypond’s 
default, also I have a \pageBreak between all pieces except between 2 and 4. 
This yields the result on the left of the screenshot. It's almost perfect, 
except for piece 9, which is only three systems big with (relatively) much 
space in between. So I tried if it could be 4 systems long and it can.

However, for some reason, when I do so it messes up piece 2. Although it is 
two manual \pageBreaks apart, it is influenced by this one system-count and 
its systems are spread across one additional page (though its system count 
remains the same). You can see the result on the right column of the screenie.


Each piece is stored in a separate file. Those piece files contain the music 
in the form of

\partone=\new ChoirStaff
<<
                \staffone
                \lyricstostaffone

                \stafftwo
                \lyricstostafftwo

                etc...
>>

without any additional \layout information, only the occasional \break. The 
main file has the scores and directly \includes the pieces into them.

Do you have any idea why piece 2 is influenced by piece 9? And -- more 
importantly -- a way to solve this mystery?
-- 
Gruß | Greetings | Qapla'
I forbid the use of any of my addresses with facebook services.

The number you dialed is imaginary.
Please rotate your phone by 90 degrees and try again.
\book {
	\header {
		title = "Oratorio de Noël"
		composer = "Camille Saint-Saëns"
		opus = "Op.12"
		tagline = ##f
	}
	\paper {
		oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page \fromproperty #'page:page-number-string "" }
		evenHeaderMarkup= \markup \fill-line { "" \on-the-fly #not-first-page \fromproperty #'page:page-number-string }
	}

	\pageBreak
	\tocItem \markup "2. Récit et Chœur"
	\score {
		\keepWithTag #'chor
		\partzwo
		\header {piece=\markup\column{"2. Récit et Chœur" \null} }
		\layout{
			\context {
				\RemoveEmptyStaffContext
				\override VerticalAxisGroup #'remove-first = ##t
			}
		}
	}

	%\pageBreak
	\tocItem \markup "4. Chœur"
	\score {
		\keepWithTag #'chor
		\partvier
		\header {piece="4. Air et chœur"}
		\layout{
			\context {
				\RemoveEmptyStaffContext
				\override VerticalAxisGroup #'remove-first = ##t
			}
			system-count = 3
		}
	}

	\pageBreak
	\tocItem \markup "6. Chœur"
	\score {
		\partsechs
		\header {piece="6. Chœur"}
		\layout {
			system-count = #8
		}
	}

	\pageBreak
	\tocItem \markup "9. Quintette et Chœur"
	\score {
		\keepWithTag #'chor
		\partneun
		\header {piece="9. Quintette et Chœur"}
		\layout {
			system-count = 4
		}
	}
	\pageBreak
	\tocItem \markup "10. Récit et Chœur"
	\score {
		\partzehn
		\layout {
			system-count = #4
		}
		\header {piece=\markup\column{"10. Chœur" \null} }
	}
}

<<attachment: screenie.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to