Hi Pierre, 2014-11-18 11:14 GMT+01:00 Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com>: > Hi All, > > I'm trying to convert this v2.16 file : > http://lilypond-french-users.1298960.n2.nabble.com/attachment/7581913/0/arnaud.ly > > but this gives me > "error: unexpected post-event". > > So I've come up with this function : > > ti = > #(define-music-function (parser location button) (string?)
define-scheme-function > (if cadb > #{ > \markup > \override #'(direction . 0) > \fontsize #-1.5 #button > #} > #{ > \markup > \override #'(direction . (rang button)) \override #`(direction . ,(rang button)) % note the semiquote and unquote % not tested, though > \underline \fontsize #-1.5 #(touchnum button) > #})) > > but I'm still stuck with another error : > > error: music function cannot return \markup \override #'(direction rang > button) \underline \fontsize #-1.5 "3" > > > Herewith is a tiny example that shows the problem. > > TIA, cheers, > Pierre HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user