lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Markup : convert to v2.18/v2.19 generate error


From: Thomas Morley
Subject: Re: Markup : convert to v2.18/v2.19 generate error
Date: Tue, 18 Nov 2014 22:41:38 +0100

Hi Pierre,

2014-11-18 11:14 GMT+01:00 Pierre Perol-Schneider
<address@hidden>:
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]