lilypond-user
[Top][All Lists]
Advanced

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

Re: Scheme function returning \book


From: Lukas-Fabian Moser
Subject: Re: Scheme function returning \book
Date: Wed, 16 Jan 2019 00:00:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Hi David,
\test apparently expects a string argument.

Aaargh, sorry, stupid me, and stupid copy'n'paste error. So, another try:

\version "2.19.82"

test = #(define-scheme-function (suffix) (string?)  #{
  \book {
    \bookOutputSuffix #suffix
    \score {
      d4
    }
  }
#} )

\test "surname"

(still) causes a "Bad expression type" error.




reply via email to

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