"Dmytro O. Redchuk" <brownian....@gmail.com> writes:

> Hello list,
>
> let's say I have the following list:
>
> #(define verse '(
> "If you can keep your head when all about you"
> "Are losing theirs and blaming it on you,"
> "If you can trust yourself when all men doubt you,"
> "But make allowance for their doubting too"
> ; ... etc
> ))
>
> I would like to write a function to get the following markup for every
> item in the list:
>
> \line {
>   \column {
>     "If you can keep your head when all about you"
>   }
> }
> % etc...
>
> Then I would feed it to \markuplist, I guess.
>
> Please, from where would I start? --- feeling lost.

I may be missing the point, but what's wrong with

#(define verse '(
"If you can keep your head when all about you"
"Are losing theirs and blaming it on you,"
"If you can trust yourself when all men doubt you,"
"But make allowance for their doubting too"
; ... etc
))

\markuplist \column-lines #verse

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to