bug-lilypond
[Top][All Lists]
Advanced

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

RemoveEmptyStaffContext erases previous setting


From: Reinhold Kainhofer
Subject: RemoveEmptyStaffContext erases previous setting
Date: Fri, 5 Feb 2010 16:14:44 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-18-generic; KDE/4.3.5; i686; ; )

I found out the hard way that apparently adding \RemoveEmptyStaffContext 
globally to a score will erase some previous settings. In particular, if you 
have:

\layout {
  \context { \Staff
    ignoreFiguredBassRest = ##f
  }
}

\layout {
  \context { \RemoveEmptyStaffContext }
}

then the score will still use ignoreFiguredBassRest=##t (which is the 
default). If you don't add the RemoveEmptyStaffContext, then ##f is used.

Attached is an example file displaying this behavior.

Is this a bug? In my eyes, it is quite severe, because it means you can't 
trust  lilypond any more. If you check e.g. the individual parts (which do not 
add the RemoveEmptyStaffContext) for errors, you cannot be sure any more that 
the full score or e.g. the  choral score are correct, too!

Cheers,
Reinhold

PS: What is the reason anyway to have 
  ignoreFiguredBassRest = ##t
for the Staff context? Bass figures on rests ARE used and have a well-defined 
meaning (namely that they take the next bass note as reference, but play the 
harmony on the rest already). It seems that Han-Wen added this feature a while 
ago and set the default to ##t, but didn't really give any good reason to 
silently discart bass figures on rests... 
So, are there any reasons against making ##f the default (i.e. NOT silently 
discarding vital bass figures)???

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * Edition Kainhofer Music Publishing, http://www.edition-kainhofer.com/
 * LilyPond music typesetting software, http://www.lilypond.org/

Attachment: RemoveEmptyStaff_EraseSettings.ly
Description: Text Data

Attachment: RemoveEmptyStaff_EraseSettings.pdf
Description: Adobe PDF document


reply via email to

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