-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 18. September 2009 15:07:22 schrieb Kieren MacMillan:
> Hello all,
>
> If I have an \include file which contains a
>
> \context { \RemoveEmptyStaffContext }
>
> and I want to use the \include file [for the rest of its contents]
> but *not* have the \RESC, how can I "cancel" it in the file where
> I've got the \include?
I haven't tried this out, but it might work to revert the changes that RESC
does to the Staff context:
\context {
\Staff
\consists "Axis_group_engraver"
\remove "Hara_kiri_engraver"
\revert Beam #'auto-knee-gap
\revert VerticalAxisGroup #'remove-empty
}
After all, \RESC is just a shortcut for certain changes to the \Staff context::
RemoveEmptyStaffContext = \context {
\Staff
\remove "Axis_group_engraver"
\consists "Hara_kiri_engraver"
\override Beam #'auto-knee-gap = #'()
\override VerticalAxisGroup #'remove-empty = ##t
}
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKs5m4TqjEwhXvPN0RAo1SAJoCoxtTS9xGswmCh3nkLlHDMM/b6wCgpjil
8iJWDq1V2+jQLcA6BCOZ82g=
=I9WC
-----END PGP SIGNATURE-----
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user