--- /dev/null
+
+\version "2.10.0"
+
+\header {
+
+ texidoc = "In cue notes, Tuplet stops are handled before new tuplets
+ start."
+
+}
+
+foo = \relative {
+ \times 2/3 { c4 c c } \times 2/3 { c4 c c }
+}
+
+\addquote "foo" { \foo }
+
+\paper {
+ ragged-right = ##t
+}
+
+\new Staff
+<<
+ \new Voice \transpose c c' {
+ \override Stem #'direction = #UP
+ \foo
+ }
+ \new Voice {
+ \cueDuring #"foo" #DOWN { s1 }
+ }
+>>
+
protected:
vector<Tuplet_description> tuplets_;
+ vector<Tuplet_description> new_tuplets_;
vector<Tuplet_description> stopped_tuplets_;
vector<Spanner*> last_tuplets_;
+
DECLARE_ACKNOWLEDGER (note_column);
DECLARE_TRANSLATOR_LISTENER (tuplet_span);
virtual void finalize ();
{
Tuplet_description d;
d.event_ = ev;
- tuplets_.push_back (d);
+ new_tuplets_.push_back (d);
}
else if (dir == STOP && tuplets_.size ())
{
}
stopped_tuplets_.clear ();
+ concat (tuplets_, new_tuplets_);
+ new_tuplets_.clear ();
for (vsize j = tuplets_.size (); j > 0; j--)
{
/* i goes from size-1 downto 0, inclusively */