Hi Paolo, On Tue, Apr 30, 2024 at 4:09 PM Paolo Prete <paolopr...@gmail.com> wrote:
> Ta > > On Tue, Apr 30, 2024 at 8:04 PM K. Blum <benbigno...@gmx.de> wrote: > >> Hi Paolo, hi everyone, >> >> > Yeah, it works if I just replace add-grob-definition with: >> > >> > #(define (add-grob-definition grob-name grob-entry) >> > (set! all-grob-descriptions >> > (cons ((@@ (lily) completize-grob-entry) >> > (cons grob-name grob-entry)) >> > all-grob-descriptions))) >> > >> > That said, the snippet is _very_ useful, and certainly much easier to >> > use than the lsr snippet. I strongly encourage the community to add it >> > to the repository, because the trial and error method is inaccurate >> > and time consuming. >> > That said, is there an easy way to adapt it so that it draws a colored >> > box (with transparency) instead of a rectangle with segments? >> >> if you read the further replies to the thread >> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html >> you will find that there was an attempt to combine David Nalesnik's >> engraver with the colored boxes from snippet 1000: >> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00416.html >> >> I've applied your version of add-grob-definition from above to the >> latest working state of our attempts and came up with boxer3b.ly, see >> attached. >> > > This is really great, thanks, I'm going to use it intensively! > fortunately you read and responded to my message, otherwise this feature > would have been swallowed up and obscured in the confusion of the mailing > list archive (and I would have wasted days reinventing the wheel). > After I've done more testing I'll post a new message proposing to remove > the current snippet from the LSR and replace it with yours and David's > implementation. > What LilyPond version is the LSR currently running? (I'm wondering if you are able to use the revised add-grob-definition there.) -David