I like!
How to transform into function?
For example:
SpaceMarkup = \markup \override #'(word-space . 0.4)
\line { #(string-fold-right
(lambda (new old)
(cond ((char<? new #\200) (cons (string new) old))
((char<? new #\300) (cons new old))
(else (call-with-values
(lambda () (span! char? old))
(lambda (c r) (cons (apply string (cons new c)) r))))))
'() "")
}
\SpaceMarkup "foobar"
Thank you
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user