Robert Kubosz <kubosz.rob...@gmail.com> writes:

>> On Dec 12, 2017 09:35, "David Kastrup" <d...@gnu.org> wrote:
>>
>>> Robert Kubosz <kubosz.rob...@gmail.com> 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

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

Reply via email to