On 03/11/2012 11:42 AM,
address@hidden wrote:
On Mar 11, 2012, at 11:40 AM, Peter O'Doherty wrote:
Hi,
Another question concerning tuplets:
\remove "Forbid_line_break_engraver"
\override Beam #'breakable = ##t
Try adding:
\override TupletBracket #'breakable = ##t
Cheers,
MS
Sorry, that doesn't work. Still getting
warning: forced break was overridden by some other event, should you be using bar checks?
Hi Peter,
I think somewhere earlier in the thread it was mentioned that Forbid_line_break_engraver lives in the *Voice* context (and not in the Staff or Score contexts).
So this does this what you want:
\version "2.15.34"
upper = {
\clef "treble"
\time 4/8
c'8 c'8 c'8 c'8
c'8 c'8 c'8 c'8
c'8 c'8 c'8 c'8
c'8 c'8 c'8 c'8
}
lower = {
\clef "bass"
\times 4/5 { c8[ c8 c8 c8 c8] }
\times 5/6 { c8[ c8 c8 c8 c8 \bar "" \break c8] }
\times 3/4 { c8[ c8 c8 c8] }
\times 4/5 { c8 c8 c8 c8 c8 }
}
\score {
\new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "upper" \lower
>>
\layout {
\context {
\Score
\override Beam #'breakable = ##t
}
\context {
\Voice
\remove "Forbid_line_break_engraver"
}
}
}
HTH,
Trevor.