On Friday 05 February 2010 18:20:23 you wrote: > The simple solution is to change the order, so that you do \layout { > \context { \RemoveEmptyStaffContext } > } > > before any other > > \layout { > \context { \Staff > ... > } > } >
That's not easily possible if you want to have global settings for multiple projects (i.e. a packages), some project-related settings (possibly overriding the global defaults) and some score-related settings (overriding the project- wide settings). The RESC will typically be used in score-related settings files. Now, to override the project-wide settings, the score-specific settings file needs to be included after the project-wide settings. On the other hand, for RESC to work correctly, it needs to be included BEFORE the project-wide and before the global settings!!! THe only way is to split the settings files yet up another time and diligently check that you got the order correct! Anyway, I'll see if I can find a way to recode RESC to not store the whole Staff context at definition time, but only apply the desired settings whencalled. I suspect that some Scheme magic might be able to do the trick. Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: reinh...@kainhofer.com, 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/ _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user