[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 1760 in lilypond: \RemoveEmptyStaves only works inside a \layout b
From: |
lilypond |
Subject: |
Issue 1760 in lilypond: \RemoveEmptyStaves only works inside a \layout block |
Date: |
Tue, 12 Jul 2011 22:26:57 +0000 |
Status: Accepted
Owner: address@hidden
Labels: Type-Defect Priority-High Patch-review
New issue 1760 by address@hidden: \RemoveEmptyStaves only works inside
a \layout block
http://code.google.com/p/lilypond/issues/detail?id=1760
http://lists.gnu.org/archive/html/lilypond-devel/2010-07/msg00359.html
\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
}
%{
error: unknown escaped string: `\RemoveEmptyStaves'
\new Staff
\RemoveEmptyStaves {
error: syntax error, unexpected STRING
\new Staff
\RemoveEmptyStaves {
%}
Patch: http://codereview.appspot.com/4664076/
- Issue 1760 in lilypond: \RemoveEmptyStaves only works inside a \layout block,
lilypond <=