Hi Damian, > how would I reduce e.g. > > \once \omit TupletBracket > \once \omit TupletNumber > \once \omit Stem > > to a structure conceptually like: > > \once \omit (TupletBracket, TupletNumber, Stem) > > i.e. put the grobs in a list
Maybe something like this (but something that actually works LOL): %%% SNIPPET BEGINS \version "2.25.11" omitt = #(define-scheme-function (groblist) (grob-list?) (for-each (lambda (gr) #{ \omit gr #}) groblist)) \omitt #'(TimeSignature NoteHead) %%% SNIPPET ENDS This snippet “works”, in that it iterates through the list and correctly outputs the grob name: %%% SNIPPET BEGINS omitt = #(define-scheme-function (groblist) (list?) (for-each (lambda (gr) (ly:message (format #f "~y" gr))) groblist)) \omitt #'(TimeSignature NoteHead) %%% SNIPPET ENDS I’m just not sure the precise incantation to make the first snippet Do The Right Thing™. Hope this helps! Kieren. ______________________________________________ My work day may look different than your work day. Please do not feel obligated to read or respond to this email outside of your normal working hours.