Noeck <noeck.marb...@gmx.de> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user