bug-lilypond
[Top][All Lists]
Advanced

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

Re: How to Hide stave with \partial 4 r4


From: Erik Sandberg
Subject: Re: How to Hide stave with \partial 4 r4
Date: Sun, 17 Apr 2005 09:51:27 +0200

Thanks, I added this as partial-r-remove-empty-staff.

I think the nicest way to fix it, would be to make
RemoveEmptyStaffContext to ignore both R and r rests. Can anyone find an
example where that behaviour wouldn't be adequate?

%feature-request?
%Karl Hammar <address@hidden>

\header {
 reportedin = "2.4.5"
 texidoc = "There should be a way to make RemoveEmptyStaffContext remove
staffs that contain @code{r} rests."
}

\version "2.4.5"
\layout { \context { \RemoveEmptyStaffContext } }
{ \relative c' <<
\new Staff { \partial 4 r4 R1 R1 }
\new Staff { \partial 4 a4 c4 d e f c1 }
 >>}


On Sat, 2005-04-16 at 22:29 +0200, Karl Hammar wrote:
> > 
> > On 1-Apr-05, at 12:38 PM, Karl Hammar wrote:
> > 
> > > If I use \partial 4 R1*1/4, it will work in the full score,
> > > but it gives me a lot of:
> > 
> > >   Music.23.ly:10:18: warning: barcheck failed at: -1/4:
> > >   \partial 4 R1*1/4
> > >               |
> > 
> > True; cc'd to bugs.  BTW, you can use R4 instead of R1*1/4.
> 
> Yes, I found out later, thanks.
> 
> > 
> > Bugs:
> > 
> > % produces false barcheck warning, but output is correct
> > \version "2.4.5"
> > \layout { \context { \RemoveEmptyStaffContext } }
> > { \relative c' <<
> > \new Staff { \partial 4 R4 R1 R1 }
> > \new Staff { \partial 4 a4 c4 d e f c1 }
> >  >>}
> > 
> 
> Is there some way the R4 could be shown like a r4, when the staff
> is not removed, like in a single voice score?






reply via email to

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