lilypond-user
[Top][All Lists]
Advanced

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

Re: Apply markup-command to every element of markuplist


From: David Kastrup
Subject: Re: Apply markup-command to every element of markuplist
Date: Tue, 12 Dec 2017 11:02:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Robert Kubosz <address@hidden> writes:

>> On Dec 12, 2017 09:35, "David Kastrup" <address@hidden> wrote:
>>
>>> Robert Kubosz <address@hidden> writes:
>>>
>>> > Hello everyone!
>>> >
>>> > I want to apply markup-command to every element of markup list, for
>>> > example to make every element bold in \markuplist {foo bar}.
>>> >
>>> > I've followed the documentation, found the \map-markup-commands and I
>>> > don't really understand how it works. I've tried
>>> >
>>> > \map-markup-commands \bold \markuplist{ foo bar }
>>> >
>>> > but it doesn't work (error: syntax error, unexpected MARKUP_FUNCTION).
>>> > I've inserted other markup functions in place of \bold and result is the
>>> > same.
>>> >
>>> >
>>> > I didn't find any solved examples of this problem in docs, snippet repo
>>> > and here in mailing list. Could you guys help me with it?
>>>
>>> \markuplist \bold {foo bar}
>>>
>>> works fine.
>>>
>>> How about an actual minimal example?
>
> It works perfectly. It's a shame that I did not try that.
> Thanks David a lot!

\map-markup-commands exposes the internal mechanism that is used for
things like \markuplist \bold {foo bar} but it is rarely needed in
explicit form.

-- 
David Kastrup



reply via email to

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