bug-lilypond
[Top][All Lists]
Advanced

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

Re: Snippet 960 fails with Ly 2.25


From: K. Blum
Subject: Re: Snippet 960 fails with Ly 2.25
Date: Wed, 3 Apr 2024 02:04:48 +0200
User-agent: Mozilla Thunderbird

Hi Harm, hi Aaron,

thanks a million for your immediate help. Good to know that this will
continue working in 2.25.

Aaron, I don't entirely agree that this is obsolete... it shows a
mechanism that can be further expanded. It is also the base for
https://lsr.di.unimi.it/LSR/Item?id=1000
and (even further developped)
https://github.com/openlilylib/analysis/wiki/Frames

I'll see what I can do to update those in a similar manner.

Cheers,
Klaus


Am 02.04.2024 um 01:11 schrieb Aaron Hill:
On 2024-04-01 3:20 pm, K. Blum via bug-lilypond wrote:
Hello,

LSR snippet 960 works alright with LilyPond 2.24.3 and earlier.
Ly 2.25.1 (and later) aborts with an error message, see below.
In the docs I haven't found any changes to the functions in use.
Also tried convert-ly, but it did not change anything from the code.
Am I missing something or is this a bug?

Snippet 960: https://lsr.di.unimi.it/LSR/Item?id=960


It's an obsolete snippet that will likely need to be removed when LSR
moves to 2.26 as the stable version.  This type of functionality is
directly supported in LilyPond via staff highlights [1].

[1]:
https://lilypond.org/doc/v2.25/Documentation/notation/staff-highlights

The source of the error is how colors need to be handled.  Add an
explicit call to normalize-color:

;;;;
    (ly:make-stencil (list 'color (normalize-color color)
;;;;


-- Aaron Hill




reply via email to

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