lilypond-user
[Top][All Lists]
Advanced

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

Re: neverBreakIf


From: Trevor Daniels
Subject: Re: neverBreakIf
Date: Sun, 19 Oct 2014 18:27:20 +0100

Kieren you wrote Sunday, October 19, 2014 6:13 PM

> However, I think there’s still a problem, the one David K alluded to (but 
> never actually described) earlier in this thread:
>
> \version "2.18.2"
>
> pageBreaksOff = \override Score.NonMusicalPaperColumn.page-break-permission = 
> ##f
> pageBreaksOn = \override Score.NonMusicalPaperColumn.page-break-permission = 
> #'allow
> lineBreaksOff = \override Score.NonMusicalPaperColumn.line-break-permission = 
> ##f
> lineBreaksOn = \override Score.NonMusicalPaperColumn.line-break-permission = 
> #'allow
> breaksOff = { \lineBreaksOff \pageBreaksOff }
> breaksOn = { \lineBreaksOn \pageBreaksOn }
>
> \displayLilyMusic \breaksOff
> \displayLilyMusic \breaksOn
>
> gives
>
> programming error: system with empty extent
> continuing, cross fingers
> programming error: system with empty extent
> continuing, cross fingers

That's because the commands must be within a score block to work correctly.
I've written the docs to indicate that.

This works fine:

\score {
  {
    \displayLilyMusic \breaksOff
    \displayLilyMusic \breaksOn
  }
}

Trevor

reply via email to

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