>
> From: Lukas-Fabian Moser <l...@gmx.de>
> To: Paolo Prete <paolopr...@gmail.com>, lilypond-user <
> lilypond-user@gnu.org>
> Cc:
> Bcc:
> Date: Thu, 21 Oct 2021 20:07:49 +0200
> Subject: Re: question about \pageBreak
> Hi Paolo,
>
> Am 21.10.21 um 19:42 schrieb Paolo Prete:
> > is there a way to do page breaking *only* when \pageBreak is
> > explicitly used?
> > I would like to avoid to insert "\noPageBreak" commands in the score .
>
> There's \autoPageBreaksOff (which is exactly \override
> Score.NonMusicalPaperColumn.page-break-permission = ##f).
>
> But note that it still allows page breaks between scores:
>
> \version "2.22"
>
> \layout {
>    \autoPageBreaksOff
> }
>
> {
>    \repeat unfold 1000 c'4
> }
>
> {
>    \repeat unfold 1000 c'4
> }
>
> Lukas



I believe that to stop page breaks in between scores, you just need to add
\noPageBreak to the bottom of each score
Sorry, I'm still running 2.19, but this works there:


\version "2.19.83"

\layout {
   \autoPageBreaksOff
}

{
   \repeat unfold 1000 c'4
   \noPageBreak
}

{
   \repeat unfold 1000 c'4
}


HTH,

Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to