lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme function returning \book


From: Aaron Hill
Subject: Re: Scheme function returning \book
Date: Tue, 15 Jan 2019 16:43:28 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-01-15 4:40 pm, Aaron Hill wrote:
Here's an oddity:

%%%%
\version "2.19.82"
test = #(define-scheme-function (suffix) (string?) #{
  \book { \bookOutputSuffix $suffix \score { b'4 } } #} )
foo = \test "foo"
bar = \test "bar"
\foo \bar
%%%%

Oops. Probably shouldn't go around redefining \bar which is an actual thing. Pretend I said "baz" instead. ;-)

-- Aaron Hill



reply via email to

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