|
From: | Urs Liska |
Subject: | Re: Format LilyMusic as string |
Date: | Thu, 24 May 2018 20:14:52 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hi Jan-Peter,thanks for that. This was indeed the issue, and -- now knowing it -- I can even understand the description in the reference ;-)
Am 24.05.2018 um 17:44 schrieb Jan-Peter Voigt:
ah, and you don't need o #{#}:
... you don't even need the music-function: lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () (display-lily-music mus)) )) test = \lilystring \relative { c'4 } #(display test)
lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () (displayLilyMusic mus)) )) test = \lilystring \relative { c'4 } #(display test) Am 24.05.2018 um 17:42 schrieb Jan-Peter Voigt:lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () #{ \displayLilyMusic #mus #}) )) test = \lilystring \relative { c'4 } #(display test)_______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |