[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: aligning melisma and non-melisma lyrics across staves in the same sy
From: |
Thomas Morley |
Subject: |
Re: aligning melisma and non-melisma lyrics across staves in the same system |
Date: |
Tue, 1 Dec 2015 21:18:26 +0100 |
Hi Kieren,
2015-12-01 16:13 GMT+01:00 Kieren MacMillan <address@hidden>:
>> 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