lilypond-user
[Top][All Lists]
Advanced

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

Scheme function and top-level markup


From: Simon Albrecht
Subject: Scheme function and top-level markup
Date: Fri, 27 May 2022 12:21:19 +0200

Hello everyone,

I’m a bit surprised that the following doesn’t work and don’t know where to look for a solution.

%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.23.9" pieceTitle = #(define-scheme-function (str) (markup?)    #{      \markup \huge $str      \noPageBreak    #}) \pieceTitle "I. Kyrie" { c'1 } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Here are the error messages:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Parsing... /tmp/frescobaldi-0fy0zxi0/tmpkd3e8qov/document.ly:7:6: error: markup outside of text script or \lyricmode \markup \huge $str /tmp/frescobaldi-0fy0zxi0/tmpkd3e8qov/document.ly:11:1: error: error in #{ ... #} \pieceTitle "I. Kyrie" /tmp/frescobaldi-0fy0zxi0/tmpkd3e8qov/document.ly:11:1: error: bad expression type \pieceTitle "I. Kyrie" %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

What can I do?

Best, Simon




reply via email to

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