Kieren MacMillan wrote
>>> breaksOff = \lineBreaksOff \pageBreaksOff
>>> breaksOn = \lineBreaksOn \pageBreaksOn
>> 
>> I don't think the last two lines do what you think they do.
> 
> Perhaps not. I’ve never had to use them, so I’m not sure!

Hi Kieren,  Just for the record, here you've basically done this: 

  x = y z

but that only results in x = y, with z being "run" rather than being part of
the definition of x.  (See what gets logged with the snippet below.)

Cheers,
-Paul


\version "2.18.2"

pageBreaksOff = \override Score.NonMusicalPaperColumn.page-break-permission
= ##f
pageBreaksOn = \revert Score.NonMusicalPaperColumn.page-break-permission
lineBreaksOff = \override Score.NonMusicalPaperColumn.line-break-permission
= ##f
lineBreaksOn = \revert Score.NonMusicalPaperColumn.line-break-permission
breaksOff = \lineBreaksOff \pageBreaksOff
breaksOn = \lineBreaksOn \pageBreaksOn 

\displayLilyMusic \breaksOff
\displayLilyMusic \breaksOn



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/neverBreakIf-tp167666p167683.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to