|
From: | lilypond |
Subject: | Re: Issue 2336 in lilypond: Patch: Add layout changing command \layout-from for getting context defs from music |
Date: | Fri, 24 Feb 2012 16:47:58 +0000 |
Comment #8 on issue 2336 by address@hidden: Patch: Add layout changing command \layout-from for getting context defs from music
http://code.google.com/p/lilypond/issues/detail?id=2336 Ok, I am not altogether happy. The regexp example with its \midi { \layout-from { \tempo 4 = 80 } }makes quite obvious that this is rather \context-defs-from or \output-from even though it will most often be used as \layout { \layout-from ...
Its purpose is to adjust context-defs while in an output-def. Does anybody have a better suggestion for its name? It's pushed to staging already, but it would still be pretty painless to change its name. The name should contain a hyphen (to prevent accidental use inside of music). It serves a somewhat similar purpose as \settingsFrom (which is used inside of a single context-def and actually could also make use of a hyphen: it is less "dangerous" since it does not actively change variables in the current module but just returns a context-def).
[Prev in Thread] | Current Thread | [Next in Thread] |