> I'm not top posting.

%% Docs: A staff is considered empty when it contains only multi-measure
%% rests, skips, spacer rests, or a combination of these elements."
%%
%% But because a \partial rest is not one of these elements it prevents
%% \override VerticalAxisGroup #'remove-first = ##t to work if the first
%% empty staff begin, for example, with \partial 16 r16
%% Is it possible to take care of partials when determining empty lines?


\version "2.13.4"
\paper{ ragged-right=##t }

\score {
  <<
    \new Staff {
      \partial 16 r16 |  % doesn't work
                         % works if we use \partial 16 s16
      R1*4 | \break
      R1*4 | \break
      c''1
      \bar "|."
    }
    \new Staff {
      \partial 16 c'16 |
      \repeat unfold 4 { c'1 } | \break
      \repeat unfold 4 { c'1 } | \break
      c'1
      \bar "|."
    }
  >>

  \layout {
    \context {
      \RemoveEmptyStaffContext
      \override VerticalAxisGroup #'remove-first = ##t
    }
  }

}


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

Reply via email to