Hi Marcos,

How about using tags ?

%%
\version "2.18.2"

music = {
  a1 | b4 a8 g b2 |
  R1 | % no Remove
  a1 | b4 a8 g b2 |
  \tag #'yes R1*2 | % yes Remove
  a1 | b4 a8 g b2 |
  R1 | % no Remove
  f1 |
}

\new Staff \music
\new Staff \removeWithTag #'yes \music

%%

2018-07-17 7:06 GMT+02:00 Helge Kruse <helge.kr...@gmx.net>:

> Marcos Press <tdy.p...@gmail.com> schrieb am Di., 17. Juli 2018, 02:58:
>
>> Is there any way to set RemoveEmptyStaves just for SKIP's or when the
>> rest/skip is larger than 1 (one) bar?
>>
>> {
>> a1 | b4 a8 g b2 |
>> R1 | % no Remove
>> a1 | b4 a8 g b2 |
>> R1*2 | % yes Remove
>> a1 | b4 a8 g b2 |
>> R1 | % no Remove
>> f1 |
>> }
>>
>
> RemoveEmptyStaves is used to remove entire staff lines in a multi staff
> context. Your example looks as you want to remove individual measures. Why
> should Lilypond do this?
>
> Regards, Helge
>
>
> _______________________________________________
> 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