Paolo Prete wrote:
Note that there's also this (no trial-and-error):
https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00142.html
But it doesn't compile with 2.24...
That's due to merge request !818 [1], applied between 2.23.3 and 2.23.4.
Simon Albrecht ran into the same problem in another case, and Jean
helped him out [2] by adapting just the add-grob-definition part.
Doing the same to David N's add-grob-definition gets his code running
again. Maybe that's all you need to do.
[1] https://gitlab.com/lilypond/lilypond/-/merge_requests/818
[2] https://lists.gnu.org/archive/html/lilypond-user/2021-12/msg00045.html
Cheers,
Robin