Am Mittwoch, 13. Juli 2011, 10:56:23 schrieb David Kastrup:
> [email protected] writes:
> > \RemoveEmptyStaves is defined inside engraver-init.ly, which renders
> > it inaccessible as an identifier outside a \layout block.
> >
> > The following snippet causes the parser to emit two errors, and the
> > second bar isn't removed:
> >
> > \version "2.15.5"
> >
> > \new Staff \RemoveEmptyStaves {
> >
> > c'1 \break
> > r1
> >
> > }
>
> Wouldn't that need to be
> \new Staff \with { \RemoveEmptyStaves } { ...
All the following three work:
mysettings = \with {...}
\new Staff \with { \mysettings } {...}
\new Staff \with \mysettings {...}
\new Staff \mysettings {...}
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
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond