bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1760 in lilypond: \RemoveEmptyStaves only works inside a \layo


From: David Kastrup
Subject: Re: Issue 1760 in lilypond: \RemoveEmptyStaves only works inside a \layout block
Date: Wed, 13 Jul 2011 10:56:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

address@hidden 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 } { ...
?

Not that it works in this way, but the above syntax seems strange to me.

-- 
David Kastrup




reply via email to

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