bug-lilypond
[Top][All Lists]
Advanced

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

Re: Change_iterator refuses to move a NullVoice into a Staff


From: Dan Eble
Subject: Re: Change_iterator refuses to move a NullVoice into a Staff
Date: Thu, 6 Apr 2017 22:44:30 -0400

> Tracker issue:
> 5116 (https://sourceforge.net/p/testlilyissues/issues/5116/)
> Rietveld issue:
> 322820043 (https://codereview.appspot.com/322820043)

Thank you.

> Could you rework your almost minimal example into a regtest?
> Those give me much more of a headache than most code changes
> since there is no "obviously best" regtest to aim for.

Please try this.  I haven’t tested your patch.
—
Dan

%{
nullvoice-change.ly

NullVoice responds to \change Staff as a Voice would.  The first line
of the output is a single treble-clef staff.  The second line is a
single bass-clef staff.
%}

\version "2.19.58"

music = \fixed c' {
  c1
  \break
  \change Staff = "After"
  c
}

\new StaffGroup \with {
  \RemoveEmptyStaves
  \override VerticalAxisGroup.remove-first = ##t
} <<

  \new Staff = "Before" <<
    \new NullVoice { \music }
  >>

  \new Staff = "After" {
    \clef bass
    $(skip-of-length music)
  }

>>


reply via email to

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