lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Strings as markup arguments in music functions


From: Nicolas Sceaux
Subject: Re: [PATCH] Strings as markup arguments in music functions
Date: Fri, 13 Nov 2009 18:46:18 +0100

Le 12 nov. 2009 à 23:02, Neil Puttock a écrit :

Hi all,

Though strings are valid markup objects according to the type
predicate `markup?', the parser only recognizes full_markup objects as
valid for music functions, which means it's currently impossible to
pass both strings and markups unless using Scheme.

I've posted a modest patch here,

http://codereview.appspot.com/152104/show

which allows strings to be recognized as markup, thus increasing the
flexibility of music functions which generally use strings, but might
occasionally required extra formatting provided by markup commands.

Nice! thank you, very useful.

Nicolas





reply via email to

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