Re: Question about Scheme's syntax

2024-09-05 Thread David Kastrup
Paolo Prete writes: > On Thu, Sep 5, 2024 at 2:07 PM David Kastrup wrote: > >> Paolo Prete writes: >> >> >> Still scheme? instead of markup? >> >> Still a scheme function instead of a markup command. >> >> > #{ >> > \markup \

Re: Question about Scheme's syntax

2024-09-05 Thread Paolo Prete
On Thu, Sep 5, 2024 at 2:07 PM David Kastrup wrote: > Paolo Prete writes: > > > Still scheme? instead of markup? > > Still a scheme function instead of a markup command. > > > #{ > > \markup \with-dimensions #'(0 . 0) > #'(0 >

Re: \omit multiple/list

2024-09-05 Thread Kieren MacMillan
Hi Damian, > use case is borderline, agreed I don’t believe that to be true! Here are two classic counterexamples: 1. When dealing with eighth notes, I regularly have to \omit Flag \omit Stem \omit Beam etc. In certain situations, other mechanisms are more appropriate (e.g., u

Re: \omit multiple/list

2024-09-05 Thread Damian leGassick
> Thanks again! > I hope Damian appreciates your response as much as I do. :) > > Certainly do, really helpful use case is borderline, agreed, but I do sometimes need 3 or 4 simultaneous \omits in this very rhythmically complex score. I was just as interested in the mechanics of a solution

Re: lilypond-user Digest, Vol 262, # 12, question 2

2024-09-05 Thread Schlipf, John (schlipf)
> > % This uses the suffix and pays attention to the internal > % \paper block > \book { > \bookOutputSuffix "Three" > \sc > \paper { annotate-spacing = ##t } > } > > \paper { annotate-spacing = ##t } ---

Re: \omit multiple/list

2024-09-05 Thread Kieren MacMillan
Hi David, Thanks for the fishing lesson! > How about > > omitt = > #(define-music-function (groblist) (symbol-list?) > #{ #@(map omit (map list groblist)) #}) > > \void \displayLilyMusic \omitt TimeSignature,NoteHead AH! symbol-list? is clearly something I needed to know [about]… > You need

Re: \omit multiple/list

2024-09-05 Thread David Kastrup
Kieren MacMillan writes: > 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 somet

Re: \omit multiple/list

2024-09-05 Thread Kieren MacMillan
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

Re: How can I reuse an outline in a score

2024-09-05 Thread David Kastrup
Sebastian Menge writes: > I used an "\outline" consisting of silence and the time signatures and > marks and put it in parallel inside the staff but then the layout gets > wrong, because the "silence" somehow influences the layout algorithm. (see > below) It doesn't. > Is there a more clever wa

Re: Question about Scheme's syntax

2024-09-05 Thread David Kastrup
Paolo Prete writes: >> On Wed, Sep 4, 2024 at 9:56 PM David Kastrup wrote: >> >>> Paolo Prete writes: >>> >>> > Hello, >>> > >>> > Given: >>> > >>> > floating-markup = #(define-scheme-function (parser location x y obj) >>> > (number? number? scheme?) >>> > #{ >

How can I reuse an outline in a score

2024-09-05 Thread Sebastian Menge
Hi I am writing arrangements for accordion and create the score and the individual voices using \book. To save effort and give some structure / consistency I want to reuse certain things like - time signatures - \marks I used an "\outline" consisting of silence and the time signatures and marks

Re: Question about Scheme's syntax

2024-09-05 Thread Paolo Prete
I see but the problem remains. I would like to found a way to pass a more structured object to that function, not only a string: %% \version "2.24.1" floating-markup = #(define-scheme-function (parser location x y obj) (number? number? scheme?) #{

\omit multiple/list

2024-09-05 Thread damianlegassick
Hi all 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 thanks Damian