lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scheme finction fo get markup from scheme list of strings?


From: David Kastrup
Subject: Re: Scheme finction fo get markup from scheme list of strings?
Date: Mon, 06 Mar 2017 14:16:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

"Dmytro O. Redchuk" <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]