Hej,
by using the following in your Staff, you can define which interfaces
decide whether a line is active or not. If you add the rest-interface
to the list, it should keep the lines alive.
\set Staff.keepAliveInterfaces = #'(
rhythmic-grob-interface
lyric-interface
stanza-number-interface
percent-repeat-interface)
If you want to change all back again, you should be able to use
\revert Staff.keepAliveInterfaces
Regards,
Jonas
Am 22.11.2010 um 13:37 schrieb TaoCG:
Thanks Neil, that did the trick.
Now I got another problem however.
I am using this snippet to create rhythmic slashes:
http://lsr.dsi.unimi.it/LSR/Item?id=332
And since the slashes are Rests they get removed as well.
Is there a simple trick to keep specific measures with rests alive?
Currently as a workaround I reduced the duration of the slash by half,
followed by a hidden note.
But I'd prefer something more elegant.
Regards,
Tao
--
View this message in context:
http://old.nabble.com/Remove-empty-staves-from-PianoStaff-tp30267705p30278109.html
Sent from the Gnu - Lilypond - User mailing list archive at
Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user