Re: turning a markuplist into a chain of [individual] markups or strings

2020-01-22 Thread Kieren MacMillan
Hi David, > One element per note is tricky. How about making this a music > function instead that outputs lyrics? > > diffints = > #(define-music-function (mus) (ly:music?) > #{ \lyricmode { $@(map ...) } #}) For my current purposes, that’s perfect — thanks. My need (as originally stated)

Re: turning a markuplist into a chain of [individual] markups or strings

2020-01-22 Thread David Kastrup
David Kastrup writes: > Kieren MacMillan writes: > >> Hi David, >> >>> Uh, a markuplist typically _is_ a list of markups. Except when it isn't >>> (like when it is the result of calling a markup list command). But when >>> it isn't, you can only turn it into a list of stencils. >> >> Hmmm… So

Re: turning a markuplist into a chain of [individual] markups or strings

2020-01-22 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> Uh, a markuplist typically _is_ a list of markups. Except when it isn't >> (like when it is the result of calling a markup list command). But when >> it isn't, you can only turn it into a list of stencils. > > Hmmm… So in my function > >

Re: turning a markuplist into a chain of [individual] markups or strings

2020-01-22 Thread Kieren MacMillan
Hi David, > Uh, a markuplist typically _is_ a list of markups. Except when it isn't > (like when it is the result of calling a markup list command). But when > it isn't, you can only turn it into a list of stencils. Hmmm… So in my function #(define-markup-list-command (diffints layout props

Re: turning a markuplist into a chain of [individual] markups or strings

2020-01-22 Thread David Kastrup
Kieren MacMillan writes: > Hi all, > > Is there a way to turn a markuplist into individual markups or strings? > > I have a markuplist of lyrics > > (a b c) > > and I’d like to turn that into a chain of markups > >\lyricmode { \markup a \markup b \markup c } > > or strings > >

turning a markuplist into a chain of [individual] markups or strings

2020-01-21 Thread Kieren MacMillan
Hi all, Is there a way to turn a markuplist into individual markups or strings? I have a markuplist of lyrics (a b c) and I’d like to turn that into a chain of markups \lyricmode { \markup a \markup b \markup c } or strings \lyricmode { "a" "b" "c" } What function do I use?