Markup command \text generates fatal error

Sven Axelsson <[email protected]> Thu, 23 Apr 2026 14:29:25 +0200
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <CAP1yDHYkCLcnutdcNZK2YSK1ehnVRRsKNJ3oac_kL0AiiKvTRA@mail.gmail.com>
I used to have the following in a file included everywhere in one of my
projects:

altBracket = #(define-music-function (parser location tag) (string?) #{
  \once \override Score.VoltaBracket.shorten-pair = #'(0.3 . 0.3)
  \set Score.repeatCommands = #(list (list 'volta (markup #:number tag)))
#})
altBracketText = #(define-music-function (parser location tag) (string?) #{
  \once \override Score.VoltaBracket.shorten-pair = #'(0.3 . 0.3)
  \set Score.repeatCommands = #(list (list 'volta (markup #:text tag)))
#})

Sometime during version 2.25 the text markup property was removed but the
music did still compile. In version 2.26 however that generates a fatal
error
(fatal error: Not a markup command: text). convert-ly does nothing here, but
the solution seems to be to simply remove #:text.

Maybe this isn't really a bug but I thought I should mention it anyways.

-- 
*Sven Axelsson*
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.