2013/11/13 David Kastrup <d...@gnu.org>:
> Stjepan Horvat <zvanste...@gmail.com> writes:
>
>> So..any idea how i could achive it..?! I wanted to use my little knowlidge
>> to write a simple scheme function that could achive it..with no succsess..
>
> You could start by explaining what is wrong with the solution at the
> bottom of
> <URL:http://lists.gnu.org/archive/html/lilypond-user/2013-11/msg00456.html>.

I think i understand what this is about.

Stjepan would like to have the tempo value used both in header as well
as in actual tempo definition.  It is possible to define a variable
and use it in the header:

trololo = 123

\header {
  title = #(string-append
            "bang! "
            (number->string trololo)
            " foobars in a bottle")
}

The problem is, as David already noticed, that a variable cannot be
used in \tempo command:

{
  % this crashes:
  \tempo 4 = \trololo
  c'
}

Stjepan, is this what you mean?

Janek

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

Reply via email to