On Wed, Jul 30, 2025 at 2:21 PM Dirck Nagy <[email protected]> wrote:
> Dear Lilypond,
>
> I am trying to engrave a "book" of pieces by a single composer. I was
> hoping that using \bookpart would make controlling print layout easier.
>
I've attached three files that give you a very stripped down version of how
you could use include files and bookparts to create your book. Basically,
you create the music in score-one.ly and score-two.ly, then print them with
book-example.ly. The nice thing about this arrangement is that you can
still print the individual pieces very easily. I hope that helps.
--
Knute Snortum
\version "2.24.4"
rightHand = \relative {
d'1
}
leftHand = \relative {
\clef bass
d1
}
scoreTwo = \score {
\new PianoStaff <<
\new Staff \rightHand
\new Staff \leftHand
>>
}\version "2.24.4"
\include "score-one.ly"
\include "score-two.ly"
\bookpart {
\scoreOne
}
\bookpart {
\scoreTwo
}
\version "2.24.4"
rightHand = \relative {
c'1
}
leftHand = \relative {
\clef bass
c1
}
scoreOne = \score {
\new PianoStaff <<
\new Staff \rightHand
\new Staff \leftHand
>>
}