Hi Leszek!

I usually put the layout-Stuff in a separate voice, but I can imagine, this
would be a total mess when dealing with many time signature changes. This
sounds a lot like the "Invisible part" you're speaking of.

music = { c1 c c c c c }
breakVoice = { s1 s \pageBreak }
\score {
   \new Staff {<<
      \music
      \breakVoice
   >> }
}

Best regards
Christian

Am Do., 15. Okt. 2020 um 14:20 Uhr schrieb Leszek Wroński <[email protected]
>:

> Dear Experts,
>
> I would like to compile a full score and parts based on one file
> containing musical definitions. I would like to put pagebreaks in specific
> places in the full score, so that they would not operate when parts are
> compiled. The way I'm doing it now is that I put a \pagebreak in one of the
> parts and use tags. E.g. the oboe part "oboeMusic" may contain
>
> \tag #'fullscoreonly { \pageBreak }
>
> And in the full score the part figures in the score as
> \keepWithTag #'fullscoreonly \oboeMusic
>
> while in the part file the part is compiled as
>   \removeWithTag #'fullscoreonly \oboeMusic
>
> I don't really like this solution; it's just not tidy... and I have to
> remember which part I put the page breaks in. Are there any established
> Lilypond practices for doing this? Is it e.g. possible to introduce some
> sort of 'invisible part' on top of the rest which would just be used for
> editorial stuff like this?
>
> Thanks in advance!
>
> Leszek Wronski.
>

Reply via email to