Hi Kieren, 2015-12-01 16:13 GMT+01:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>:
>> The problem is how to test equality? >> For strings it's trivial > > Is that already implemented? No >> but LyricText also allows for markup. > > Is there a markup->string function? Yep, though look at the output of: #(write-me "markup->string " (markup->string #{ \markup \with-dimensions #'(-1 . 1) #'(-1 . 1) \with-color #blue "xy" #})) It returns an empty string. with-color-markup is not considered by markup->string, worth a bug-report, I'd say, and quite easily to fix Though, for with-dimensions-markup some more work would be needed. Markup-commands with more than two arguments are not considered at all. At any rate markup->string feels more than a workaround, which may give results in a large amount of cases, but not for all. Continuing coding/thinking, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user