|
From: | Knut Petersen |
Subject: | Re: exchange LyricHyphen with a "proper" hyphen |
Date: | Sun, 11 Dec 2016 17:14:20 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Hi Alexander!
Here's a first shot. Please test thoroughly... #(define (has-hyphen? event) (let* ((art (ly:music-property event 'articulations)) (is-hyphen? (lambda (ev) (eq? (ly:music-property ev 'name) 'HyphenEvent)))) (find is-hyphen? art))) [....]
Thanks a lot for that code. Works fine together with my 0001-Better-lyric-extender-handling.patch. cu, Knut
[Prev in Thread] | Current Thread | [Next in Thread] |