On 7/29/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote:
> Trevor Baca wrote:
> > Hello,
> >
> > Tuplets don't ever break over lines currently (unless I'm misreading
> > the code, or just haven't dug enough yet).
> 
> I'm pretty sure they do. What's the problem?

If we compare

\score {
   \new StaffGroup <<
      \new Staff {\clef treble e'2 e' | e' e'}
      \new Staff {\clef bass
         c'4 c' c' c' \break | % this break does what we expect 
         c' c' c' c'}
   >>
   \layout {raggedright = ##t}
}

... with ...

\score {
   \new StaffGroup <<
      \new Staff {\clef treble \times 4/5 {e'2 e' e' e' e'}}
      \new Staff {\clef bass
         c'4 c' c' c' \break | % this break doesn't 
         c' c' c' c'}
   >>
   \layout {raggedright = ##t}
}

... both under 2.7.0., we see that the \break in the first example
takes perfectly; the break in second example doesn't take at all (I'm
assuming because of the tuplet in the treble).

Another good test case:

\score {
   \new Staff {
      \clef treble
      \time 4/4
      c'4 c'4
      \repeat unfold SOME_LARGE_NUMBER_HERE {\times 4/5 {d'4 d'4 d'4 d'4 d'4}}
      c'4 c'4
   }
}

Plugging 20 or 30 into the unfold causes squashing. It appears that
the spacing engine won't *ever* break into the middle of the one of
the tuples (so no line break at all, no matter how long the line).

But I'm probably missing something obvious; is there a circumstance
under which tuplet brackets do break??

Trevor.


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to