lilypond-user
[Top][All Lists]
Advanced

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

No \markup in the \layout block?


From: Trevor Bača
Subject: No \markup in the \layout block?
Date: Tue, 24 Jul 2007 22:19:55 -0500

Hi,

This works fine:

%%% EX 1 %%%

\version "2.11.26"

\new Staff {
  \override TextSpanner #'bound-details #'right #'text = \markup { "end" }
  c'4
}

%%% EX 1 %%%


But this causes explosions:

%%% EX 2 %%%

\version "2.11.26"

\new Staff {
  c'4
}

\layout {
  \context {
     \Staff
     \override TextSpanner #'bound-details #'right #'text = \markup { "end" }
  }
}

%%% EX 2 %%%


GNU LilyPond 2.11.26
Processing `0150.ly'
Parsing...
0150.ly:11:61: error: syntax error, unexpected \markup, expecting
SCM_IDENTIFIER or SCM_TOKEN
     \override TextSpanner #'bound-details #'right #'text =
                                                            \markup { "end" }



Why?


--
Trevor Bača
address@hidden

reply via email to

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