On Sat, Dec 14, 2013 at 06:01:39PM -0500, Alex Loomis wrote:
> Could you include a minimal example?

Sure:

\version "2.17.97"

showMultiRests = { 
  \set Staff.keepAliveInterfaces = 
  #'( rhythmic-grob-interface 
  multi-measure-rest-interface 
  lyric-interface 
  stanza-number-interface 
  percent-repeat-interface) 
}

hideMultiRests = \unset Staff.keepAliveInterfaces
partOne = \relative{
  a'1 b a b 
  \break 
  R R a b 
  \showMultiRests 
  \break
  R1*4 
  \break 
  c1 R1*3
}

partTwo = \relative{
  R1*4 
  a''1 g f e 
  R1*4 
  b1 R1*3 
}

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

\score{
  \new StaffGroup <<
    \compressFullBarRests 
    \new Staff \partOne 
    \new Staff \partTwo 
  >>
}

> 
> 
> On Sat, Dec 14, 2013 at 4:58 PM, Paul Scott <waterho...@ultrasw.com> wrote:
> 
> > On Sat, Dec 14, 2013 at 04:00:13PM -0500, Kieren MacMillan wrote:
> > > Hi Paul,
> > >
> > > > If the following is the solution where can I put showMultiRests so that
> > > > it doesn't override RemoveEmptyStaves and show staves whether they are
> > > > both empty or not?
> > > > http://lsr.dsi.unimi.it/LSR/Item?id=312
> > >
> > > That’s the hack I use…
> > > You just put \showMultiRests in the part/music at the moment where you
> > > want to “temporarily disable \RemoveEmptyStaves”.
> > >
> > > If you’re having difficulty, repost with a minimal example, so we can
> > > show you what you’re doing wrong.
> >
> > Oops!  I was fooled because it is overriding
> >   \override VerticalAxisGroup #'remove-first = ##t
> >
> > So it's partly working in that it is displaying the multi-rests where it
> > wasn't before but it's showing both staves for the first system which I
> > don't want.
> >
> > Any ideas on that?
> >
> > Thank you,
> >
> > Paul
> >
> >
> > >
> > > Hope this helps!
> > > Kieren.
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to