DescriptionAdd Scheme context-mods, reimplement \grobdescriptions, add \settingsFrom
\settingsFrom translates music with layout instructions (\set, \unset,
\override, \revert) into a context modification. That way, you can use most
of the definitions from ly/property-init.ly as context modifications.
The original task of Issue 1838 can now be solved by writing
\layout {
\context {
\Staff
\settingsFrom #(set-accidental-style 'dodecaphonic)
}
}
{ fis fis fis fis }
This particular patch uses #{ \with { } #} at some places which, while
nice to have as a last resort, is actually quite awkward. Neil, could
you turn your original definition of ly:make-context-mod into a
separate commit? Personally, I'd say that this part of your work has
been up for discussion long enough not to warrant opening another
issue and countdown before pushing to staging.
Patch Set 1 #Patch Set 2 : Adopted the code for ly:make-context-mod #
MessagesTotal messages: 2
|