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" <xmichae...@web.de>
> An: lilypond-user@gnu.org
> 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
> lilypond-user@gnu.org
> 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


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

Reply via email to