[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \score inside define-markup-command
From: |
Tao Cumplido |
Subject: |
Re: \score inside define-markup-command |
Date: |
Mon, 23 Feb 2009 08:45:21 +0100 |
LP syntax can always be expressed in Scheme.
\displayMusic { a'4 } will show you how the LP expression a'4 is written in
Scheme.
I haven't tried it but I suppose that's the way to go.
Regards,
Tao
-------- Original-Nachricht --------
> Datum: Mon, 23 Feb 2009 01:01:23 +0100
> Von: "Michael Käppler" <address@hidden>
> An: address@hidden
> Betreff: \\score inside define-markup-command
> Hi all,
> is it possible to use the \score markup function in a new defined markup
> function construct?
>
> For example,
>
> #(define-markup-command (test layout props testclef) (string?)
> (interpret-markup layout props (markup #:score ( << \clef #testclef
> a4 h c >>
> ))))
>
> This is invalid code because it mixes LilyPond and Scheme syntax. How
> can I achieve something similar to what's expressed in this dummy code
> piece?
>
> Regards,
> Michael
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger