bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1254 in lilypond: Pre-defined commands cannot be used in \context


From: lilypond
Subject: Issue 1254 in lilypond: Pre-defined commands cannot be used in \context blocks
Date: Thu, 09 Sep 2010 06:01:25 +0000

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
    }
  }
}






reply via email to

[Prev in Thread] Current Thread [Next in Thread]