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.


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

Reply via email to