bug-lilypond
[Top][All Lists]
Advanced

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

Issue 277 in project lilypond


From: codesite-noreply
Subject: Issue 277 in project lilypond
Date: Mon, 05 Feb 2007 11:37:46 -0800

Issue 277: Bus error with page-break-permission + line-break-permission + 
ragged-right
http://code.google.com/p/lilypond/issues/detail?id=277

Comment #2 by trevorbaca:
Taking control of spacing by hand entails line- and page-breaking only at 
specified
points.

The right way to do this should be to set both page- and line-break-permission 
to ##f
and then add in a "breaks" voice, like this example, which works 
great:

%%% BEGIN %%%

\version "2.11.16"

\paper { ragged-bottom = ##t }

\layout { ragged-right = ##t }

\new Score \with {
   \override NonMusicalPaperColumn #'line-break-permission = ##f
   \override NonMusicalPaperColumn #'page-break-permission = ##f
} {
   \new Staff <<
      \new Voice {
         s1 * 3 \break
         s1 * 5 \break
         s1 * 6 \break
         s1 * 8 \break
         s1 * 1 \break
         s1 * 4 \pageBreak
         s1 * 3 \break
         s1 * 8 \break
         s1 * 8 \break
         s1 * 4 \break
      }
      \repeat unfold 50 {
         c'4 c'4 c'4 c'4
      }
   >>
}

%%% END %%%


However, if we unfold 70 measures (instead of 50) then a bus error results.

Why?

The correct behavior should be for there to be one very long line that simply 
extends
off the right edge of the page, waiting for the user to go back and add to the
"breaks" voice at a later time.



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




reply via email to

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