Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Postponed OpSys-All

New issue 1254 by tdanielsmusic: Pre-defined commands cannot be used in \context blocks
http://code.google.com/p/lilypond/issues/detail?id=1254

IWBN if predefined commands could be placed in \context blocks so their scope could be modified, but this code gives a syntax error, "unexpected MUSIC_IDENTIFIER":

\score {
  \relative c'' { a1 \f }
  \layout {
    \context {
      \Score
      \dynamicUp
    }
  }
}

Whereas substituting the exact expansion works fine:

\score {
  \relative c'' { a1 \f }
  \layout {
    \context {
      \Score
      \override DynamicText #'direction = #UP
      \override DynamicLineSpanner #'direction = #UP
    }
  }
}




_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to