I am top posting.

Added as http://code.google.com/p/lilypond/issues/detail?id=1133

--
Phil Holmes
Bug Squad


"Kieren MacMillan" <kieren_macmil...@sympatico.ca> wrote in message news:blu0-smtp58268c6ce3beff247361f294310__47436.1626235352$1268365688$gmane$...@phx.gbl...
Hi Phil,

I know it can be worked around with \break, but as a general rule it shouldn't be necessary to do this.

Here's a snippet to consider:

\version "2.12.3"
#(set-global-staff-size 17)

\paper { indent = 0 }

\score {
 {
   \clef "treble"
   \time 4/4
   \repeat "unfold" 31 { b'4 }
b'4^\markup { \normalsize \italic "Some text to test linebreaking calculation" }
   \repeat "unfold" 40 { b'4 }
   \bar "|."
 }
}

\score {
 {
   \override Score.PaperColumn #'keep-inside-line = ##t
   \clef "treble"
   \time 4/4
   \repeat "unfold" 31 { b'4 }
   b'4^\markup { \normalsize \italic "Some text to test" }
   \repeat "unfold" 40 { b'4 }
   \bar "|."
 }
}

\score {
 {
   \override Score.PaperColumn #'keep-inside-line = ##t
   \clef "treble"
   \time 4/4
   \repeat "unfold" 31 { b'4 }
   b'4^\markup { \normalsize \italic "Some text to test linebreaking" }
   \repeat "unfold" 40 { b'4 }
   \bar "|."
 }
}

\score {
 {
   \override Score.PaperColumn #'keep-inside-line = ##t
   \clef "treble"
   \time 4/4
   \repeat "unfold" 31 { b'4 }
b'4^\markup { \normalsize \italic "Some text to test linebreaking calculation" }
   \repeat "unfold" 40 { b'4 }
   \bar "|."
 }
}

I think the third example is a "bug": if the markup/tempo/rehearsalmark is going to cause the spacing to be so poor, the line should automagically break so that the item happens "mid-system" (like the last example).

Cheers,
Kieren.


--
Phil Holmes

<TextStaff.pdf><TextStaff.ly>_______________________________________________
lilypond-user mailing list
lilypond-u...@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to