lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about \pageBreak


From: Flaming Hakama by Elaine
Subject: Re: question about \pageBreak
Date: Fri, 22 Oct 2021 11:06:24 -0700

From: Lukas-Fabian Moser <lfm@gmx.de>
To: Paolo Prete <paolopr976@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"
elaine@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]