Re: Markup command \text generates fatal error

Sven Axelsson <[email protected]> Thu, 23 Apr 2026 14:43:21 +0200
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <CAP1yDHaERn00vFj22YHAiaQFAJFRH5kaAfodBGOCi1Nqof-v5w@mail.gmail.com>
Oops, I just realised that my previous version was 2.24.4 so the command
was still present.

On Thu, 23 Apr 2026 at 14:29, Sven Axelsson <[email protected]> wrote:

> 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*
> ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
> >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
> +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
>