[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: markup function
From: |
David Kastrup |
Subject: |
Re: markup function |
Date: |
Sat, 05 Jan 2013 16:33:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Noeck <address@hidden> writes:
> Hi,
>
> how can I write a function that returns a markup?
>
> In Python (using LilyPond syntax) I would write something like:
>
> def function(text):
> url = "http://www.something" + text.lower()
> return \markup { \with-color #red \with-url #url text }
Have you tried looking into the "Extending LilyPond" manual?
<URL:http://lilypond.org/doc/v2.16/Documentation/extending/markup-functions>
--
David Kastrup
- markup function, Noeck, 2013/01/05
- Re: markup function,
David Kastrup <=
- Re: markup function, Noeck, 2013/01/05
- Re: markup function, Noeck, 2013/01/05
- Re: markup function, David Kastrup, 2013/01/05
- Re: markup function, Noeck, 2013/01/05
- Re: markup function, David Kastrup, 2013/01/05
- Re: markup function, Noeck, 2013/01/05
- Re: markup function, Thomas Morley, 2013/01/06