Comment #11 on issue 2336 by d...@gnu.org: Patch: Add layout changing command \layout-from for getting context defs from music
http://code.google.com/p/lilypond/issues/detail?id=2336

I don't think that
\midi { \layout-properties-from { \tempo 4 = 80 } }
is clearer.

First, \midi is not \layout. Second, there is no such thing as either layout or output properties. What is changed are context definitions, with _either_ command. The difference is that the preexisting command produces context modifications for a single context definition, while the new command modifies several context definitions within an output definition.

Of course, I bungled the syntax in the example: it is not really that symmetrical. You have to write
\midi {
  \Score { \with \context-like { \tempo 4 = 80 } }
}
in order to use the context mod produced by the previous \settingsFrom.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to